[TIP] tox-2.3.0: bug fixes, new plugin hooks

Tres Seaver tseaver at palladion.com
Fri Dec 11 08:27:31 PST 2015


On 12/11/2015 05:00 AM, holger krekel wrote:
> 
> Just released tox-2.3.0, the python test configuration and automation tool.
> It brings some important bug fixes and more hooks related to testenvironment
> creation and installation, allowing upcoming plugins like tox-debian to add
> extra steps during installation.
> 
> I'd like to send special thanks to the Tryton foundation who organized
> some funding in order to tackle the proper fixing of a serious
> regression of tox-2.2 (see changelog below).  thanks also to David Stanek,
> Julien Castets, Nelfin for their contributions.
> 
> You'll find the current docs for tox here:
> 
>     https://testrun.org/tox/latest/
> 
> and have fun,


You may already be working on it, but this release broke my CI:

  https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/96296795

-------------------------- %< ------------------------------
...
Installing collected packages: py, tox
  Found existing installation: py 1.4.26
    Uninstalling py-1.4.26:
      Successfully uninstalled py-1.4.26
  Found existing installation: tox 2.2.1
    Uninstalling tox-2.2.1:
      Successfully uninstalled tox-2.2.1
Successfully installed py-1.4.31 tox-2.3.0
0.12s$ tox -e py26
Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.7.9/bin/tox", line 11, in <module>
    sys.exit(cmdline())
  File
"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/tox/session.py",
line 38, in main
    config = prepare(args)
  File
"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/tox/session.py",
line 26, in prepare
    config = parseconfig(args)
  File
"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/tox/config.py",
line 229, in parseconfig
    parseini(config, inipath)
  File
"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/tox/config.py",
line 729, in __init__
    self.make_envconfig(name, section, reader._subs, config)
  File
"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/tox/config.py",
line 760, in make_envconfig
    res = meth(env_attr.name, env_attr.default)
  File
"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/tox/config.py",
line 893, in getdict_setenv
    definitions = self._getdict(value, default=default, sep=sep)
  File
"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/tox/config.py",
line 904, in _getdict
    name, rest = line.split('=', 1)
ValueError: need more than 1 value to unpack
-------------------------- %< ------------------------------


Tres.
-- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com




More information about the testing-in-python mailing list