public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pg8000] rawhide: relax scramp version to fix FTBFS
Date: Wed, 04 Nov 2026 22:45:44 GMT [thread overview]
Message-ID: <179383234406.1.2468753868198745700.rpms-python-pg8000-bbfb8f976cfd@fedoraproject.org> (raw)
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]
reply other threads:[~2026-11-04 22:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179383234406.1.2468753868198745700.rpms-python-pg8000-bbfb8f976cfd@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox