forked from pool/python-zeroconf
Accepting request 794518 from home:pgajdos:python
- 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 ...') OBS-URL: https://build.opensuse.org/request/show/794518 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=30
This commit is contained in:
committed by
Git OBS Bridge
parent
9739f9c25d
commit
3c8992a0e9
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f5a35f1211312e8699177f2ba0a01d5a8d23df4b86f21a49480b65679741ef8b
|
|
||||||
size 53600
|
|
||||||
3
python-zeroconf-0.25.1.tar.gz
Normal file
3
python-zeroconf-0.25.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d32dbc683318e4534348d518011944467f641892574a757c19083ec6f8c25afb
|
||||||
|
size 54075
|
||||||
@@ -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."
|
|
||||||
@@ -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
|
Mon Mar 9 10:57:37 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -19,16 +19,15 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-zeroconf
|
Name: python-zeroconf
|
||||||
Version: 0.24.5
|
Version: 0.25.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
|
||||||
License: LGPL-2.0-only
|
License: LGPL-2.0-only
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/jstasiak/python-zeroconf
|
URL: https://github.com/jstasiak/python-zeroconf
|
||||||
Source: https://github.com/jstasiak/python-zeroconf/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
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 ifaddr}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -45,7 +44,6 @@ does not force you to use a particular event loop or python-twisted.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_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}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# tests that do not run in an OBS chroot are disabled via python-zeroconf-disable-some-tests.patch
|
%pytest zeroconf/test.py -k 'not (test_integration_with_listener_ipv6 or test_launch)'
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} %python_exec -m unittest discover -v
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|||||||
Reference in New Issue
Block a user