Unable to run tox tests, install_command error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm starting from a new install of Ubuntu 14.04, I'm able to run tests via the ./run_tests.sh script, but am unable to run the tests via tox. Whenever I attempt to, I get the following error:
Traceback (most recent call last):
File "/usr/bin/tox", line 9, in <module>
load_
File "/usr/lib/
config = parseconfig(args, 'tox')
File "/usr/lib/
parseini(
File "/usr/lib/
config)
File "/usr/lib/
"'install_
tox.ConfigError: ConfigError: 'install_command' must contain '{packages}' substitution
I believe it's an error in tox.ini, but after checking on IRC, I don't see anyone else experiencing the same error.
Hi Dane, please try it by updating the tox version. Current tox version is 2.3.1 and I believe you are using 1.6.0. Also try running tox after updating your pbr to the latest version.