Hello community, here is the log from the commit of package python-tox for openSUSE:Factory checked in at 2020-04-22 20:42:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tox (Old) and /work/SRC/openSUSE:Factory/.python-tox.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tox" Wed Apr 22 20:42:19 2020 rev:33 rq:794895 version:3.14.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tox/python-tox.changes 2020-03-27 00:27:49.960333857 +0100 +++ /work/SRC/openSUSE:Factory/.python-tox.new.2738/python-tox.changes 2020-04-22 20:42:22.086144262 +0200 @@ -1,0 +2,10 @@ +Fri Apr 17 11:43:16 UTC 2020 - [email protected] + +- version update to 3.14.6 + - Exclude virtualenv depencency versions with known + regressions (20.0.[0-7]) - by :user:`webknjaz`. + `#1537 <https://github.com/tox-dev/tox/issues/1537>`_ + - Fix ``tox -h`` and ``tox --hi`` shows an error when run outside a directory with tox support files by :user:`nkpro2000sr`. + `#1539 <https://github.com/tox-dev/tox/issues/1539>`_ + +------------------------------------------------------------------- Old: ---- tox-3.14.5.tar.gz New: ---- tox-3.14.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tox.spec ++++++ --- /var/tmp/diff_new_pack.DePLSa/_old 2020-04-22 20:42:23.958147927 +0200 +++ /var/tmp/diff_new_pack.DePLSa/_new 2020-04-22 20:42:23.962147934 +0200 @@ -19,13 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-tox -Version: 3.14.5 +Version: 3.14.6 Release: 0 Summary: Virtualenv-based automation of test activities License: MIT 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 filelock >= 3.0.0} BuildRequires: %{python_module flaky >= 3.4.0} BuildRequires: %{python_module freezegun >= 0.3.11} BuildRequires: %{python_module importlib-metadata >= 0.12} @@ -49,7 +49,7 @@ BuildRequires: python-base BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-filelock +Requires: python-filelock >= 3.0.0 Requires: python-importlib-metadata >= 0.12 Requires: python-packaging >= 17.1 Requires: python-pluggy >= 0.12.0 ++++++ tox-3.14.5.tar.gz -> tox-3.14.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/CONTRIBUTORS new/tox-3.14.6/CONTRIBUTORS --- old/tox-3.14.5/CONTRIBUTORS 2020-02-17 01:21:11.000000000 +0100 +++ new/tox-3.14.6/CONTRIBUTORS 2020-03-25 11:34:35.000000000 +0100 @@ -6,6 +6,7 @@ Andrii Soldatenko Anthon van der Neuth Anthony Sottile +Anudit Nagar Ashley Whetter Asmund Grammeltwedt Barney Gale @@ -64,6 +65,7 @@ Miro Hrončok Monty Taylor Morgan Fainberg +Naveen S R Nick Douma Nick Prendergast Oliver Bestwalter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/PKG-INFO new/tox-3.14.6/PKG-INFO --- old/tox-3.14.5/PKG-INFO 2020-02-17 01:21:23.831395600 +0100 +++ new/tox-3.14.6/PKG-INFO 2020-03-25 11:34:46.534127700 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tox -Version: 3.14.5 +Version: 3.14.6 Summary: tox is a generic virtualenv management and test command line tool Home-page: http://tox.readthedocs.org Author: Holger Krekel, Oliver Bestwalter, Bernát Gábor and others diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/docs/changelog/1343.bug.rst new/tox-3.14.6/docs/changelog/1343.bug.rst --- old/tox-3.14.5/docs/changelog/1343.bug.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/tox-3.14.6/docs/changelog/1343.bug.rst 2020-03-25 11:34:35.000000000 +0100 @@ -0,0 +1 @@ +Fix ValueError on ``tox -l`` for a ``tox.ini`` file that does not contain an ``envlist`` definition. - by :user:`jquast` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/docs/changelog.rst new/tox-3.14.6/docs/changelog.rst --- old/tox-3.14.5/docs/changelog.rst 2020-02-17 01:21:11.000000000 +0100 +++ new/tox-3.14.6/docs/changelog.rst 2020-03-25 11:34:35.000000000 +0100 @@ -11,6 +11,19 @@ .. towncrier release notes start +v3.14.6 (2020-03-25) +-------------------- + +Bugfixes +^^^^^^^^ + +- Exclude virtualenv depencency versions with known + regressions (20.0.[0-7]) - by :user:`webknjaz`. + `#1537 <https://github.com/tox-dev/tox/issues/1537>`_ +- Fix ``tox -h`` and ``tox --hi`` shows an error when run outside a directory with tox support files by :user:`nkpro2000sr`. + `#1539 <https://github.com/tox-dev/tox/issues/1539>`_ + + v3.14.5 (2020-02-16) -------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/setup.cfg new/tox-3.14.6/setup.cfg --- old/tox-3.14.5/setup.cfg 2020-02-17 01:21:23.831395600 +0100 +++ new/tox-3.14.6/setup.cfg 2020-03-25 11:34:46.534127700 +0100 @@ -42,7 +42,7 @@ pluggy >= 0.12.0, <1 py >= 1.4.17, <2 six >= 1.14.0, <2 # required when virtualenv>=20 - virtualenv >= 16.0.0 + virtualenv >= 16.0.0, !=20.0.0, !=20.0.1, !=20.0.2, !=20.0.3, !=20.0.4, !=20.0.5, !=20.0.6, !=20.0.7 toml >=0.9.4 filelock >= 3.0.0, <4 colorama >= 0.4.1 ;platform_system=="Windows" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/src/tox/config/__init__.py new/tox-3.14.6/src/tox/config/__init__.py --- old/tox-3.14.5/src/tox/config/__init__.py 2020-02-17 01:21:11.000000000 +0100 +++ new/tox-3.14.6/src/tox/config/__init__.py 2020-03-25 11:34:35.000000000 +0100 @@ -270,6 +270,8 @@ pm.hook.tox_configure(config=config) # post process config object break else: + if option.help or option.helpini: + return config msg = "tox config file (either {}) not found" candidates = ", ".join(INFO.CONFIG_CANDIDATES) feedback(msg.format(candidates), sysexit=not (option.help or option.helpini)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/src/tox/session/commands/show_env.py new/tox-3.14.6/src/tox/session/commands/show_env.py --- old/tox-3.14.5/src/tox/session/commands/show_env.py 2020-02-17 01:21:11.000000000 +0100 +++ new/tox-3.14.6/src/tox/session/commands/show_env.py 2020-03-25 11:34:35.000000000 +0100 @@ -11,7 +11,7 @@ if description and default: report.line("default environments:") - max_length = max(len(env) for env in (default + extra)) + max_length = max(len(env) for env in (default + extra) or [""]) def report_env(e): if description: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/src/tox/version.py new/tox-3.14.6/src/tox/version.py --- old/tox-3.14.5/src/tox/version.py 2020-02-17 01:21:23.000000000 +0100 +++ new/tox-3.14.6/src/tox/version.py 2020-03-25 11:34:46.000000000 +0100 @@ -1,4 +1,4 @@ # coding: utf-8 from __future__ import unicode_literals -__version__ = '3.14.5' +__version__ = '3.14.6' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/src/tox.egg-info/PKG-INFO new/tox-3.14.6/src/tox.egg-info/PKG-INFO --- old/tox-3.14.5/src/tox.egg-info/PKG-INFO 2020-02-17 01:21:23.000000000 +0100 +++ new/tox-3.14.6/src/tox.egg-info/PKG-INFO 2020-03-25 11:34:46.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tox -Version: 3.14.5 +Version: 3.14.6 Summary: tox is a generic virtualenv management and test command line tool Home-page: http://tox.readthedocs.org Author: Holger Krekel, Oliver Bestwalter, Bernát Gábor and others diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/src/tox.egg-info/SOURCES.txt new/tox-3.14.6/src/tox.egg-info/SOURCES.txt --- old/tox-3.14.5/src/tox.egg-info/SOURCES.txt 2020-02-17 01:21:23.000000000 +0100 +++ new/tox-3.14.6/src/tox.egg-info/SOURCES.txt 2020-03-25 11:34:46.000000000 +0100 @@ -35,6 +35,7 @@ docs/_templates/localtoc.html docs/announce/changelog-only.rst docs/changelog/.gitkeep +docs/changelog/1343.bug.rst docs/changelog/README.rst docs/changelog/template.jinja2 docs/drafts/extend-envs-and-packagebuilds.md diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/src/tox.egg-info/requires.txt new/tox-3.14.6/src/tox.egg-info/requires.txt --- old/tox-3.14.5/src/tox.egg-info/requires.txt 2020-02-17 01:21:23.000000000 +0100 +++ new/tox-3.14.6/src/tox.egg-info/requires.txt 2020-03-25 11:34:46.000000000 +0100 @@ -2,7 +2,7 @@ pluggy<1,>=0.12.0 py<2,>=1.4.17 six<2,>=1.14.0 -virtualenv>=16.0.0 +virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 toml>=0.9.4 filelock<4,>=3.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/tests/unit/session/test_list_env.py new/tox-3.14.6/tests/unit/session/test_list_env.py --- old/tox-3.14.5/tests/unit/session/test_list_env.py 2020-02-17 01:21:11.000000000 +0100 +++ new/tox-3.14.6/tests/unit/session/test_list_env.py 2020-03-25 11:34:35.000000000 +0100 @@ -216,3 +216,13 @@ result = cmd("-a") expected = ["py36", "a", "b"] assert result.outlines == expected + + +def test_listenvs_without_default_envs(cmd, initproj): + """When running tox -l without any default envirinments, nothing happens.""" + initproj( + "logsnada", filedefs={"tox.ini": ""}, + ) + result = cmd("-l") + assert result.ret == 0 + assert result.out == "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/tests/unit/test_result.py new/tox-3.14.6/tests/unit/test_result.py --- old/tox-3.14.5/tests/unit/test_result.py 2020-02-17 01:21:11.000000000 +0100 +++ new/tox-3.14.6/tests/unit/test_result.py 2020-03-25 11:34:35.000000000 +0100 @@ -88,7 +88,7 @@ elif exit_code == -15: assert "(exited with code -15 (SIGTERM))" in result else: - assert "(exited with code %d)" % exit_code in result + assert "(exited with code {})".format(exit_code) in result note = "Note: this might indicate a fatal error signal" if (os_name == "posix") and (exit_code == 128 + signal.SIGTERM): assert note in result diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/tests/unit/test_z_cmdline.py new/tox-3.14.6/tests/unit/test_z_cmdline.py --- old/tox-3.14.5/tests/unit/test_z_cmdline.py 2020-02-17 01:21:11.000000000 +0100 +++ new/tox-3.14.6/tests/unit/test_z_cmdline.py 2020-03-25 11:34:35.000000000 +0100 @@ -84,13 +84,18 @@ def test_notoxini_help_still_works(initproj, cmd): initproj("example123-0.5", filedefs={"tests": {"test_hello.py": "def test_hello(): pass"}}) result = cmd("-h") - msg = "ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found\n" - assert result.err == msg assert result.out.startswith("usage: ") assert any("--help" in l for l in result.outlines), result.outlines result.assert_success(is_run_test_env=False) +def test_notoxini_noerror_in_help(initproj, cmd): + initproj("examplepro", filedefs={}) + result = cmd("-h") + msg = "ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found\n" + assert result.err != msg + + def test_notoxini_help_ini_still_works(initproj, cmd): initproj("example123-0.5", filedefs={"tests": {"test_hello.py": "def test_hello(): pass"}}) result = cmd("--help-ini") @@ -98,6 +103,13 @@ result.assert_success(is_run_test_env=False) +def test_notoxini_noerror_in_help_ini(initproj, cmd): + initproj("examplepro", filedefs={}) + result = cmd("--help-ini") + msg = "ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found\n" + assert result.err != msg + + def test_envdir_equals_toxini_errors_out(cmd, initproj): initproj( "interp123-0.7", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.14.5/tox.ini new/tox-3.14.6/tox.ini --- old/tox-3.14.5/tox.ini 2020-02-17 01:21:11.000000000 +0100 +++ new/tox-3.14.6/tox.ini 2020-03-25 11:34:35.000000000 +0100 @@ -29,7 +29,8 @@ SSL_CERT_FILE PYTEST_* PIP_CACHE_DIR -deps = pip >= 19.3.1 +deps = + pip >= 19.3.1 extras = testing commands = pytest \ --cov "{envsitepackagesdir}/tox" \ @@ -38,6 +39,11 @@ -n={env:PYTEST_XDIST_PROC_NR:auto} \ {posargs:.} +[testenv:pypy] +deps = + pip >= 19.3.1 + psutil <= 5.6.7 + [testenv:docs] description = invoke sphinx-build to build the HTML docs basepython = python3.8
