SHA256
1
0
forked from pool/python-tox

Accepting request 731289 from devel:languages:python

- Update to 3.14.0:
  * Fix PythonSpec detection of python3.10
  * Fix regression failing to detect future and past py## factors
  * Fix current_tox_py for pypy / pypy3
  * Add support for minor versions with multiple digits
  * Remove dependence on md5 hashing algorithm
  * on venv cleanup: add explicit check for pypy venv to make it possible to recreate it 
  * Fix isolated build double-requirement
  * Replace pkg_resources with importlib_metadata for speed

OBS-URL: https://build.opensuse.org/request/show/731289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tox?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2019-09-23 10:18:09 +00:00 committed by Git OBS Bridge
commit e52cb3e2e7
4 changed files with 27 additions and 18 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Sep 16 13:06:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.14.0:
* Fix PythonSpec detection of python3.10
* Fix regression failing to detect future and past py## factors
* Fix current_tox_py for pypy / pypy3
* Add support for minor versions with multiple digits
* Remove dependence on md5 hashing algorithm
* on venv cleanup: add explicit check for pypy venv to make it possible to recreate it
* Fix isolated build double-requirement
* Replace pkg_resources with importlib_metadata for speed
-------------------------------------------------------------------
Fri May 24 11:40:04 CEST 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -16,14 +16,9 @@
#
%{?!pyproject_wheel:%define pyproject_wheel %python_expand $python -mpip wheel --no-deps %{?py_setup_args:--build-option %{py_setup_args}} --use-pep517 --no-build-isolation --progress-bar off --verbose .}
# No such option: --strip-file-prefix %%{buildroot}
%{?!pyproject_install:%define pyproject_install %python_expand $python -mpip install --root %{buildroot} --no-deps --progress-bar off *.whl}
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-tox
Version: 3.12.1
Version: 3.14.0
Release: 0
Summary: Virtualenv-based automation of test activities
License: MIT
@ -31,16 +26,16 @@ Group: Development/Languages/Python
URL: https://github.com/tox-dev/tox
Source: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
BuildRequires: %{python_module filelock}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pathlib2}
BuildRequires: %{python_module flaky >= 3.4.0}
BuildRequires: %{python_module freezegun >= 0.3.11}
BuildRequires: %{python_module importlib-metadata >= 0.12}
BuildRequires: %{python_module pathlib2 >= 2.3.3}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pluggy >= 0.3.0}
BuildRequires: %{python_module pluggy >= 0.12.0}
BuildRequires: %{python_module py >= 1.4.17}
BuildRequires: %{python_module pytest >= 3.0.0}
BuildRequires: %{python_module pytest >= 4.0.0}
BuildRequires: %{python_module pytest-cov >= 2.5.1}
BuildRequires: %{python_module pytest-mock >= 1.10.0}
BuildRequires: %{python_module pytest-timeout >= 1.3.0}
BuildRequires: %{python_module pytest-xdist >= 1.22.2}
BuildRequires: %{python_module setuptools >= 41.0.1}
BuildRequires: %{python_module setuptools_scm >= 2.0.0}
@ -52,8 +47,9 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-filelock
Requires: python-importlib-metadata >= 0.12
Requires: python-packaging >= 17.1
Requires: python-pluggy >= 0.3.0
Requires: python-pluggy >= 0.12.0
Requires: python-py >= 1.4.17
Requires: python-setuptools >= 30.0.0
Requires: python-six >= 1.0.0
@ -61,11 +57,11 @@ Requires: python-toml >= 0.9.4
Requires: python-virtualenv >= 14.0.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
Obsoletes: python-detox
BuildArch: noarch
%ifpython3
Provides: tox = %{version}
%endif
Obsoletes: python-detox
%python_subpackages
%description
@ -125,7 +121,7 @@ done
export PYTHONDONTWRITEBYTECODE=1
export PATH=%{buildroot}%{_bindir}:$PATH
# Ignores for gh#tox-dev/tox#1293
%pytest -k 'not (network or parallel or test_provision_missing or test_provision_interrupt_child or test_workdir_gets_resolved or test_provision_cli_args_ignore)'
%pytest -k 'not (network or parallel or test_provision_missing or test_provision_interrupt_child or test_workdir_gets_resolved or test_provision_cli_args_ignore or test_provision_non_canonical_dep)'
%post
%python_install_alternative tox tox-quickstart

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f87fd33892a2df0950e5e034def9468988b8d008c7e9416be665fcc0dd45b14f
size 287477

3
tox-3.14.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4f6b319c20ba4913dbfe71ebfd14ff95d1853c4231493608182f66e566ecfe1
size 290733