public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-watchfiles] epel10: Update to 1.1.0 (close RHBZ#2372924)
@ 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 : 3c5eda194ab33d6f480e2bf7935e3b1b4d70f77b
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-11T08:37:31+01:00
Stats : +8/-99 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-watchfiles/c/3c5eda194ab33d6f480e2bf7935e3b1b4d70f77b?branch=epel10
Log:
Update to 1.1.0 (close RHBZ#2372924)
---
diff --git a/0001-Update-PyO3-to-0.25.patch b/0001-Update-PyO3-to-0.25.patch
deleted file mode 100644
index 1c1e71f..0000000
--- a/0001-Update-PyO3-to-0.25.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-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/3a011974826b5997eb394755259995110cd46f88.patch b/3a011974826b5997eb394755259995110cd46f88.patch
deleted file mode 100644
index 920d18f..0000000
--- a/3a011974826b5997eb394755259995110cd46f88.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 3a011974826b5997eb394755259995110cd46f88 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Fri, 10 Jan 2025 16:16:20 -0500
-Subject: [PATCH] Update notify to version 8.0.0
-
----
- Cargo.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index 9007275..c48f2a6 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -25,7 +25,7 @@ rust-version = "1.63"
-
- [dependencies]
- crossbeam-channel = "0.5.12"
--notify = { version = "7.0.0" }
-+notify = { version = "8.0.0" }
- pyo3 = { version = "0.24.1", features = ["extension-module", "generate-import-lib"] }
-
- [lib]
diff --git a/9f7e00f866a31a35bce68d70e7bfccc7467366c5.patch b/9f7e00f866a31a35bce68d70e7bfccc7467366c5.patch
deleted file mode 100644
index 75805a2..0000000
--- a/9f7e00f866a31a35bce68d70e7bfccc7467366c5.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 9f7e00f866a31a35bce68d70e7bfccc7467366c5 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Fri, 10 Jan 2025 16:21:37 -0500
-Subject: [PATCH] Bump MSRV to 1.77 for notify 8.0.0
-
----
- Cargo.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index c48f2a6..8b2d8be 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -21,7 +21,7 @@ include = [
- "!tests/.pytest_cache",
- "!*.so",
- ]
--rust-version = "1.63"
-+rust-version = "1.77"
-
- [dependencies]
- crossbeam-channel = "0.5.12"
diff --git a/python-watchfiles.spec b/python-watchfiles.spec
index 479721a..65432e8 100644
--- a/python-watchfiles.spec
+++ b/python-watchfiles.spec
@@ -1,5 +1,5 @@
Name: python-watchfiles
-Version: 1.0.5
+Version: 1.1.0
Release: %autorelease
Summary: Simple, modern and high performance file watching and code reload in python
# The main source code is under the MIT license. See the license field of the
@@ -9,29 +9,12 @@ License: MIT
URL: https://github.com/samuelcolvin/watchfiles
Source: %{pypi_source watchfiles}
-# Update notify dependency to 8.0.0, bumping MSRV to 1.77
-# https://github.com/samuelcolvin/watchfiles/pull/327
-#
-# (We take only the commits changing Cargo.toml, not the ones updating
-# Cargo.lock and the CI configuration.)
-#
-# Update notify to version 8.0.0
-Patch: %{url}/pull/327/commits/3a011974826b5997eb394755259995110cd46f88.patch
-# 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
BuildRequires: python3-devel
BuildRequires: cargo-rpm-macros >= 24
+BuildRequires: tomcli
%global _description %{expand:
Simple, modern and high performance file watching and code reload in python.
@@ -54,7 +37,6 @@ Summary: %{summary}
# Unlicense OR MIT
License: %{shrink:
MIT AND
- Apache-2.0 AND
CC0-1.0 AND
ISC AND
(MIT OR Apache-2.0) AND
@@ -69,20 +51,16 @@ License: %{shrink:
%autosetup -n watchfiles-%{version} -p1
# Remove unnecessary Python test requirements
-sed -e '/"coverage\b/d' \
- -e '/"pytest-pretty\b/d' \
- -e '/"pytest-timeout\b/d' \
- -i pyproject.toml
-# Loosen the minimum maturin version for testing
-# https://bugzilla.redhat.com/show_bug.cgi?id=2329012
-sed -e 's/maturin>=1.8.1/maturin>=1.7.4/' -i pyproject.toml
+tomcli set pyproject.toml lists delitem \
+ 'dependency-groups.dev' '^(coverage|pytest-(pretty|timeout)).*'
# Remove pytest timeout config
-sed -e '/timeout =/d' -i pyproject.toml
+tomcli set pyproject.toml del 'tool.pytest.ini_options.timeout'
# Remove "generate-import-lib" feature for pyo3; applicable only on Windows,
# and not packaged.
-sed -e 's/\(pyo3.*\), "generate-import-lib"/\1/' -i Cargo.toml
+tomcli set Cargo.toml lists delitem 'dependencies.pyo3.features' \
+ 'generate-import-lib'
# Remove unused Cargo config that contains buildflags for Darwin
rm .cargo/config.toml
diff --git a/sources b/sources
index 6077b12..404ea48 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (watchfiles-1.0.5.tar.gz) = 03161ba3c1c99085c014c8920f67d87582a6a7db757a44fe218dc58c3a068ea9d83ecf16266cb84f571df427bdfbf7f3460674891425984b4cff78378f1d79f7
+SHA512 (watchfiles-1.1.0.tar.gz) = e741d0b807048937db7e9fdb814041ed44ec29ba9f2fbe83e44cc7115b36cf9dad16083980380bb5b76ebea0f4abd2432388be179657e30d2de347effcff5510
^ 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: Update to 1.1.0 (close RHBZ#2372924) 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