-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
New goal for managing 3rd party dependencies #12880
Comments
Considering that lock files contains interpreter constraints, these should be included in the output, so grouping by those, could look something like:
Preferably, optionally using some terminal colors, to make the interesting bits stand out more, and the interpreter constraints lines rather dim, for instance, to make it more readable. If this makes sense (not really used to these kinds of constraints). |
Thanks! I suspect we'll want to keep this on the
Note that |
mm.. OK, I was unsure of the top level command names, and I see that what you suggest works, but it is not entirely user friendly to type.. I'm thinking that if we compare with Regarding |
Agreed, but counterpoint is that it's not user friendly for I know other tools like Yarn and Poetry do have |
This seems related to #15704 |
Intro
In order to help manage the packages and version specs in requirement files, a new goal could be introduced that
a) Updates the contents of requirement.txt files based on command line arguments, and
b) Regenerates affected lock files after such changes.
UX
Some ideas of what it could look like:
The
--requirements
flag is a bit of a nuance, which I hope we could get rid of (or at least alias to something shorter) using some kind of configuration or inference logic. It is not precisely clear to my at the moment how best to do this.Consequences
I want to highlight two points here:
✅ Print diff report when generating new lockfiles. #17347
Motivation
To get on par with poetry's dependency management features, so that I, as end user, can stick with one tool for the job, rather than two ;)
I'm lazy, and don't want to muck about in requirements.txt files by hand (and regenerating constraints files etc)
The text was updated successfully, but these errors were encountered: