Hello community,
here is the log from the commit of package python-dnspython for
openSUSE:Factory checked in at 2020-12-16 10:59:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dnspython (Old)
and /work/SRC/openSUSE:Factory/.python-dnspython.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dnspython"
Wed Dec 16 10:59:06 2020 rev:29 rq:855345 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dnspython/python-dnspython.changes
2020-08-13 10:11:59.942560140 +0200
+++
/work/SRC/openSUSE:Factory/.python-dnspython.new.2328/python-dnspython.changes
2020-12-16 10:59:08.851490916 +0100
@@ -1,0 +2,10 @@
+Fri Dec 11 14:05:18 UTC 2020 - Matej Cepl <[email protected]>
+
+- Remove skipping tests which are acutally passing.
+
+-------------------------------------------------------------------
+Fri Dec 11 07:52:30 UTC 2020 - Matej Cepl <[email protected]>
+
+- Python < 3.7 requires external contextvars
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dnspython.spec ++++++
--- /var/tmp/diff_new_pack.X0It2x/_old 2020-12-16 10:59:09.423491478 +0100
+++ /var/tmp/diff_new_pack.X0It2x/_new 2020-12-16 10:59:09.427491482 +0100
@@ -26,8 +26,8 @@
Group: Development/Languages/Python
URL: https://github.com/rthalley/dnspython
Source:
https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-%{version}.zip
+BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module setuptools}
-BuildRequires: python3-base >= 3.6
# SECTION tests
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module ecdsa}
@@ -36,14 +36,20 @@
BuildRequires: %{python_module requests-toolbelt}
BuildRequires: %{python_module trio >= 0.14.0}
BuildRequires: %{python_module typing}
-# /SECTION tests
BuildRequires: fdupes
-BuildRequires: netcfg
BuildRequires: python-rpm-macros
+# /SECTION tests
+BuildRequires: %{python_module pytest}
+BuildRequires: netcfg
BuildRequires: unzip
+BuildRequires: (python3-contextvars if python3-base < 3.7)
+BuildRequires: (python36-contextvars if python36-base)
Requires: python-ecdsa
Requires: python-pycryptodome
Requires: python-requests-toolbelt
+%if %{python_version_nodots} < 37
+Requires: python-contextvars
+%endif
BuildArch: noarch
Recommends: python-cryptography
Recommends: python-idna >= 2.1
@@ -65,8 +71,6 @@
%prep
%setup -q -n dnspython-%{version}
chmod -x examples/*
-# Two sets of fail which fail on openssl 1.1.0i and lower
-sed -Ei 's/def (testAbsoluteED)(448|25519)/def _\1\2/' tests/test_dnssec.py
%build
%python_build
@@ -76,10 +80,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
%check
-%if %python3_version_nodots < 37
-rm tests/nanonameserver.py
-%endif
-%python_exec setup.py test
+%pytest
%files %{python_files}
%license LICENSE
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]