public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-watchfiles] epel10: Port to PyO3 0.25 (fix Python 3.14 compatibility)
Date: Wed, 12 Aug 2026 16:47:27 GMT	[thread overview]
Message-ID: <178655324727.1.18004111527620535150.rpms-python-watchfiles-229a3b79e5ea@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-08-12 16:47 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=178655324727.1.18004111527620535150.rpms-python-watchfiles-229a3b79e5ea@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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