Hello community,

here is the log from the commit of package python-curio for openSUSE:Factory 
checked in at 2020-12-12 20:29:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-curio (Old)
 and      /work/SRC/openSUSE:Factory/.python-curio.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-curio"

Sat Dec 12 20:29:23 2020 rev:8 rq:854256 version:1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-curio/python-curio.changes        
2020-12-05 20:35:36.686613106 +0100
+++ /work/SRC/openSUSE:Factory/.python-curio.new.2328/python-curio.changes      
2020-12-12 20:31:37.417805670 +0100
@@ -1,0 +2,9 @@
+Wed Dec  9 11:04:13 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Reenable python36 build and skip the failing tests. The 
+  dependency tree on curio is too large to just define
+  skip_python36
+  * gh#dabeaz/curio#336
+  * gh#openSUSE/python-rpm-macros#66
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-curio.spec ++++++
--- /var/tmp/diff_new_pack.h5Syv2/_old  2020-12-12 20:31:37.997806275 +0100
+++ /var/tmp/diff_new_pack.h5Syv2/_new  2020-12-12 20:31:38.001806279 +0100
@@ -18,8 +18,6 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
-# skip for future multiple python3 flavors
-%define skip_python36 1
 Name:           python-curio
 Version:        1.4
 Release:        0
@@ -28,13 +26,16 @@
 URL:            https://github.com/dabeaz/curio
 Source:         
https://github.com/dabeaz/curio/archive/%{version}.tar.gz#/curio-%{version}.tar.gz
 Patch0:         make-tests-reproducible.patch
-# https://github.com/dabeaz/curio/issues/336
-BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module base >= 3.6}
+BuildRequires:  %{python_module contextvars}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
+%if 0%{?python_version_nodots} == 36
+Requires:       python-contextvars
+%endif
 %python_subpackages
 
 %description
@@ -53,7 +54,17 @@
 
 %check
 # disabled network tests
-%pytest -k 'not (test_ssl_outgoing or test_socket_funcs)'
+skiptest_allpython="test_ssl_outgoing or test_socket_funcs"
+# https://github.com/dabeaz/curio/issues/336
+# The dependency tree on curio is too large to just define skip_python36.
+# Let's hope the python36 flavor will be in Tumbleweed before upstream drops
+# Python 3.6 support completely, so that a dedicated staging project can work
+# out the skips on all the depending packages.
+skiptest_python36_only=" or test_uqueue_asyncio_consumer or 
test_uevent_get_asyncio or test_universal"
+%if 0%{?python3_version_nodots} == 36
+skiptest_python3_only="$skiptest_python36_only"
+%endif
+%pytest -k "not (${skiptest_allpython} ${skiptest_$python_only})"
 
 %files %{python_files}
 %license LICENSE
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to