public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattia Verga <mattia.verga@proton.me>
To: git-commits@fedoraproject.org
Subject: [rpms/python-nh3] epel10: Relax dependencies for epel10.3
Date: Sun, 02 Aug 2026 09:28:58 GMT	[thread overview]
Message-ID: <178566293881.1.17388556437843989630.rpms-python-nh3-81f9f6bc5f87@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-nh3
Branch : epel10
Commit : 81f9f6bc5f87f83f9b7b01a9d2f0946672bf9d92
Author : Mattia Verga <mattia.verga@proton.me>
Date   : 2026-08-02T11:27:47+02:00
Stats  : +14/-11 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-nh3/c/81f9f6bc5f87f83f9b7b01a9d2f0946672bf9d92?branch=epel10

Log:
Relax dependencies for epel10.3

---
diff --git a/generate-import-lib-dep.patch b/generate-import-lib-dep.patch
deleted file mode 100644
index b50ff0b..0000000
--- a/generate-import-lib-dep.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -U 3 -dHrN a/Cargo.toml b/Cargo.toml
---- a/Cargo.toml	2006-07-24 03:21:28.000000000 +0200
-+++ b/Cargo.toml	2026-04-24 18:24:49.419908625 +0200
-@@ -15,5 +15,5 @@
- 
- [dependencies]
- ammonia = "4.1.2"
--pyo3 = { version = "0.28.2", features = ["abi3-py38", "generate-import-lib"] }
-+pyo3 = { version = "0.28.2", features = ["abi3-py38"] }
- ouroboros = "0.18"

diff --git a/python-nh3.spec b/python-nh3.spec
index d96259e..ea04857 100644
--- a/python-nh3.spec
+++ b/python-nh3.spec
@@ -8,7 +8,8 @@ Source:         %{pypi_source nh3}
 
 # Omit the generate-import-lib feature of the pyo3 dependency, since it is
 # specific to Windows, and we do not package it.
-Patch:          generate-import-lib-dep.patch
+# Also relax ammonia version requirement
+Patch:          rust_deps_relax.patch
 
 BuildRequires:  cargo-rpm-macros
 BuildRequires:  python3-devel

diff --git a/rust_deps_relax.patch b/rust_deps_relax.patch
new file mode 100644
index 0000000..26cd70c
--- /dev/null
+++ b/rust_deps_relax.patch
@@ -0,0 +1,12 @@
+diff -U 3 -dHrN a/Cargo.toml b/Cargo.toml
+--- a/Cargo.toml	2006-07-24 03:21:28.000000000 +0200
++++ b/Cargo.toml	2026-08-02 11:26:23.144838753 +0200
+@@ -14,6 +14,6 @@
+ crate-type = ["cdylib"]
+ 
+ [dependencies]
+-ammonia = "4.1.2"
+-pyo3 = { version = "0.29.0", features = ["abi3-py38", "generate-import-lib"] }
++ammonia = "4.0"
++pyo3 = { version = "0.29.0", features = ["abi3-py38"] }
+ ouroboros = "0.18"

                 reply	other threads:[~2026-08-02  9:28 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=178566293881.1.17388556437843989630.rpms-python-nh3-81f9f6bc5f87@fedoraproject.org \
    --to=mattia.verga@proton.me \
    --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