tox fail to run with latest version

Bug #1341343 reported by Michael Scherer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
New
Undecided
Unassigned

Bug Description

Using python-tox-1.7.1-1.fc21.noarch, I see the folowing whn running tox:

 $ ./run_tests.sh
Traceback (most recent call last):
  File "/usr/bin/tox", line 9, in <module>
    load_entry_point('tox==1.7.1', 'console_scripts', 'tox')()
  File "/usr/lib/python2.7/site-packages/tox/_cmdline.py", line 25, in main
    config = parseconfig(args, 'tox')
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 47, in parseconfig
    parseini(config, inipath)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 281, in __init__
    config)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 346, in _makeenvconfig
    vc.commands = reader.getargvlist(section, "commands")
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 518, in getargvlist
    commandlist.append(self._processcommand(current_command))
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 550, in _processcommand
    new_word = self._replace(word)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 666, in _replace
    return RE_ITEM_REF.sub(self._replace_match, x)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 662, in _replace_match
    return handler(match)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 633, in _replace_substitution
    val = self._substitute_from_other_section(sub_key)
  File "/usr/lib/python2.7/site-packages/tox/_config.py", line 627, in _substitute_from_other_section
    "substitution key %r not found" % key)
tox.ConfigError: ConfigError: substitution key 'posargs' not found

Revision history for this message
Pete Zaitcev (zaitcev) wrote :

Should be fixed in Fedora by python-tox-1.7.1-3.fc20. Or at least WFM.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-swiftclient (master)

Change abandoned by John Dickinson (<email address hidden>) on branch: master
Review: https://review.openstack.org/106650
Reason: Abandoning due to lack of activity since the last negative review. You can restore the change if you want to keep working on it.

Revision history for this message
Tim Burke (1-tim-z) wrote :

Bug in tox, I guess? FWIW, looks like we require 2.0+ following https://github.com/openstack/python-swiftclient/commit/f2f278f. Can we go ahead and close this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.