Skip to content
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

[RFE] Add support for applying constraints #15

Open
sagarun opened this issue Apr 16, 2019 · 1 comment
Open

[RFE] Add support for applying constraints #15

sagarun opened this issue Apr 16, 2019 · 1 comment

Comments

@sagarun
Copy link
Member

sagarun commented Apr 16, 2019

pip supports applying upper/lower constraints on a requirements.txt file however invirtualenv doesn't. There should be a way to do this

Here is how upper constraints are applied in a tox.ini

[testenv]
install_command = pip install -U {opts} {packages}
deps = 
    -c{env:UPPER_CONSTRAINTS_FILE:upper-constraints.txt}
    -r{toxinidir}/requirements.txt
    -r{toxinidir}/test-requirements.txt
@dwighthubbard
Copy link
Contributor

Are you thinking the configuration could specify constraints in the same way as dependencies are defined?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants