From 760675a4f14e9d0208d1efa2b19cae9ba1be711814d918b9860da329882ede1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 5 Apr 2019 11:24:39 +0000 Subject: [PATCH 1/2] - Update to 3.2.1: * Fix resolution of dependencies in a regular install of lexicon distribution * Mark more tests as expected failures * Fix the the updates of Gandi records of a specific type (#384) * Fix the if-condition that handles the updates of Gandi records of a specific rtype - Drop merged patch: * ioerror.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dns-lexicon?expand=0&rev=19 --- ioerror.patch | 23 ----------------------- lexicon-3.1.6.tar.gz | 3 --- lexicon-3.2.1.tar.gz | 3 +++ python-dns-lexicon.changes | 10 ++++++++++ python-dns-lexicon.spec | 5 +---- 5 files changed, 14 insertions(+), 30 deletions(-) delete mode 100644 ioerror.patch delete mode 100644 lexicon-3.1.6.tar.gz create mode 100644 lexicon-3.2.1.tar.gz diff --git a/ioerror.patch b/ioerror.patch deleted file mode 100644 index e9a665f..0000000 --- a/ioerror.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 7a65099f84987e6bbbce65ffbb937501138b77dd Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= -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 - diff --git a/lexicon-3.1.6.tar.gz b/lexicon-3.1.6.tar.gz deleted file mode 100644 index 5fb9df0..0000000 --- a/lexicon-3.1.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f5e47d2d7b688dea282065aa4867fcf46d521b521d5ee35cfbbcb5a48b7d6ca -size 2741261 diff --git a/lexicon-3.2.1.tar.gz b/lexicon-3.2.1.tar.gz new file mode 100644 index 0000000..3848819 --- /dev/null +++ b/lexicon-3.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5705a3cce6ff5358c2e68d226dab8518ab3b8461bed8172401515b31e5b6f97a +size 2745542 diff --git a/python-dns-lexicon.changes b/python-dns-lexicon.changes index 37fd167..df612ee 100644 --- a/python-dns-lexicon.changes +++ b/python-dns-lexicon.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Apr 5 11:17:48 UTC 2019 - Tomáš Chvátal + +- Update to 3.2.1: + * Fix resolution of dependencies in a regular install of lexicon distribution + * Mark more tests as expected failures + * Fix the the updates of Gandi records of a specific type (#384) * Fix the if-condition that handles the updates of Gandi records of a specific rtype +- Drop merged patch: + * ioerror.patch + ------------------------------------------------------------------- Fri Mar 8 13:37:25 UTC 2019 - Tomáš Chvátal diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 8010d91..89dbbd3 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,17 +16,15 @@ # -# See also http://en.opensuse.org/openSUSE:Specfile_guidelines %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dns-lexicon -Version: 3.1.6 +Version: 3.2.1 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 -Patch0: ioerror.patch BuildRequires: %{python_module PyNamecheap} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module beautifulsoup4} @@ -75,7 +73,6 @@ Lexicon was designed to be used in automation, specifically letsencrypt. %prep %setup -q -n lexicon-%{version} -%patch0 -p1 # remove localzone test as this test requires an internet connection rm lexicon/tests/providers/test_localzone.py From b9b5ee7c4610ad162f5ae2f7b7194861b21828482bae4243ba5d822e4d2f6798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 8 Apr 2019 12:59:38 +0000 Subject: [PATCH 2/2] * Fix the the updates of Gandi records of a specific type (#384) * Fix the if-condition that handles the updates of Gandi records of a specific rtype OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dns-lexicon?expand=0&rev=20 --- python-dns-lexicon.changes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-dns-lexicon.changes b/python-dns-lexicon.changes index df612ee..401fa4b 100644 --- a/python-dns-lexicon.changes +++ b/python-dns-lexicon.changes @@ -4,7 +4,8 @@ Fri Apr 5 11:17:48 UTC 2019 - Tomáš Chvátal - Update to 3.2.1: * Fix resolution of dependencies in a regular install of lexicon distribution * Mark more tests as expected failures - * Fix the the updates of Gandi records of a specific type (#384) * Fix the if-condition that handles the updates of Gandi records of a specific rtype + * Fix the the updates of Gandi records of a specific type (#384) + * Fix the if-condition that handles the updates of Gandi records of a specific rtype - Drop merged patch: * ioerror.patch