Hello community, here is the log from the commit of package python-dns-lexicon for openSUSE:Factory checked in at 2019-03-12 09:54:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dns-lexicon (Old) and /work/SRC/openSUSE:Factory/.python-dns-lexicon.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dns-lexicon" Tue Mar 12 09:54:06 2019 rev:4 rq:682855 version:3.1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dns-lexicon/python-dns-lexicon.changes 2019-02-02 21:49:20.739975808 +0100 +++ /work/SRC/openSUSE:Factory/.python-dns-lexicon.new.28833/python-dns-lexicon.changes 2019-03-12 09:54:09.763529114 +0100 @@ -1,0 +2,10 @@ +Fri Mar 8 13:37:25 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 3.1.6: + * Various changes, no upstream changelog +- Add patch to fix network detection: + * ioerror.patch +- Drop merged patch: + * multiple-fixes-to-test_hetzner.patch + +------------------------------------------------------------------- Old: ---- lexicon-3.0.7.tar.gz multiple-fixes-to-test_hetzner.patch New: ---- ioerror.patch lexicon-3.1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dns-lexicon.spec ++++++ --- /var/tmp/diff_new_pack.sorOoD/_old 2019-03-12 09:54:10.379528991 +0100 +++ /var/tmp/diff_new_pack.sorOoD/_new 2019-03-12 09:54:10.379528991 +0100 @@ -19,16 +19,14 @@ # See also http://en.opensuse.org/openSUSE:Specfile_guidelines %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dns-lexicon -Version: 3.0.7 +Version: 3.1.6 Release: 0 Summary: DNS record manipulation utility License: MIT Group: Productivity/Networking/DNS/Utilities URL: https://github.com/AnalogJ/lexicon Source0: https://github.com/AnalogJ/lexicon/archive/v%{version}.tar.gz#/lexicon-%{version}.tar.gz -# PATCH-FIX-UPSTREAM Collected from upstream to master as of 66daddf -# Fixes for upstream bugs gh#AnalogJ/lexicon#332 and gh#AnalogJ/lexicon#333 -Patch0: multiple-fixes-to-test_hetzner.patch +Patch0: ioerror.patch BuildRequires: %{python_module PyNamecheap} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module beautifulsoup4} @@ -77,9 +75,9 @@ %prep %setup -q -n lexicon-%{version} -%autopatch -p1 +%patch0 -p1 # remove localzone test as this test requires an internet connection -rm -f tests/providers/test_localzone.py +rm lexicon/tests/providers/test_localzone.py # rpmlint find . -type f -name ".gitignore" -delete @@ -92,15 +90,13 @@ %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Python2 incompatible, only py3 syntax in tests -py.test3 tests +%pytest lexicon/tests %files %{python_files} -%{python_sitelib}/lexicon -%{python_sitelib}/dns_lexicon-* +%{python_sitelib} %license LICENSE %doc README.md %python3_only %{_bindir}/lexicon ++++++ ioerror.patch ++++++ >From 7a65099f84987e6bbbce65ffbb937501138b77dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <[email protected]> Date: Fri, 8 Mar 2019 14:44:47 +0100 Subject: [PATCH] Socket can also throw IOError Catch for IOError if there is no network too. --- lexicon/tests/providers/test_auto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexicon/tests/providers/test_auto.py b/lexicon/tests/providers/test_auto.py index d3cee052..f9779bb8 100644 --- a/lexicon/tests/providers/test_auto.py +++ b/lexicon/tests/providers/test_auto.py @@ -28,7 +28,7 @@ def _there_is_no_network(): try: socket.create_connection(("www.google.com", 80)) return False - except OSError: + except (OSError, IOError): pass return True ++++++ lexicon-3.0.7.tar.gz -> lexicon-3.1.6.tar.gz ++++++ ++++ 926330 lines of diff (skipped)
