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

Match against requirements.txt and print only those deps that are new #71

Open
nfx opened this issue Oct 6, 2021 · 4 comments
Open
Labels
question Further information is requested

Comments

@nfx
Copy link

nfx commented Oct 6, 2021

It's very common scenario to discover "what new dependencies do we need to create RPM for" and it'll be super helpful for this tooling to match against an existing requirements.txt file.

@wimglenn
Copy link
Owner

wimglenn commented Oct 6, 2021

Hi nfx, I don't understand the request. Could you provide an example input and expected output?

@wimglenn wimglenn added the question Further information is requested label Nov 2, 2021
@paultop6
Copy link

paultop6 commented Jan 7, 2022

I think what nfx is after (and I also) is to be able to get the full dependency tree for all packages defined in a given requirements.txt file.

@nfx
Copy link
Author

nfx commented Jan 10, 2022

@wimglenn imagine someone works in an environment, where every package is explicitly built, checked for CVE flaws, and copied into local PyPI clone or RPM/DEB repo. And once in a while someone comes and asks "Hey, can we install package X and Y?", without actual knowledge that they need 20-30 transitive dependency packages. this tool can help with that.

@gforcada
Copy link

tools like pip-tools pip-compile might help here? 🤔 you store only the top-level requirements on a requirements.in and pip-compile resolves all dependencies generating a so-called lock-file ✨ I'm a huge fan of it 🤩

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

No branches or pull requests

4 participants