public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-nh3] epel10: Relax dependencies for epel10.3
@ 2026-08-02 9:28 Mattia Verga
0 siblings, 0 replies; only message in thread
From: Mattia Verga @ 2026-08-02 9:28 UTC (permalink / raw)
To: git-commits
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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-02 9:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02 9:28 [rpms/python-nh3] epel10: Relax dependencies for epel10.3 Mattia Verga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox