public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-watchfiles] epel10: Port to PyO3 0.25 (fix Python 3.14 compatibility)
@ 2026-08-12 16:47 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-12 16:47 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-watchfiles
Branch : epel10
Commit : 229a3b79e5ea7ec0e99aca073104b2731263f571
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-11T08:37:25+01:00
Stats : +32/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-watchfiles/c/229a3b79e5ea7ec0e99aca073104b2731263f571?branch=epel10
Log:
Port to PyO3 0.25 (fix Python 3.14 compatibility)
---
diff --git a/0001-Update-PyO3-to-0.25.patch b/0001-Update-PyO3-to-0.25.patch
new file mode 100644
index 0000000..1c1e71f
--- /dev/null
+++ b/0001-Update-PyO3-to-0.25.patch
@@ -0,0 +1,25 @@
+From 53e33809d2bbdb5dcb55a7abd0c24102cdab6b7f Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Tue, 3 Jun 2025 21:18:08 -0400
+Subject: [PATCH] Update PyO3 to 0.25
+
+---
+ Cargo.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 8b2d8be..c86d22e 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -26,7 +26,7 @@ rust-version = "1.77"
+ [dependencies]
+ crossbeam-channel = "0.5.12"
+ notify = { version = "8.0.0" }
+-pyo3 = { version = "0.24.1", features = ["extension-module", "generate-import-lib"] }
++pyo3 = { version = "0.25.0", features = ["extension-module", "generate-import-lib"] }
+
+ [lib]
+ name = "_rust_notify"
+--
+2.49.0
+
diff --git a/python-watchfiles.spec b/python-watchfiles.spec
index 963039b..479721a 100644
--- a/python-watchfiles.spec
+++ b/python-watchfiles.spec
@@ -20,6 +20,13 @@ Patch: %{url}/pull/327/commits/3a011974826b5997eb394755259995110cd46f88
# Bump MSRV to 1.77 for notify 8.0.0
Patch: %{url}/pull/327/commits/9f7e00f866a31a35bce68d70e7bfccc7467366c5.patch
+# Update PyO3 to 0.25
+# https://github.com/samuelcolvin/watchfiles/pull/340
+#
+# We take only the commit changing Cargo.toml, not the one updating Cargo.lock.
+# (Rebased on top of notify 8.0.0 patches)
+Patch: 0001-Update-PyO3-to-0.25.patch
+
# Downstream-only: allow a slightly older pytest to support EPEL10
Patch: 0001-Downstream-only-allow-a-slightly-older-pytest-to-sup.patch
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 16:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 16:47 [rpms/python-watchfiles] epel10: Port to PyO3 0.25 (fix Python 3.14 compatibility) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox