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: use pyproject_patch_dependency to relax a dependency
Date: Sun, 29 Nov 2026 23:04:37 GMT [thread overview]
Message-ID: <179599347724.1.1318726341045984463.rpms-python-pg8000-3370210cd335@fedoraproject.org> (raw)
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]
reply other threads:[~2026-11-29 23:04 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=179599347724.1.1318726341045984463.rpms-python-pg8000-3370210cd335@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