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
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user