From 2bab1f94c9c63a307830b5253b5294d4e551f80d6dd0285fe775ec0f02f2c278 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 17 Dec 2020 16:01:35 +0000 Subject: [PATCH] Accepting request 856705 from home:bnavigator:branches:devel:languages:python - Update to version 3.9.4 * fix for new version of pip resolver - Skip python38 only tests in python36 flavor and python3 flavor if python3 <= 3.8 (Leap) OBS-URL: https://build.opensuse.org/request/show/856705 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=20 --- mocket-3.9.3.tar.gz | 3 --- mocket-3.9.4.tar.gz | 3 +++ python-mocket.changes | 8 ++++++++ python-mocket.spec | 10 +++++++--- 4 files changed, 18 insertions(+), 6 deletions(-) delete mode 100644 mocket-3.9.3.tar.gz create mode 100644 mocket-3.9.4.tar.gz diff --git a/mocket-3.9.3.tar.gz b/mocket-3.9.3.tar.gz deleted file mode 100644 index 11782bf..0000000 --- a/mocket-3.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f192fed452769372dd0374af44be241c57449f4ba6e5f2fafbb3ce480e3d796 -size 74923 diff --git a/mocket-3.9.4.tar.gz b/mocket-3.9.4.tar.gz new file mode 100644 index 0000000..359ee28 --- /dev/null +++ b/mocket-3.9.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:044837634642171a54170a38bb14c707814c5d7f928e9a0f753a1aa330ea762c +size 75169 diff --git a/python-mocket.changes b/python-mocket.changes index 328f475..9f7f811 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Dec 17 15:10:50 UTC 2020 - Benjamin Greiner + +- Update to version 3.9.4 + * fix for new version of pip resolver +- Skip python38 only tests in python36 flavor and python3 flavor + if python3 <= 3.8 (Leap) + ------------------------------------------------------------------- Thu Dec 10 01:45:45 UTC 2020 - Benjamin Greiner diff --git a/python-mocket.spec b/python-mocket.spec index 4492825..203bcd8 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-mocket%{psuffix} -Version: 3.9.3 +Version: 3.9.4 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause @@ -96,8 +96,12 @@ export LANG=en_US.UTF-8 %if %{with test} export LANG=en_US.UTF-8 export SKIP_TRUE_HTTP=1 -%define pytest_ignore_python2 --ignore tests/tests35 --ignore tests/tests38 -%pytest -k 'not RedisTestCase' %{?pytest_ignore%{$python_version}} +pytest_python2_ignore="--ignore tests/tests35 --ignore tests/tests38" +pytest_python36_ignore="--ignore tests/tests38" +%if %{python3_version_nodots} < 38 +pytest_python3_ignore="--ignore tests/tests38" +%endif +%pytest -k 'not RedisTestCase' ${pytest_$python_ignore} %endif %if !%{with test}