public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zeroconf] rawhide: Update to 0.149.17
@ 2026-06-22 10:10 Peter Robinson
0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-06-22 10:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-zeroconf
Branch : rawhide
Commit : c72eb471effd4486ade4592bb0f42fc8bf42c614
Author : Peter Robinson <pbrobinson@gmail.com>
Date : 2026-06-22T11:10:01+01:00
Stats : +9/-68 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-zeroconf/c/c72eb471effd4486ade4592bb0f42fc8bf42c614?branch=rawhide
Log:
Update to 0.149.17
---
diff --git a/cython-3.2.patch b/cython-3.2.patch
deleted file mode 100644
index 9905f2c..0000000
--- a/cython-3.2.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 45c3c2336e651b8948c65bc643023a28ba59c019 Mon Sep 17 00:00:00 2001
-From: "J. Nick Koston" <nick@koston.org>
-Date: Thu, 20 Nov 2025 10:35:38 +0100
-Subject: [PATCH] Fixup the Cython declaration of
- zeroconf._handlers.record_manager.async_updates_complete
-
-...to match the Python type
-
-This avoids:
-
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- This method will be run in the event loop.
- """
- for listener in self.listeners:
- listener.async_update_records(self.zc, now, records)
-
- def async_updates_complete(self, notify: bool) -> None:
- ^
- ------------------------------------------------------------
- src/zeroconf/_handlers/record_manager.py:62:4: Signature not compatible with previous declaration
-
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef public DNSCache cache
- cdef public cython.set listeners
-
- cpdef async_updates(self, object now, object records)
-
- cpdef void async_updates_complete(self, object notify)
- ^
- ------------------------------------------------------------
- src/zeroconf/_handlers/record_manager.pxd:27:37: Previous declaration is here
-
-Partially cherry-picked from 9eac0a12.
----
- src/zeroconf/_handlers/record_manager.pxd | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/zeroconf/_handlers/record_manager.pxd b/src/zeroconf/_handlers/record_manager.pxd
-index 8775108..4bde2e1 100644
---- a/src/zeroconf/_handlers/record_manager.pxd
-+++ b/src/zeroconf/_handlers/record_manager.pxd
-@@ -24,7 +24,7 @@ cdef class RecordManager:
-
- cpdef async_updates(self, object now, object records)
-
-- cpdef async_updates_complete(self, object notify)
-+ cpdef async_updates_complete(self, bint notify)
-
- @cython.locals(
- cache=DNSCache,
---
-2.51.1
-
diff --git a/python-zeroconf.spec b/python-zeroconf.spec
index 1cb3b81..38c9486 100644
--- a/python-zeroconf.spec
+++ b/python-zeroconf.spec
@@ -1,5 +1,7 @@
-Name: python-zeroconf
-Version: 0.118.0
+%global pypi_name zeroconf
+
+Name: python-%{pypi_name}
+Version: 0.149.17
Release: %autorelease
Summary: Pure Python Multicast DNS Service Discovery Library
@@ -7,10 +9,6 @@ License: LGPL-2.1-or-later
URL: https://github.com/jstasiak/python-zeroconf
Source0: %{url}/archive/%{version}/zeroconf-%{version}.tar.gz
-# Fixup the Cython declaration of zeroconf._handlers.record_manager.async_updates_complete to match the Python type
-# Partially cherry-picked from https://github.com/python-zeroconf/python-zeroconf/commit/9eac0a12
-Patch: cython-3.2.patch
-
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-pytest
@@ -30,10 +28,10 @@ supporting Bonjour/Avahi.
%prep
-%autosetup -p1
-# Upstream requires this for https://github.com/python-poetry/poetry/issues/7505
-# But it's not relevant for the RPM package
-sed -i 's/poetry-core>=1.5.2/poetry-core/' pyproject.toml
+%autosetup -p1 -n %{pypi_name}-%{version}
+# Remove benchmarks
+rm -rf tests/benchmarks/
+sed -i '#_BENCHMARKS_DIR = "tests/benchmarks"#d' tests/conftest.py
# We don't measure coverage in tests
sed -Ei 's/--cov(-|=)[^ "]+//g' pyproject.toml
diff --git a/sources b/sources
index de2986c..9ef16fb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zeroconf-0.118.0.tar.gz) = af39cde06547d126ddfd3fe4db3ae8232bfe86454cec298575eb155c2803959dc566cb11dd4b8aed270a709901858f6ea7df41c7754d71c00c2e529d5c00c2b9
+SHA512 (zeroconf-0.149.17.tar.gz) = f00576bf88fe567d9bf9f81dbd2b609b7a0d490e47813607bbbb1ed5b8a2c1a05bd42f9a0c3e189dd0ef4e9d643e42b30345dc0dc87373c8eae63b61aaf8d835
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-22 10:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 10:10 [rpms/python-zeroconf] rawhide: Update to 0.149.17 Peter Robinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox