public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pg8000] rawhide: use pyproject_patch_dependency to relax a dependency
@ 2026-11-29 23:04 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-29 23:04 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-pg8000
            Branch : rawhide
            Commit : 3370210cd335e697acba31e9cfa7710896ec7c79
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-11-29T20:04:29-03:00
            Stats  : +1/-25 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pg8000/c/3370210cd335e697acba31e9cfa7710896ec7c79?branch=rawhide

            Log:
            use pyproject_patch_dependency to relax a dependency

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>

---
diff --git a/python-pg8000.spec b/python-pg8000.spec
index e0bd06c..3eccc72 100644
--- a/python-pg8000.spec
+++ b/python-pg8000.spec
@@ -10,7 +10,6 @@ URL:            https://codeberg.org/tlocke/pg8000
 # Pypi source is used because with versioningit the usage of tarballs would
 # be complicated: https://codeberg.org/tlocke/pg8000/issues/152
 Source0:        %{pypi_source}
-Patch0:         relax-scramp-version.patch
 BuildArch:      noarch
 
 %description
@@ -36,6 +35,7 @@ Frontend Protocol.
 
 %prep
 %autosetup -n %{srcname}-%{version} -p1
+%pyproject_patch_dependency scramp:drop_lower
 
 %build
 %pyproject_wheel

diff --git a/relax-scramp-version.patch b/relax-scramp-version.patch
deleted file mode 100644
index a766af1..0000000
--- a/relax-scramp-version.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Subject: Relax scramp version pin to >= 1.4.6
-
-Upstream pins scramp to exactly 1.5.0, but Fedora Rawhide only ships
-python3-scramp 1.4.6. The scramp 1.4.6 API is fully compatible with
-the surface pg8000 uses (ScramClient constructor, get_client_first,
-set_server_first, get_client_final, set_server_final, mechanism_name).
-Relax the pin so the package can build against the distro version.
-
-Upstream-status: not submitted, temporary patch until scramp is updated
----
- pyproject.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/pyproject.toml b/pyproject.toml
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -28,7 +28,7 @@
-   "Topic :: Database :: Front-Ends",
-   "Topic :: Software Development :: Libraries :: Python Modules",
- ]
--dependencies = ["scramp == 1.5.0", 'python-dateutil >= 2.8.2']
-+dependencies = ["scramp >= 1.4.6", 'python-dateutil >= 2.8.2']
- dynamic = ["version"]
- 
- [project.urls]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-29 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 23:04 [rpms/python-pg8000] rawhide: use pyproject_patch_dependency to relax a dependency Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox