-
Notifications
You must be signed in to change notification settings - Fork 734
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 specifying layered requirements in a single file #4331
Comments
Hi! Have you seen PEP 735? I think that addresses what you're talking about. Right now we're only exposing a single group for development dependencies but we're watching that PEP as a possible standard we could use for specifying multiple groups. We're working on a lock file format (#3314) that is a single file. I'm not sure we'd extend locking of multiple groups to |
Thanks for the heads up about PEP 735, and great you're already thinking along these lines! Any solution enabling projects to maintain a single pair of files -- one for all the dependency group inputs, and one with the result of resolving those inputs -- would be a win. Using a standardized and more structured format than requirements.txt to accomplish that would be icing on the cake. |
Great to hear! Yeah we're planning on using the |
I think #3347 can be used to track this request. |
I recently noticed #2679 -- awesome to see all the interest in that!
As long as we're thinking about enabling combining different requirements files for different platforms into a single, platform-independent lockfile, is there any interest in enabling you to specify additional requirements layers (e.g. for running tests, building docs, etc., which should be constrained by the base layer, in a single file as well?
Many projects end up with requirements file explosion due to layering even more often than due to platform differences. Enabling users to define their requirement layers in a single file would be a wonderful simplification.
The text was updated successfully, but these errors were encountered: