-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.4.0 breaks environment variable substitution in dependency list #380
Comments
sigmavirus24
added a commit
to rcbops/rpc-openstack
that referenced
this issue
Oct 12, 2016
Tox 2.4.0 was released this morning and broke the ability to use environment substitution. To avoid this and keep our continuous integration happy while we complete our work, we prevent travis from installing any version of tox 2.4.0 or later. Related-to tox-dev/tox#380 Connects rcbops/u-suk-dev#512
Provided there's a |
I can confirm that removing the |
sigmavirus24
added a commit
to sigmavirus24/tox
that referenced
this issue
Oct 12, 2016
The fix for allowing parametrized dependencies in 174bf2d broke the use case of having a dependency whose version can be specified in an environment variable or defaulted to a range, e.g., deps = mydep{env:MYDEP_VERSION:>1.0,<2.0} To fix this, we modify the regular expression to handle some substitution value cases specifically while also handling the default value of a env substitution explicitly. Closes tox-dev#380
git-harry
pushed a commit
to rcbops/rpc-openstack
that referenced
this issue
Oct 13, 2016
Tox 2.4.0 was released this morning and broke the ability to use environment substitution. To avoid this and keep our continuous integration happy while we complete our work, we prevent travis from installing any version of tox 2.4.0 or later. Related-to tox-dev/tox#380 Connects rcbops/u-suk-dev#512 (cherry picked from commit 3e18ce8)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
At the moment, I'm using a tox.ini that has a dependency list specified like so:
deps = -rtest-requirements.txt ansible{env:ANSIBLE_VERSION:>=1.9.1,1.9.5} -ehacking/
Prior to tox 2.4.0, this worked fine. Now, however, we see errors from pip because tox is not performing substitution from what I can tell.
This appears to be a regression (at least from 2.3.x).
The text was updated successfully, but these errors were encountered: