diff --git a/python-zeroconf-0.24.5.tar.gz b/python-zeroconf-0.24.5.tar.gz deleted file mode 100644 index 0f0f97f..0000000 --- a/python-zeroconf-0.24.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5a35f1211312e8699177f2ba0a01d5a8d23df4b86f21a49480b65679741ef8b -size 53600 diff --git a/python-zeroconf-0.25.1.tar.gz b/python-zeroconf-0.25.1.tar.gz new file mode 100644 index 0000000..5137b35 --- /dev/null +++ b/python-zeroconf-0.25.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d32dbc683318e4534348d518011944467f641892574a757c19083ec6f8c25afb +size 54075 diff --git a/python-zeroconf-disable-some-tests.patch b/python-zeroconf-disable-some-tests.patch deleted file mode 100644 index 792a611..0000000 --- a/python-zeroconf-disable-some-tests.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/zeroconf/test.py b/zeroconf/test.py -index f0d5ad4..26e6216 100644 ---- a/zeroconf/test.py -+++ b/zeroconf/test.py -@@ -435,6 +435,7 @@ class Names(unittest.TestCase): - - - class Framework(unittest.TestCase): -+ @unittest.skip("Does not work in an OBS chroot") - def test_launch_and_close(self): - rv = r.Zeroconf(interfaces=r.InterfaceChoice.All) - rv.close() -@@ -443,6 +444,7 @@ class Framework(unittest.TestCase): - - @unittest.skipIf(not socket.has_ipv6, 'Requires IPv6') - @attr('IPv6') -+ @unittest.skip("Does not work in an OBS chroot") - def test_launch_and_close_v4_v6(self): - rv = r.Zeroconf(interfaces=r.InterfaceChoice.All, ip_version=r.IPVersion.All) - rv.close() -@@ -451,6 +453,7 @@ class Framework(unittest.TestCase): - - @unittest.skipIf(not socket.has_ipv6, 'Requires IPv6') - @attr('IPv6') -+ @unittest.skip("Does not work in an OBS chroot") - def test_launch_and_close_v6_only(self): - rv = r.Zeroconf(interfaces=r.InterfaceChoice.All, ip_version=r.IPVersion.V6Only) - rv.close() -@@ -770,6 +773,7 @@ class TestDNSCache(unittest.TestCase): - - - class ServiceTypesQuery(unittest.TestCase): -+ @unittest.skip("Does not work in an OBS chroot") - def test_integration_with_listener(self): - - type_ = "_test-srvc-type._tcp.local." -@@ -818,6 +822,7 @@ class ServiceTypesQuery(unittest.TestCase): - - @unittest.skipIf(not socket.has_ipv6, 'Requires IPv6') - @attr('IPv6') -+ @unittest.skip("Does not work in an OBS chroot") - def test_integration_with_listener_ipv6(self): - - type_ = "_test-srvc-type._tcp.local." diff --git a/python-zeroconf.changes b/python-zeroconf.changes index d4e5816..8cba718 100644 --- a/python-zeroconf.changes +++ b/python-zeroconf.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Apr 16 08:47:59 UTC 2020 - pgajdos@suse.com + +- version update to 0.25.1 + * Eliminated 5s hangup when calling Zeroconf.close(), thanks to Erik Montnemery + * Reverted uniqueness assertions when browsing, they caused a regression + Backwards incompatible: + * Rationalized handling of TXT records. +- deleted patches + - python-zeroconf-disable-some-tests.patch (not needed, replaced by -k 'not ...') + ------------------------------------------------------------------- Mon Mar 9 10:57:37 UTC 2020 - pgajdos@suse.com diff --git a/python-zeroconf.spec b/python-zeroconf.spec index 957deeb..24ac35b 100644 --- a/python-zeroconf.spec +++ b/python-zeroconf.spec @@ -19,16 +19,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-zeroconf -Version: 0.24.5 +Version: 0.25.1 Release: 0 Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible) License: LGPL-2.0-only Group: Development/Languages/Python URL: https://github.com/jstasiak/python-zeroconf Source: https://github.com/jstasiak/python-zeroconf/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: python-zeroconf-disable-some-tests.patch BuildRequires: %{python_module ifaddr} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -45,7 +44,6 @@ does not force you to use a particular event loop or python-twisted. %prep %setup -q -%patch0 -p1 %build %python_build @@ -56,8 +54,7 @@ does not force you to use a particular event loop or python-twisted. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# tests that do not run in an OBS chroot are disabled via python-zeroconf-disable-some-tests.patch -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} %python_exec -m unittest discover -v +%pytest zeroconf/test.py -k 'not (test_integration_with_listener_ipv6 or test_launch)' %files %{python_files} %doc README.rst