From c1858f50879f2491337375841c72ceb48720b09ab097b86ed8b280548a8858e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 14 Jan 2021 09:22:40 +0000 Subject: [PATCH] Accepting request 863000 from home:jayvdb:branches:devel:languages:python - Remove build dependency on pytest-cov - Re-enable test_create_KeyboardInterrupt and spinner tests - Update to v0.21.1 OBS-URL: https://build.opensuse.org/request/show/863000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=78 --- python-tox.changes | 48 ++++++++++++++++++++++++++++++++++++++++++++++ python-tox.spec | 10 ++++------ tox-3.18.0.tar.gz | 3 --- tox-3.21.1.tar.gz | 3 +++ 4 files changed, 55 insertions(+), 9 deletions(-) delete mode 100644 tox-3.18.0.tar.gz create mode 100644 tox-3.21.1.tar.gz diff --git a/python-tox.changes b/python-tox.changes index 18f5785..f534753 100644 --- a/python-tox.changes +++ b/python-tox.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Wed Jan 13 16:19:45 UTC 2021 - John Vandenberg + +- Remove build dependency on pytest-cov +- Re-enable test_create_KeyboardInterrupt and spinner tests +- Update to v0.21.1 + * Fix regression that broke using install_command in config + replacements + * Fix regression parsing posargs default containing colon + * Prevent .tox in envlist + * Enable building tox with ``setuptools_scm`` 4 and 5 +- from v3.21.0 + * Fix the false ``congratulations`` message that appears when + a ``KeyboardInterrupt`` occurs during package installation + * Fix ``platform`` support for ``install_command`` + * Fixed regression in v3.20.0 that caused escaped curly braces + in setenv to break usage of the variable elsewhere in tox.ini + * Prevent ``{}`` and require ``{:`` is only followed by ``}`` + * Raise ``MissingSubstitution`` on access of broken ini setting + * Allow \{ and \} in default of {env:key:default} + * Allow {posargs} in setenv + * Allow {/} to refer to os.sep + * Make parsing [testenv] sections in setup.cfg official + * Relax importlib requirement to allow 3.0.0 or any newer version + * Document more info about using ``platform`` setting + * Replace ``indexserver`` in documentation with environment + variables + * Document that the ``passenv`` environment setting is case + insensitive +- from v3.20.1 + * Relax importlib requirement to allow version<3 +- from v3.20.0 + * Allow hyphens and empty factors in generative section name + * Support for PEP517 in-tree build backend-path key in + ``get-build-requires`` + * Allow escaping curly braces in setenv + * Support for comments within ``setenv`` and environment files via + the ``files|`` prefix +- from v3.19.0 + * skip ``setup.cfg`` if it has no ``tox:tox`` namespace + * Implement support for building projects having pep 517 + (in-tree-build-backends) ``backend-path`` setting + * Don't require a tox config file for ``tox + * Fixed grammar in top-level documentation +- from v3.18.1 + * Fix ``TypeError`` when using isolated_build with backends + that are not submodules + ------------------------------------------------------------------- Thu Jul 23 13:31:13 UTC 2020 - Marketa Calabkova diff --git a/python-tox.spec b/python-tox.spec index f0e17c5..192423b 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -1,7 +1,7 @@ # # spec file for package python-tox # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-tox -Version: 3.18.0 +Version: 3.21.1 Release: 0 Summary: Virtualenv-based automation of test activities License: MIT @@ -34,7 +34,6 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module pluggy >= 0.12.0} BuildRequires: %{python_module py >= 1.4.17} 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-xdist >= 1.22.2} BuildRequires: %{python_module setuptools >= 41.0.1} @@ -124,9 +123,8 @@ export PYTHONDONTWRITEBYTECODE=1 export PATH=%{buildroot}%{_bindir}:$PATH # Ignores for gh#tox-dev/tox#1293 # test_dist_exists_version_change test_verbose_isolated_build: need python2* deps even on python3 -# test_spinner_stdout_not_unicode breaks with changes in monkeypatch in pytest -rm tests/unit/util/test_spinner.py -%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 or test_create_KeyboardInterrupt or test_provision_from_pyvenv or test_verbose_isolated_build or test_dist_exists_version_change)' +# test_build_backend_without_submodule fails on Leap +%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 or test_provision_from_pyvenv or test_verbose_isolated_build or test_dist_exists_version_change or test_build_backend_without_submodule)' %post %python_install_alternative tox tox-quickstart diff --git a/tox-3.18.0.tar.gz b/tox-3.18.0.tar.gz deleted file mode 100644 index a007fd4..0000000 --- a/tox-3.18.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f179cb4043d7dc1339425dd49ab1dd8c916246b0d9173143c1b0af7498a03ab0 -size 304036 diff --git a/tox-3.21.1.tar.gz b/tox-3.21.1.tar.gz new file mode 100644 index 0000000..bf667ed --- /dev/null +++ b/tox-3.21.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31379f2662393034203c5d6b2ebb7b86c67452cfc689784475c1c6e4a3cbc0cd +size 311155