public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pg8000] rawhide: relax scramp version to fix FTBFS
@ 2026-11-04 22:45 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-04 22:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pg8000
Branch : rawhide
Commit : bbfb8f976cfdd80794f96f4bf2afe4e4c4c76780
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-04T19:45:24-03:00
Stats : +26/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-pg8000/c/bbfb8f976cfdd80794f96f4bf2afe4e4c4c76780?branch=rawhide
Log:
relax scramp version to fix FTBFS
---
diff --git a/python-pg8000.spec b/python-pg8000.spec
index d0a4af9..e0bd06c 100644
--- a/python-pg8000.spec
+++ b/python-pg8000.spec
@@ -10,6 +10,7 @@ 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
@@ -34,7 +35,7 @@ Frontend Protocol.
%pyproject_buildrequires
%prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -n %{srcname}-%{version} -p1
%build
%pyproject_wheel
diff --git a/relax-scramp-version.patch b/relax-scramp-version.patch
new file mode 100644
index 0000000..a766af1
--- /dev/null
+++ b/relax-scramp-version.patch
@@ -0,0 +1,24 @@
+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-04 22:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 22:45 [rpms/python-pg8000] rawhide: relax scramp version to fix FTBFS Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox