Hello community, here is the log from the commit of package python3-tox for openSUSE:Factory checked in at 2015-02-16 22:25:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-tox (Old) and /work/SRC/openSUSE:Factory/.python3-tox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-tox" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-tox/python3-tox.changes 2014-07-11 06:45:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-tox.new/python3-tox.changes 2015-02-16 22:25:07.000000000 +0100 @@ -1,0 +2,44 @@ +Thu Jan 8 00:35:02 UTC 2015 - [email protected] + +- specfile: + * update copyright year + * update url + * updated line numbers in patch file, updated patches + +- update to version 1.8.1: + * fix issue190: allow setenv to be empty. + * allow escaping curly braces with "\". Thanks Marc Abramowitz for the PR. + * allow "." names in environment names such that "py27-django1.7" is a + valid environment name. Thanks Alex Gaynor and Alex Schepanovski. + * report subprocess exit code when execution fails. Thanks Marius + Gedminas. + +- change from version 1.8.0: + * new multi-dimensional configuration support. Many thanks to + Alexander Schepanovski for the complete PR with docs. + And to Mike Bayer and others for testing and feedback. + * fix issue148: remove "__PYVENV_LAUNCHER__" from os.environ when starting + subprocesses. Thanks Steven Myint. + * fix issue152: set VIRTUAL_ENV when running test commands, + thanks Florian Ludwig. + * better report if we can't get version_info from an interpreter + executable. Thanks Floris Bruynooghe. + +- changes from version 1.7.2: + * fix issue150: parse {posargs} more like we used to do it pre 1.7.0. + The 1.7.0 behaviour broke a lot of OpenStack projects. + See PR85 and the issue discussions for (far) more details, hopefully + resulting in a more refined behaviour in the 1.8 series. + And thanks to Clark Boylan for the PR. + * fix issue59: add a config variable ``skip-missing-interpreters`` as well as + command line option ``--skip-missing-interpreters`` which won't fail the + build if Python interpreters listed in tox.ini are missing. Thanks + Alexandre Conrad for PR104. + * fix issue164: better traceback info in case of failing test commands. + Thanks Marc Abramowitz for PR92. + * support optional env variable substitution, thanks Morgan Fainberg + for PR86. + * limit python hashseed to 1024 on Windows to prevent possible + memory errors. Thanks March Schlaich for the PR90. + +------------------------------------------------------------------- Old: ---- tox-1.7.1.tar.gz New: ---- tox-1.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-tox.spec ++++++ --- /var/tmp/diff_new_pack.HKu2Vl/_old 2015-02-16 22:25:08.000000000 +0100 +++ /var/tmp/diff_new_pack.HKu2Vl/_new 2015-02-16 22:25:08.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-tox +# spec file for package python3-tox # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: python3-tox -Version: 1.7.1 +Version: 1.8.1 Release: 0 Summary: Virtualenv-based automation of test activities License: MIT Group: Development/Languages/Python -Url: http://codespeak.net/tox +Url: https://bitbucket.org/hpk42/tox Source: http://pypi.python.org/packages/source/t/tox/tox-%{version}.tar.gz # PATCH-FIX-OPENSUSE [email protected] -- Due to update-alternative usage, some bianries aren't available at build-time Patch0: tox-disable-env-tests.patch ++++++ tox-1.7.1.tar.gz -> tox-1.8.1.tar.gz ++++++ ++++ 2096 lines of diff (skipped) ++++++ tox-disable-env-tests.patch ++++++ --- /var/tmp/diff_new_pack.HKu2Vl/_old 2015-02-16 22:25:08.000000000 +0100 +++ /var/tmp/diff_new_pack.HKu2Vl/_new 2015-02-16 22:25:08.000000000 +0100 @@ -1,7 +1,7 @@ diff -ruN a/tests/test_config.py b/tests/test_config.py --- a/tests/test_config.py 2014-03-28 15:18:52.000000000 +0100 +++ b/tests/test_config.py 2014-07-04 09:18:56.318789330 +0200 -@@ -1101,83 +1101,6 @@ +@@ -1288,83 +1288,6 @@ config = newconfig([], inisource) assert config.envconfigs['hello'].recreate @@ -88,9 +88,9 @@ diff -ruN a/tests/test_venv.py b/tests/test_venv.py --- a/tests/test_venv.py 2014-03-28 15:18:52.000000000 +0100 +++ b/tests/test_venv.py 2014-07-04 09:19:23.328881676 +0200 -@@ -489,33 +489,6 @@ - assert 'PIP_RESPECT_VIRTUALENV' not in os.environ +@@ -498,33 +498,6 @@ assert 'PIP_REQUIRE_VIRTUALENV' not in os.environ + assert '__PYVENV_LAUNCHER__' not in os.environ -def test_setenv_added_to_pcall(tmpdir, mocksession, newconfig): - pkg = tmpdir.ensure("package.tar.gz") @@ -110,11 +110,11 @@ - l = mocksession._pcalls - assert len(l) == 2 - for x in l: -- args = x.args - env = x.env - assert env is not None - assert 'ENV_VAR' in env - assert env['ENV_VAR'] == 'value' +- assert env['VIRTUAL_ENV'] == str(venv.path) - - for e in os.environ: - assert e in env @@ -125,11 +125,10 @@ diff -ruN a/tests/test_z_cmdline.py b/tests/test_z_cmdline.py --- a/tests/test_z_cmdline.py 2014-03-28 15:18:52.000000000 +0100 +++ b/tests/test_z_cmdline.py 1970-01-01 01:00:00.000000000 +0100 -@@ -1,658 +0,0 @@ +@@ -1,685 +0,0 @@ -import tox -import py -import pytest --import sys -from tox._pytestplugin import ReportExpectMock -try: - import json @@ -257,7 +256,6 @@ - }) - config = parseconfig([]) - session = Session(config) -- envlist = ['hello', 'world'] - envs = session.venvlist - assert len(envs) == 2 - env1, env2 = envs @@ -321,6 +319,19 @@ - ]) - assert result.ret - +-def test_run_custom_install_command_error(cmd, initproj): +- initproj("interp123-0.5", filedefs={ +- 'tox.ini': ''' +- [testenv] +- install_command=./tox.ini {opts} {packages} +- ''' +- }) +- result = cmd.run("tox") +- result.stdout.fnmatch_lines([ +- "ERROR: invocation failed (errno *), args: ['*/tox.ini*", +- ]) +- assert result.ret +- -def test_unknown_interpreter_and_env(cmd, initproj): - initproj("interp123-0.5", filedefs={ - 'tests': {'test_hello.py': "def test_hello(): pass"}, @@ -359,6 +370,22 @@ - "*ERROR*InterpreterNotFound*xyz_unknown_interpreter*", - ]) - +-def test_skip_unknown_interpreter(cmd, initproj): +- initproj("interp123-0.5", filedefs={ +- 'tests': {'test_hello.py': "def test_hello(): pass"}, +- 'tox.ini': ''' +- [testenv:python] +- basepython=xyz_unknown_interpreter +- [testenv] +- changedir=tests +- ''' +- }) +- result = cmd.run("tox", "--skip-missing-interpreters") +- assert not result.ret +- result.stdout.fnmatch_lines([ +- "*SKIPPED*InterpreterNotFound*xyz_unknown_interpreter*", +- ]) +- -def test_unknown_dep(cmd, initproj): - initproj("dep123-0.7", filedefs={ - 'tests': {'test_hello.py': "def test_hello(): pass"}, @@ -695,7 +722,7 @@ - result.stdout.fnmatch_lines([ - "*sdist-make*setup.py*", - ]) -- assert "virtualenv" not in result.stdout.str() +- assert "-mvirtualenv" not in result.stdout.str() - -def test_separate_sdist_no_sdistfile(cmd, initproj): - distshare = cmd.tmpdir.join("distshare") @@ -710,6 +737,7 @@ - l = distshare.listdir() - assert len(l) == 1 - sdistfile = l[0] +- assert 'pkg123-0.7.zip' in str(sdistfile) - -def test_separate_sdist(cmd, initproj): - distshare = cmd.tmpdir.join("distshare") @@ -739,7 +767,6 @@ - distshare=%s - sdistsrc={distshare}/pkg123-* - """ % distshare) -- p0 = distshare.ensure("pkg123-1.3.5.zip") - p = distshare.ensure("pkg123-1.4.5.zip") - distshare.ensure("pkg123-1.4.5a1.zip") - session = Session(config) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
