Accepting request 786809 from devel:languages:python

- Disable spinner tests as the monkeypatch changed behaviour in pytest

- version update to 3.14.5
  - Add ``--discover`` (fallback to ``TOX_DISCOVER`` environment variable via path separator) to inject python executables
    to try as first step of a discovery - note the executable still needs to match the environment by :user:`gaborbernat`.
    `#1526 <https://github.com/tox-dev/tox/issues/1526>`_
  - Bump minimal six version needed to avoid using one incompatible with newer
    virtualenv. - by :user:`ssbarnea`
    `#1519 <https://github.com/tox-dev/tox/issues/1519>`_
  - Avoid pypy test failure due to undefined printout var. - by :user:`ssbarnea`
    `#1521 <https://github.com/tox-dev/tox/issues/1521>`_

OBS-URL: https://build.opensuse.org/request/show/786809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tox?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2020-03-26 23:27:47 +00:00 committed by Git OBS Bridge
commit 3a351d45b8
4 changed files with 32 additions and 9 deletions

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Mar 20 10:30:48 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Disable spinner tests as the monkeypatch changed behaviour in pytest
-------------------------------------------------------------------
Wed Mar 11 10:28:56 UTC 2020 - pgajdos@suse.com
- version update to 3.14.5
- Add ``--discover`` (fallback to ``TOX_DISCOVER`` environment variable via path separator) to inject python executables
to try as first step of a discovery - note the executable still needs to match the environment by :user:`gaborbernat`.
`#1526 <https://github.com/tox-dev/tox/issues/1526>`_
- Bump minimal six version needed to avoid using one incompatible with newer
virtualenv. - by :user:`ssbarnea`
`#1519 <https://github.com/tox-dev/tox/issues/1519>`_
- Avoid pypy test failure due to undefined printout var. - by :user:`ssbarnea`
`#1521 <https://github.com/tox-dev/tox/issues/1521>`_
-------------------------------------------------------------------
Fri Feb 7 12:41:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -17,12 +17,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-tox
Version: 3.14.3
Version: 3.14.5
Release: 0
Summary: Virtualenv-based automation of test activities
License: MIT
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}
@ -39,11 +39,14 @@ BuildRequires: %{python_module pytest-mock >= 1.10.0}
BuildRequires: %{python_module pytest-xdist >= 1.22.2}
BuildRequires: %{python_module setuptools >= 41.0.1}
BuildRequires: %{python_module setuptools_scm >= 2.0.0}
BuildRequires: %{python_module six >= 1.0.0}
BuildRequires: %{python_module six >= 1.14.0}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module virtualenv >= 16.0.0}
BuildRequires: %{python_module wheel >= 0.29.0}
BuildRequires: fdupes
# we need python2 interpreter in tests for venv calls checks
# even on python3 variant
BuildRequires: python-base
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-filelock
@ -52,7 +55,7 @@ Requires: python-packaging >= 17.1
Requires: python-pluggy >= 0.12.0
Requires: python-py >= 1.4.17
Requires: python-setuptools >= 30.0.0
Requires: python-six >= 1.0.0
Requires: python-six >= 1.14.0
Requires: python-toml >= 0.9.4
Requires: python-virtualenv >= 16.0.0
Requires(post): update-alternatives
@ -80,7 +83,6 @@ use for:
%package -n %{name}-doc
Summary: Documentation for tox, a virtualenv-based test automation
Group: Development/Languages/Python
Recommends: %{python_module tox = %{version}}
Provides: %{python_module tox-doc = %{version}}
@ -121,7 +123,10 @@ 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 or test_provision_non_canonical_dep or test_create_KeyboardInterrupt or test_provision_from_pyvenv)'
# 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)'
%post
%python_install_alternative tox tox-quickstart

View File

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

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

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