forked from pool/python-dns-lexicon
Accepting request 692292 from devel:languages:python
- 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/request/show/692292 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dns-lexicon?expand=0&rev=5
This commit is contained in:
@@ -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?= <tomas.chvatal@gmail.com>
|
||||
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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f5e47d2d7b688dea282065aa4867fcf46d521b521d5ee35cfbbcb5a48b7d6ca
|
||||
size 2741261
|
||||
3
lexicon-3.2.1.tar.gz
Normal file
3
lexicon-3.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5705a3cce6ff5358c2e68d226dab8518ab3b8461bed8172401515b31e5b6f97a
|
||||
size 2745542
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 11:17:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- 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 <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user