Hello community, here is the log from the commit of package python3-tox for openSUSE:Factory checked in at 2015-03-27 09:41:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-02-27 11:00:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-tox.new/python3-tox.changes 2015-03-27 09:41:10.000000000 +0100 @@ -1,0 +2,20 @@ +Wed Mar 25 22:44:35 UTC 2015 - [email protected] + +- specfile: + * updated patch (line number change and removal of + tests/test_z_cmdline.py) + +- update to version 1.9.2: + * backout ability that --force-deps substitutes name/versions in + requirement files due to various issues. This fixes issue228, + fixes issue230, fixes issue231 which popped up with 1.9.1. + +- changes from versrion 1.9.1: + * use a file instead of a pipe for command output in + "--result-json". Fixes some termination issues with python2.6. + * allow --force-deps to override dependencies in "-r" requirements + files. Thanks Sontek for the PR. + * fix issue227: use "-m virtualenv" instead of "-mvirtualenv" to + make it work with pyrun. Thanks Marc-Andre Lemburg. + +------------------------------------------------------------------- Old: ---- tox-1.9.0.tar.gz New: ---- tox-1.9.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-tox.spec ++++++ --- /var/tmp/diff_new_pack.KaJJJo/_old 2015-03-27 09:41:10.000000000 +0100 +++ /var/tmp/diff_new_pack.KaJJJo/_new 2015-03-27 09:41:10.000000000 +0100 @@ -17,7 +17,7 @@ Name: python3-tox -Version: 1.9.0 +Version: 1.9.2 Release: 0 Summary: Virtualenv-based automation of test activities License: MIT ++++++ tox-1.9.0.tar.gz -> tox-1.9.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/CHANGELOG new/tox-1.9.2/CHANGELOG --- old/tox-1.9.0/CHANGELOG 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/CHANGELOG 2015-03-23 21:43:39.000000000 +0100 @@ -1,3 +1,24 @@ +1.9.2 +----------- + +- backout ability that --force-deps substitutes name/versions in + requirement files due to various issues. + This fixes issue228, fixes issue230, fixes issue231 + which popped up with 1.9.1. + +1.9.1 +----------- + +- use a file instead of a pipe for command output in "--result-json". + Fixes some termination issues with python2.6. + +- allow --force-deps to override dependencies in "-r" requirements + files. Thanks Sontek for the PR. + +- fix issue227: use "-m virtualenv" instead of "-mvirtualenv" to make + it work with pyrun. Thanks Marc-Andre Lemburg. + + 1.9.0 ----------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/PKG-INFO new/tox-1.9.2/PKG-INFO --- old/tox-1.9.0/PKG-INFO 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/PKG-INFO 2015-03-23 21:43:40.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tox -Version: 1.9.0 +Version: 1.9.2 Summary: virtualenv-based automation of test activities Home-page: http://tox.testrun.org/ Author: holger krekel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/doc/announce/release-1.9.txt new/tox-1.9.2/doc/announce/release-1.9.txt --- old/tox-1.9.0/doc/announce/release-1.9.txt 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/doc/announce/release-1.9.txt 2015-03-23 21:43:39.000000000 +0100 @@ -1,9 +1,16 @@ -tox 1.9: refinements, fixes -============================================================================= +tox-1.9: refinements, fixes (+detox-0.9.4) +========================================== -This is a maintenance release of tox with a few backward-compatible -enhancements. Thanks to Alexander Schepanosvki, Florian Schulze -and others for the contributed fixes and improvements. +tox-1.9 was released to pypi, a maintenance release with mostly +backward-compatible enhancements and fixes. However, tox now defaults +to pip-installing only non-development releases and you have to set "pip_pre = +True" in your testenv section to have it install development ("pre") releases. + +In addition, there is a new detox-0.9.4 out which allow to run tox test +environments in parallel and fixes a compat problem with eventlet. + +Thanks to Alexander Schepanosvki, Florian Schulze and others for the +contributed fixes and improvements. More documentation about tox in general: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/setup.py new/tox-1.9.2/setup.py --- old/tox-1.9.0/setup.py 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/setup.py 2015-03-23 21:43:39.000000000 +0100 @@ -26,7 +26,7 @@ description='virtualenv-based automation of test activities', long_description=open("README.rst").read(), url='http://tox.testrun.org/', - version='1.9.0', + version='1.9.2', license='http://opensource.org/licenses/MIT', platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], author='holger krekel', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/tests/test_venv.py new/tox-1.9.2/tests/test_venv.py --- old/tox-1.9.0/tests/test_venv.py 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/tests/test_venv.py 2015-03-23 21:43:39.000000000 +0100 @@ -55,7 +55,7 @@ l = mocksession._pcalls assert len(l) >= 1 args = l[0].args - assert "virtualenv" in str(args[1]) + assert "virtualenv" == str(args[2]) if sys.platform != "win32": # realpath is needed for stuff like the debian symlinks assert py.path.local(sys.executable).realpath() \ @@ -347,7 +347,7 @@ l = mocksession._pcalls assert len(l) == 1 args = l[0].args - assert str(args[1]).endswith('virtualenv') + assert str(args[2]) == 'virtualenv' l[:] = [] action = mocksession.newaction(venv, "hello") venv._install(["hello"], action=action) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/tests/test_z_cmdline.py new/tox-1.9.2/tests/test_z_cmdline.py --- old/tox-1.9.0/tests/test_z_cmdline.py 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/tests/test_z_cmdline.py 2015-03-23 21:43:39.000000000 +0100 @@ -598,7 +598,7 @@ def test_separate_sdist_no_sdistfile(cmd, initproj): distshare = cmd.tmpdir.join("distshare") - initproj("pkg123-0.7", filedefs={ + initproj(("pkg123-foo", "0.7"), filedefs={ 'tox.ini': """ [tox] distshare=%s @@ -609,7 +609,7 @@ l = distshare.listdir() assert len(l) == 1 sdistfile = l[0] - assert 'pkg123-0.7.zip' in str(sdistfile) + assert 'pkg123-foo-0.7.zip' in str(sdistfile) def test_separate_sdist(cmd, initproj): distshare = cmd.tmpdir.join("distshare") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/tox/__init__.py new/tox-1.9.2/tox/__init__.py --- old/tox-1.9.0/tox/__init__.py 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/tox/__init__.py 2015-03-23 21:43:39.000000000 +0100 @@ -1,5 +1,5 @@ # -__version__ = '1.9.0' +__version__ = '1.9.2' class exception: class Error(Exception): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/tox/_cmdline.py new/tox-1.9.2/tox/_cmdline.py --- old/tox-1.9.0/tox/_cmdline.py 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/tox/_cmdline.py 2015-03-23 21:43:39.000000000 +0100 @@ -11,7 +11,6 @@ import os import sys import subprocess -import time from tox._verlib import NormalizedVersion, IrrationalVersionError from tox._venv import VirtualEnv from tox._config import parseconfig @@ -83,15 +82,14 @@ stdout = outpath = None resultjson = self.session.config.option.resultjson if resultjson or redirect: - f = self._initlogpath(self.id) - f.write("actionid=%s\nmsg=%s\ncmdargs=%r\nenv=%s\n" %( + fout = self._initlogpath(self.id) + fout.write("actionid=%s\nmsg=%s\ncmdargs=%r\nenv=%s\n" %( self.id, self.msg, args, env)) - f.flush() - self.popen_outpath = outpath = py.path.local(f.name) - if resultjson: - stdout = subprocess.PIPE - else: - stdout = f + fout.flush() + self.popen_outpath = outpath = py.path.local(fout.name) + fin = outpath.open() + fin.read() # read the header, so it won't be written to stdout + stdout = fout elif returnout: stdout = subprocess.PIPE if cwd is None: @@ -115,23 +113,28 @@ if resultjson and not redirect: assert popen.stderr is None # prevent deadlock out = None - last_time = time.time() + last_time = now() while 1: + fin_pos = fin.tell() # we have to read one byte at a time, otherwise there # might be no output for a long time with slow tests - data = popen.stdout.read(1) + data = fin.read(1) if data: sys.stdout.write(data) - if '\n' in data or (time.time() - last_time) > 5: - # we flush on newlines or after 5 seconds to + if '\n' in data or (now() - last_time) > 1: + # we flush on newlines or after 1 second to # provide quick enough feedback to the user # when printing a dot per test sys.stdout.flush() - last_time = time.time() - f.write(data) + last_time = now() elif popen.poll() is not None: - popen.stdout.close() + if popen.stdout is not None: + popen.stdout.close() break + else: + py.std.time.sleep(0.1) + fin.seek(fin_pos) + fin.close() else: out, err = popen.communicate() except KeyboardInterrupt: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/tox/_pytestplugin.py new/tox-1.9.2/tox/_pytestplugin.py --- old/tox-1.9.0/tox/_pytestplugin.py 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/tox/_pytestplugin.py 2015-03-23 21:43:39.000000000 +0100 @@ -2,7 +2,7 @@ import tox import os import sys -from py.builtin import print_ +from py.builtin import _isbytes, _istext, print_ from fnmatch import fnmatch import time from tox._config import parseconfig @@ -263,13 +263,16 @@ @pytest.fixture def initproj(request, tmpdir): """ create a factory function for creating example projects. """ - def initproj(name, filedefs=None): + def initproj(nameversion, filedefs=None): if filedefs is None: filedefs = {} - parts = name.split("-") - if len(parts) == 1: - parts.append("0.1") - name, version = parts + if _istext(nameversion) or _isbytes(nameversion): + parts = nameversion.split("-") + if len(parts) == 1: + parts.append("0.1") + name, version = parts + else: + name, version = nameversion base = tmpdir.ensure(name, dir=1) create_files(base, filedefs) if 'setup.py' not in filedefs: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/tox/_venv.py new/tox-1.9.2/tox/_venv.py --- old/tox-1.9.0/tox/_venv.py 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/tox/_venv.py 2015-03-23 21:43:39.000000000 +0100 @@ -178,7 +178,7 @@ action = self.session.newaction(self, "create") config_interpreter = self.getsupportedinterpreter() - args = [sys.executable, '-mvirtualenv'] + args = [sys.executable, '-m', 'virtualenv'] if self.envconfig.distribute: args.append("--distribute") else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-1.9.0/tox.egg-info/PKG-INFO new/tox-1.9.2/tox.egg-info/PKG-INFO --- old/tox-1.9.0/tox.egg-info/PKG-INFO 2015-02-24 16:20:48.000000000 +0100 +++ new/tox-1.9.2/tox.egg-info/PKG-INFO 2015-03-23 21:43:39.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tox -Version: 1.9.0 +Version: 1.9.2 Summary: virtualenv-based automation of test activities Home-page: http://tox.testrun.org/ Author: holger krekel ++++++ tox-disable-env-tests.patch ++++++ --- /var/tmp/diff_new_pack.KaJJJo/_old 2015-03-27 09:41:11.000000000 +0100 +++ /var/tmp/diff_new_pack.KaJJJo/_new 2015-03-27 09:41:11.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 -@@ -1288,83 +1288,6 @@ +@@ -1346,83 +1346,6 @@ config = newconfig([], inisource) assert config.envconfigs['hello'].recreate @@ -88,7 +88,7 @@ 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 -@@ -498,33 +498,6 @@ +@@ -517,33 +517,6 @@ assert 'PIP_REQUIRE_VIRTUALENV' not in os.environ assert '__PYVENV_LAUNCHER__' not in os.environ @@ -726,7 +726,7 @@ - -def test_separate_sdist_no_sdistfile(cmd, initproj): - distshare = cmd.tmpdir.join("distshare") -- initproj("pkg123-0.7", filedefs={ +- initproj(("pkg123-foo", "0.7"), filedefs={ - 'tox.ini': """ - [tox] - distshare=%s @@ -737,7 +737,7 @@ - l = distshare.listdir() - assert len(l) == 1 - sdistfile = l[0] -- assert 'pkg123-0.7.zip' in str(sdistfile) +- assert 'pkg123-foo-0.7.zip' in str(sdistfile) - -def test_separate_sdist(cmd, initproj): - distshare = cmd.tmpdir.join("distshare") -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
