From bde8917676fdfa66e9e90434c1e643f9da9cb365ecc58cdc95d1ebba50f98bff Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 17 Sep 2022 07:30:02 +0000 Subject: [PATCH 1/4] - update to 0.39.1: * Switch to using async_timeout for timeouts * Significantly reduces the number of asyncio tasks that are created when * using ServiceInfo or AsyncServiceInfo * Performance improvements for constructing outgoing packet data OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=65 --- _service | 2 +- python-zeroconf-0.38.7.obscpio | 3 --- python-zeroconf-0.39.1.obscpio | 3 +++ python-zeroconf.changes | 9 +++++++++ python-zeroconf.obsinfo | 7 +++---- python-zeroconf.spec | 2 +- 6 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 python-zeroconf-0.38.7.obscpio create mode 100644 python-zeroconf-0.39.1.obscpio diff --git a/_service b/_service index a41f04e..c6d948b 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://github.com/jstasiak/python-zeroconf git - 0.38.7 + 0.39.1 @PARENT_TAG@ (.*) diff --git a/python-zeroconf-0.38.7.obscpio b/python-zeroconf-0.38.7.obscpio deleted file mode 100644 index abddf8c..0000000 --- a/python-zeroconf-0.38.7.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da5215ddcc80e0dbcc77265c8929b74c8ebd70efd3782d8a487b360a2351c90c -size 683532 diff --git a/python-zeroconf-0.39.1.obscpio b/python-zeroconf-0.39.1.obscpio new file mode 100644 index 0000000..b5830be --- /dev/null +++ b/python-zeroconf-0.39.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa94916254ef7d193b7ce0c0b14b7bbd131b5fd28d384807760adb47cd75ce29 +size 685068 diff --git a/python-zeroconf.changes b/python-zeroconf.changes index e82765e..680887e 100644 --- a/python-zeroconf.changes +++ b/python-zeroconf.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Sep 17 07:29:19 UTC 2022 - Dirk Müller + +- update to 0.39.1: + * Switch to using async_timeout for timeouts + * Significantly reduces the number of asyncio tasks that are created when + * using ServiceInfo or AsyncServiceInfo + * Performance improvements for constructing outgoing packet data + ------------------------------------------------------------------- Sat Jun 25 15:21:12 UTC 2022 - Antoine Belvire diff --git a/python-zeroconf.obsinfo b/python-zeroconf.obsinfo index ec99134..c2b7f3b 100644 --- a/python-zeroconf.obsinfo +++ b/python-zeroconf.obsinfo @@ -1,5 +1,4 @@ name: python-zeroconf -version: 0.38.7 -mtime: 1655228959 -commit: f3a9f804914fec37e961f80f347c4e706c4bae33 - +version: 0.39.1 +mtime: 1662407085 +commit: 6f90896a590d6d60db75688a1ba753c333c8faab diff --git a/python-zeroconf.spec b/python-zeroconf.spec index 8250f57..c05f3d0 100644 --- a/python-zeroconf.spec +++ b/python-zeroconf.spec @@ -20,7 +20,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-zeroconf -Version: 0.38.7 +Version: 0.39.1 Release: 0 Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible) License: LGPL-2.0-only From df5d5e4b0d21c35047d8937942cd49be659175be0b849eb5fe6d0ce6f51d2b97 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Sat, 17 Sep 2022 18:30:01 +0000 Subject: [PATCH 2/4] Accepting request 1004373 from home:marec2000:branches:devel:languages:python - added build dependency python-async_timeout in order to fix build failure OBS-URL: https://build.opensuse.org/request/show/1004373 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=66 --- python-zeroconf.changes | 5 +++++ python-zeroconf.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-zeroconf.changes b/python-zeroconf.changes index 680887e..c6d5c45 100644 --- a/python-zeroconf.changes +++ b/python-zeroconf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Sep 17 16:40:31 UTC 2022 - marec + +- added build dependency python-async_timeout in order to fix build failure + ------------------------------------------------------------------- Sat Sep 17 07:29:19 UTC 2022 - Dirk Müller diff --git a/python-zeroconf.spec b/python-zeroconf.spec index c05f3d0..aabb22c 100644 --- a/python-zeroconf.spec +++ b/python-zeroconf.spec @@ -27,6 +27,7 @@ License: LGPL-2.0-only Group: Development/Languages/Python URL: https://github.com/jstasiak/python-zeroconf Source: %{name}-%{version}.tar.xz +BuildRequires: %{python_module async_timeout} BuildRequires: %{python_module ifaddr >= 0.1.7} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} From 0313cf748e5a06f2426343fdfa2e9b8348071d0773cdae05d1d8b93a7bbd116c Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Sat, 17 Sep 2022 18:52:30 +0000 Subject: [PATCH 3/4] - Re-enable test_service_browser_expire_callbacks: Should be fixed with 0.39.0 (gh#jstasiak/python-zeroconf!1084). - Added build dependency python-async_timeout in order to fix build failure. - Update to 0.39.1: * Performance improvements for constructing outgoing packet data. - Changes from 0.39.0: * Switch to using async_timeout for timeouts: Significantly reduces the number of asyncio tasks that are created when using ServiceInfo or AsyncServiceInfo (gh#jstasiak/python-zeroconf!1081). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=67 --- python-zeroconf.changes | 21 +++++++++++++++------ python-zeroconf.spec | 5 ++--- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/python-zeroconf.changes b/python-zeroconf.changes index c6d5c45..07caa8e 100644 --- a/python-zeroconf.changes +++ b/python-zeroconf.changes @@ -1,16 +1,25 @@ +------------------------------------------------------------------- +Sat Sep 17 18:38:52 UTC 2022 - Antoine Belvire + +- Re-enable test_service_browser_expire_callbacks: Should be fixed + with 0.39.0 (gh#jstasiak/python-zeroconf!1084). + ------------------------------------------------------------------- Sat Sep 17 16:40:31 UTC 2022 - marec -- added build dependency python-async_timeout in order to fix build failure +- Added build dependency python-async_timeout in order to fix build + failure. ------------------------------------------------------------------- Sat Sep 17 07:29:19 UTC 2022 - Dirk Müller -- update to 0.39.1: - * Switch to using async_timeout for timeouts - * Significantly reduces the number of asyncio tasks that are created when - * using ServiceInfo or AsyncServiceInfo - * Performance improvements for constructing outgoing packet data +- Update to 0.39.1: + * Performance improvements for constructing outgoing packet data. +- Changes from 0.39.0: + * Switch to using async_timeout for timeouts: Significantly + reduces the number of asyncio tasks that are created when using + ServiceInfo or AsyncServiceInfo + (gh#jstasiak/python-zeroconf!1081). ------------------------------------------------------------------- Sat Jun 25 15:21:12 UTC 2022 - Antoine Belvire diff --git a/python-zeroconf.spec b/python-zeroconf.spec index aabb22c..a6660ca 100644 --- a/python-zeroconf.spec +++ b/python-zeroconf.spec @@ -27,7 +27,7 @@ License: LGPL-2.0-only Group: Development/Languages/Python URL: https://github.com/jstasiak/python-zeroconf Source: %{name}-%{version}.tar.xz -BuildRequires: %{python_module async_timeout} +BuildRequires: %{python_module async_timeout >= 4.0.1} BuildRequires: %{python_module ifaddr >= 0.1.7} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} @@ -61,8 +61,7 @@ does not force you to use a particular event loop or python-twisted. # - test_integration_with_listener_ipv6: Requires network access # - test_launch*: Require network access # - test_close_multiple_times: Requires network access -# - test_service_browser_expire_callbacks: Flakey (gh#jstasiak/python-zeroconf#1077) -%pytest tests -k 'not (test_integration_with_listener_ipv6 or test_launch or test_close_multiple_times or test_service_browser_expire_callbacks)' +%pytest tests -k 'not (test_integration_with_listener_ipv6 or test_launch or test_close_multiple_times)' %files %{python_files} %doc README.rst From 7a36669b433faf510179eef8d0f9e3681c9826d33252d0b60de99db72a7b1239 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Sat, 17 Sep 2022 19:00:27 +0000 Subject: [PATCH 4/4] - Add missing dependency on python-async_timeout at run time. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=68 --- python-zeroconf.changes | 1 + python-zeroconf.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/python-zeroconf.changes b/python-zeroconf.changes index 07caa8e..ca28628 100644 --- a/python-zeroconf.changes +++ b/python-zeroconf.changes @@ -3,6 +3,7 @@ Sat Sep 17 18:38:52 UTC 2022 - Antoine Belvire - Re-enable test_service_browser_expire_callbacks: Should be fixed with 0.39.0 (gh#jstasiak/python-zeroconf!1084). +- Add missing dependency on python-async_timeout at run time. ------------------------------------------------------------------- Sat Sep 17 16:40:31 UTC 2022 - marec diff --git a/python-zeroconf.spec b/python-zeroconf.spec index a6660ca..7545ddd 100644 --- a/python-zeroconf.spec +++ b/python-zeroconf.spec @@ -34,6 +34,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-async_timeout >= 4.0.1 Requires: python-ifaddr >= 0.1.7 BuildArch: noarch %python_subpackages