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

Don't specify dev requirements in both .in files #4

Open
sandypreiss opened this issue Jun 22, 2023 · 0 comments
Open

Don't specify dev requirements in both .in files #4

sandypreiss opened this issue Jun 22, 2023 · 0 comments

Comments

@sandypreiss
Copy link
Collaborator

We currently pin development requirements in both requirements.in and requirements_ci.in. This is duplicative, and can be avoided by using pip constraints. The solution would involve building one of the requirement.txt files, then using that as a constraint in the other .in file. Then when pip sees black in the second .in file, it will also see the constraint and use that version. Better explanation with example at https://github.com/jazzband/pip-tools#workflow-for-layered-requirements

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

1 participant