forked from pool/python-tox
Accepting request 921541 from devel:languages:python
- Update to 3.24.4: - Fixed handling of -e ALL in parallel mode by ignoring the ALL in subprocesses -- by :user:`guahki`. #2167 - Prevent tox from using a truncated interpreter when using TOX_LIMITED_SHEBANG -- by :user:`jdknight`. #2208 - Enabled the use of the favicon in the Sphinx docs first introduced in :pull:`764` but not integrated fully -- :user:`webknjaz` #2177 - --parallel reports now show ASCII OK/FAIL/SKIP lines when full Unicode output is not available - by :user:`brettcs` #1421 - Started enforcing valid references in Sphinx docs -- :user:`webknjaz` #2168 - include LC_ALL to implicit list of passenv variables - by :user:`ssbarnea` #2162 - get_requires_for_build_sdist hook (PEP 517) is assumed to return an empty list if left unimplemented by the backend build system - by :user:`oczkoisse` #2130 - The documentation of install_command now also mentions that you can provide arbitrary commands - by :user:`jugmac00` #2081 - --devenv no longer modifies the directory in which the .tox environment is provisioned - by :user:`isaac-ped` #2065 - Fix show config when the package names are not in canonical form - by :user:`gaborbernat`. #2103 - Extended environment variables section - by :user:`majiang` #2036 - tox no longer shows deprecation warnings for distutils.sysconfig on Python 3.10 - by :user:`9999years` #2100 - Distinguish between normal Windows Python and MSYS2 Python when looking for virtualenv executable path. Adds os.sep to :class:`~tox.interpreters.InterpreterInfo` - by :user:`jschwartzentruber` #1982 - Fix a tox-conda isolation build bug - by :user:`AntoineD`. #2056 - Update examples in the documentation to use setenv in the [testenv] sections, not wrongly in the [tox] main section. - by :user:`AndreyNautilus` #1999 - Enable building tox with setuptools_scm 6+ by :user:`hroncok` #1984 - tox can now be invoked with a new --no-provision flag that prevents provision, if :conf:`requires` or :conf:`minversion` are not satisfied, tox will fail; if a path is specified as an argument to the flag (e.g. as tox --no-provision missing.json) and provision is prevented, provision metadata are written as JSON to that path - by :user:`hroncok` #1921 - Unicode support in pyproject.toml - by :user:`domdfcoding` #1940 - The value of the :conf:`requires` configuration option is now exposed via the :class:`tox.config.Config` object - by :user:`hroncok` #1918 - Adapt tests not to assume the easy_install command exists, as it was removed from setuptools 52.0.0+ - by :user:`hroncok` #1893 - Fix a killed tox (via SIGTERM) leaving the commands subprocesses running by handling it as if it were a KeyboardInterrupt - by :user:`dajose` #1772 - Newer coverage tools update the COV_CORE_CONTEXT environment variable, add it to the list of environment variables that can change in our pytest plugin - by :user:`gaborbernat`. #1854 OBS-URL: https://build.opensuse.org/request/show/921541 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tox?expand=0&rev=40
This commit is contained in:
commit
38eb414101
@ -1,3 +1,69 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 26 21:52:18 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.24.4:
|
||||||
|
- Fixed handling of -e ALL in parallel mode by ignoring the ALL
|
||||||
|
in subprocesses -- by :user:`guahki`. #2167
|
||||||
|
- Prevent tox from using a truncated interpreter when using
|
||||||
|
TOX_LIMITED_SHEBANG -- by :user:`jdknight`. #2208
|
||||||
|
- Enabled the use of the favicon in the Sphinx docs first
|
||||||
|
introduced in :pull:`764` but not integrated fully --
|
||||||
|
:user:`webknjaz` #2177
|
||||||
|
- --parallel reports now show ASCII OK/FAIL/SKIP lines when
|
||||||
|
full Unicode output is not available - by :user:`brettcs`
|
||||||
|
#1421
|
||||||
|
- Started enforcing valid references in Sphinx docs --
|
||||||
|
:user:`webknjaz` #2168
|
||||||
|
- include LC_ALL to implicit list of passenv variables - by
|
||||||
|
:user:`ssbarnea` #2162
|
||||||
|
- get_requires_for_build_sdist hook (PEP 517) is assumed to
|
||||||
|
return an empty list if left unimplemented by the backend
|
||||||
|
build system - by :user:`oczkoisse` #2130
|
||||||
|
- The documentation of install_command now also mentions that
|
||||||
|
you can provide arbitrary commands - by :user:`jugmac00`
|
||||||
|
#2081
|
||||||
|
- --devenv no longer modifies the directory in which the .tox
|
||||||
|
environment is provisioned - by :user:`isaac-ped` #2065
|
||||||
|
- Fix show config when the package names are not in canonical
|
||||||
|
form - by :user:`gaborbernat`. #2103
|
||||||
|
- Extended environment variables section - by :user:`majiang`
|
||||||
|
#2036
|
||||||
|
- tox no longer shows deprecation warnings for
|
||||||
|
distutils.sysconfig on Python 3.10 - by :user:`9999years`
|
||||||
|
#2100
|
||||||
|
- Distinguish between normal Windows Python and MSYS2 Python
|
||||||
|
when looking for virtualenv executable path. Adds os.sep to
|
||||||
|
:class:`~tox.interpreters.InterpreterInfo` - by
|
||||||
|
:user:`jschwartzentruber` #1982
|
||||||
|
- Fix a tox-conda isolation build bug - by :user:`AntoineD`.
|
||||||
|
#2056
|
||||||
|
- Update examples in the documentation to use setenv in the
|
||||||
|
[testenv] sections, not wrongly in the [tox] main section.
|
||||||
|
- by :user:`AndreyNautilus` #1999
|
||||||
|
- Enable building tox with setuptools_scm 6+ by :user:`hroncok`
|
||||||
|
#1984
|
||||||
|
- tox can now be invoked with a new --no-provision flag that
|
||||||
|
prevents provision, if :conf:`requires` or :conf:`minversion`
|
||||||
|
are not satisfied, tox will fail; if a path is specified as
|
||||||
|
an argument to the flag (e.g. as tox --no-provision
|
||||||
|
missing.json) and provision is prevented, provision metadata
|
||||||
|
are written as JSON to that path - by :user:`hroncok` #1921
|
||||||
|
- Unicode support in pyproject.toml - by :user:`domdfcoding`
|
||||||
|
#1940
|
||||||
|
- The value of the :conf:`requires` configuration option is now
|
||||||
|
exposed via the :class:`tox.config.Config` object - by
|
||||||
|
:user:`hroncok` #1918
|
||||||
|
- Adapt tests not to assume the easy_install command exists, as
|
||||||
|
it was removed from setuptools 52.0.0+ - by :user:`hroncok`
|
||||||
|
#1893
|
||||||
|
- Fix a killed tox (via SIGTERM) leaving the commands
|
||||||
|
subprocesses running by handling it as if it were
|
||||||
|
a KeyboardInterrupt - by :user:`dajose` #1772
|
||||||
|
- Newer coverage tools update the COV_CORE_CONTEXT environment
|
||||||
|
variable, add it to the list of environment variables that
|
||||||
|
can change in our pytest plugin - by :user:`gaborbernat`.
|
||||||
|
#1854
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 22 11:44:36 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Mon Feb 22 11:44:36 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -19,17 +19,20 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: python-tox
|
Name: python-tox
|
||||||
Version: 3.21.1
|
Version: 3.24.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Virtualenv-based automation of test activities
|
Summary: Virtualenv-based automation of test activities
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/tox-dev/tox
|
URL: https://github.com/tox-dev/tox
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module backports.entry_points_selectable >= 1.0.4}
|
||||||
BuildRequires: %{python_module filelock >= 3.0.0}
|
BuildRequires: %{python_module filelock >= 3.0.0}
|
||||||
BuildRequires: %{python_module packaging >= 14}
|
BuildRequires: %{python_module packaging >= 14}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pluggy >= 0.12.0}
|
BuildRequires: %{python_module pluggy >= 0.12.0}
|
||||||
|
BuildRequires: %{python_module poetry-core}
|
||||||
BuildRequires: %{python_module py >= 1.4.17}
|
BuildRequires: %{python_module py >= 1.4.17}
|
||||||
|
BuildRequires: %{python_module pytoml >= 0.1}
|
||||||
BuildRequires: %{python_module setuptools >= 41.0.1}
|
BuildRequires: %{python_module setuptools >= 41.0.1}
|
||||||
BuildRequires: %{python_module setuptools_scm >= 2.0.0}
|
BuildRequires: %{python_module setuptools_scm >= 2.0.0}
|
||||||
BuildRequires: %{python_module six >= 1.14.0}
|
BuildRequires: %{python_module six >= 1.14.0}
|
||||||
@ -41,6 +44,7 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: (python3-importlib-metadata >= 0.12 if python3-base < 3.8)
|
BuildRequires: (python3-importlib-metadata >= 0.12 if python3-base < 3.8)
|
||||||
BuildRequires: (python36-importlib-metadata >= 0.12 if python36-base)
|
BuildRequires: (python36-importlib-metadata >= 0.12 if python36-base)
|
||||||
|
Requires: python-backports.entry_points_selectable >= 1.0.4
|
||||||
Requires: python-filelock >= 3.0.0
|
Requires: python-filelock >= 3.0.0
|
||||||
Requires: python-packaging >= 14
|
Requires: python-packaging >= 14
|
||||||
Requires: python-pip
|
Requires: python-pip
|
||||||
@ -49,11 +53,9 @@ Requires: python-py >= 1.4.17
|
|||||||
Requires: python-six >= 1.14.0
|
Requires: python-six >= 1.14.0
|
||||||
Requires: python-toml >= 0.9.4
|
Requires: python-toml >= 0.9.4
|
||||||
Requires: python-virtualenv >= 20.0.8
|
Requires: python-virtualenv >= 20.0.8
|
||||||
%if 0%{?python_version_nodots} < 38
|
Requires: (python-importlib-metadata >= 0.12 if python3-base < 3.8)
|
||||||
Requires: python-importlib-metadata >= 0.12
|
|
||||||
%endif
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
# last detox version is 0.19
|
# last detox version is 0.19
|
||||||
Obsoletes: python-detox <= 0.19
|
Obsoletes: python-detox <= 0.19
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -64,6 +66,7 @@ BuildRequires: %{python_module freezegun >= 0.3.11}
|
|||||||
BuildRequires: %{python_module psutil >= 5.6.1}
|
BuildRequires: %{python_module psutil >= 5.6.1}
|
||||||
BuildRequires: %{python_module pytest >= 4.0.0}
|
BuildRequires: %{python_module pytest >= 4.0.0}
|
||||||
BuildRequires: %{python_module pytest-mock >= 1.10.0}
|
BuildRequires: %{python_module pytest-mock >= 1.10.0}
|
||||||
|
BuildRequires: %{python_module pytest-randomly >= 1.0.0}
|
||||||
BuildRequires: %{python_module pytest-xdist >= 1.22.2}
|
BuildRequires: %{python_module pytest-xdist >= 1.22.2}
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
BuildRequires: python-pathlib2 >= 2.3.3
|
BuildRequires: python-pathlib2 >= 2.3.3
|
||||||
@ -128,11 +131,13 @@ export LANG=en_US.UTF8
|
|||||||
# Upstream suggests to provide them manually to avoid downloading, but with indirect dependencies the number of
|
# Upstream suggests to provide them manually to avoid downloading, but with indirect dependencies the number of
|
||||||
# wheels is too large. Plus, defining PIP_NO_INDEX PIP_FIND_LINKS as suggested will be deprecated in a future
|
# wheels is too large. Plus, defining PIP_NO_INDEX PIP_FIND_LINKS as suggested will be deprecated in a future
|
||||||
# pip and it does not propagate to the test calling pip themselves without patching.
|
# pip and it does not propagate to the test calling pip themselves without patching.
|
||||||
|
# enscons are not packaged
|
||||||
donttest+=" or test_provision_missing or test_provision_interrupt_child or test_provision_from_pyvenv"
|
donttest+=" or test_provision_missing or test_provision_interrupt_child or test_provision_from_pyvenv"
|
||||||
donttest+=" or test_provision_cli_args_ignore or test_provision_non_canonical_dep"
|
donttest+=" or test_provision_cli_args_ignore or test_provision_non_canonical_dep"
|
||||||
donttest+=" or test_test_usedevelop"
|
donttest+=" or test_test_usedevelop"
|
||||||
donttest+=" or test_different_config_cwd"
|
donttest+=" or test_different_config_cwd"
|
||||||
donttest+=" or test_toxuone_env"
|
donttest+=" or test_toxuone_env"
|
||||||
|
donttest+=" or test_isolated_build_backend_missing_hook"
|
||||||
donttest+=" or test_parallel_live or (test_parallel and not test_parallel_)"
|
donttest+=" or test_parallel_live or (test_parallel and not test_parallel_)"
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
# wants to install pathlib2 wheel on python2
|
# wants to install pathlib2 wheel on python2
|
||||||
@ -142,7 +147,7 @@ donttest+=" or test_build_backend_without_submodule"
|
|||||||
%{python_expand # tests expect an active virtualenv with a clean python name as sys.executable
|
%{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}
|
virtualenv-%{$python_bin_suffix} --system-site-packages testenv-%{$python_bin_suffix}
|
||||||
source testenv-%{$python_bin_suffix}/bin/activate
|
source testenv-%{$python_bin_suffix}/bin/activate
|
||||||
pip install ./build/tox*.whl
|
pip install --no-deps ./build/tox*.whl
|
||||||
python -B -m pytest -v -m "not network" -k "not (${donttest:4})" -n auto
|
python -B -m pytest -v -m "not network" -k "not (${donttest:4})" -n auto
|
||||||
deactivate
|
deactivate
|
||||||
}
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:31379f2662393034203c5d6b2ebb7b86c67452cfc689784475c1c6e4a3cbc0cd
|
|
||||||
size 311155
|
|
3
tox-3.24.4.tar.gz
Normal file
3
tox-3.24.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c30b57fa2477f1fb7c36aa1d83292d5c2336cd0018119e1b1c17340e2c2708ca
|
||||||
|
size 316762
|
Loading…
x
Reference in New Issue
Block a user