| Summary: | python tox breaks with 'envsitepackagesdir' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Simo Sorce <ssorce> |
| Component: | python-tox | Assignee: | Matthias Runge <mrunge> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | itamar, mrunge |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-tox-2.3.1-1.fc24 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-29 14:27:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Any chance to get this fixed, here's upstream discussion/fix: https://bitbucket.org/hpk42/tox/issues/246/envbindir-substitution-key-not-found Sorry, I did not meant to ignore this. Meanwhile, I upgraded f24 packages to python-tox-2.3.1-1.fc24. |
We use this option in the custodia package. With python-tox 2.1.1 it breaks, reverting back to 1.8.1 works. Here is the traceback: Traceback (most recent call last): File "/usr/bin/tox", line 9, in <module> load_entry_point('tox==2.1.1', 'console_scripts', 'tox')() File "/usr/lib/python2.7/site-packages/tox/session.py", line 38, in main config = prepare(args) File "/usr/lib/python2.7/site-packages/tox/session.py", line 26, in prepare config = parseconfig(args) File "/usr/lib/python2.7/site-packages/tox/config.py", line 219, in parseconfig parseini(config, inipath) File "/usr/lib/python2.7/site-packages/tox/config.py", line 669, in __init__ self.make_envconfig(name, section, reader._subs, config) File "/usr/lib/python2.7/site-packages/tox/config.py", line 697, in make_envconfig res = meth(env_attr.name, env_attr.default) File "/usr/lib/python2.7/site-packages/tox/config.py", line 832, in getdict s = self.getstring(name, None) File "/usr/lib/python2.7/site-packages/tox/config.py", line 886, in getstring x = self._replace(x) File "/usr/lib/python2.7/site-packages/tox/config.py", line 982, in _replace return RE_ITEM_REF.sub(self._replace_match, x) File "/usr/lib/python2.7/site-packages/tox/config.py", line 978, in _replace_match return handler(match) File "/usr/lib/python2.7/site-packages/tox/config.py", line 948, in _replace_substitution val = self._substitute_from_other_section(sub_key) File "/usr/lib/python2.7/site-packages/tox/config.py", line 942, in _substitute_from_other_section "substitution key %r not found" % key) tox.ConfigError: ConfigError: substitution key 'envsitepackagesdir' not found