14
0
forked from pool/python-tox

Accepting request 1109638 from home:mschreiner:branches:devel:languages:python

- Refresh mark-network-tests.patch for 4.11.1.
- Rewrite optional_devpi_process.patch for 4.11.1.
- Add explicit numpy built-time dependency, as the one pulled by
  pytest-randomly was broken.
- Fix rpmlint warning: package was obsoleting itself.
- Update to 4.11.1.
- Please check the .changes file for a more complete changelog.

OBS-URL: https://build.opensuse.org/request/show/1109638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=109
This commit is contained in:
2023-09-08 17:15:07 +00:00
committed by Git OBS Bridge
parent 0d1407f509
commit 5fbce3fe15
6 changed files with 110 additions and 49 deletions

View File

@@ -23,12 +23,11 @@
%bcond_with devpi_process
%endif
Name: python-tox
Version: 4.5.1
Version: 4.11.1
Release: 0
Summary: Virtualenv-based automation of test activities
License: MIT
URL: https://github.com/tox-dev/tox
# Source: https://github.com/tox-dev/tox/archive/refs/tags/%%{version}.tar.gz#/tox-%%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
# PATCH-FIX-OPENSUSE optional_devpi_process.patch bsc#[0-9]+ mcepl@suse.com
# Make use devpi_process optional
@@ -72,7 +71,7 @@ Requires: python-colorama
Requires: python-filelock >= 3.0.0
Requires: python-packaging >= 14
Requires: python-platformdirs >= 3.5.1
Requires: python-pluggy >= 0.12.0
Requires: python-pluggy >= 1.0.0
Requires: python-pyproject-api
Requires: python-tomli >= 2.0.1
Requires: python-virtualenv >= 20.0.8
@@ -81,16 +80,17 @@ Requires(post): update-alternatives
Requires(postun):update-alternatives
# last detox version is 0.19
Obsoletes: python-detox <= 0.19
Provides: python-detox
Provides: python-detox > 0.19
BuildArch: noarch
# SECTION setup.cfg [options.extras_requires] testing=
# (except for pytest-cov and -randomly)
BuildRequires: %{python_module flaky >= 3.4.0}
BuildRequires: %{python_module freezegun >= 0.3.11}
BuildRequires: %{python_module numpy >= 1.25}
BuildRequires: %{python_module psutil >= 5.6.1}
BuildRequires: %{python_module pytest >= 4.0.0}
BuildRequires: %{python_module pytest-mock >= 1.10.0}
BuildRequires: %{python_module pytest-randomly >= 1.0.0}
BuildRequires: %{python_module pytest-randomly >= 3.0.0}
BuildRequires: %{python_module pytest-xdist >= 1.22.2}
# /SECTION
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
@@ -146,6 +146,9 @@ donttest+=" or test_parallel_live or (test_parallel and not test_parallel_)"
donttest+=" or test_replace_env_var_circular_flip_flop"
#
donttest+=" or test_call_as_exe or test_skip_pkg_install"
donttest+=" or test_python_generate_hash_seed"
# this test doesn't work on aarch64
donttest+=" or test_bad_env_var"
%{python_expand # tests expect an active virtualenv with a clean python name as sys.executable
virtualenv-%{$python_bin_suffix} --system-site-packages testenv-%{$python_bin_suffix}