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

Support constraint files #100

Open
mkniewallner opened this issue Jan 26, 2025 · 0 comments
Open

Support constraint files #100

mkniewallner opened this issue Jan 26, 2025 · 0 comments
Labels
enhancement New feature or request manager:pip Relates to pip package manager

Comments

@mkniewallner
Copy link
Owner

pip supports setting constraint files in requirements files (e.g, -c constraints.txt) to set specific versions constraints on some dependencies. We could parse -c <constraints_file> in requirements files, and if found:

Note that like -r <requirements-file>, it's possible to set the value without any whitespace, so we'd also need to parse -cconstraints.txt.

@mkniewallner mkniewallner added manager:pip Relates to pip package manager enhancement New feature or request labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request manager:pip Relates to pip package manager
Projects
None yet
Development

No branches or pull requests

1 participant