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

Implement the --not-required flag to pip freeze #4088

Nagasaki45 opened this issue Nov 5, 2016 · 3 comments


None yet
3 participants
Copy link

commented Nov 5, 2016

  • Pip version: 9.0.0


The new pip list --not-required can be implemented similarly to pip freeze, isn't it?
I'm usually following Kenneth Reitz advice and create a requirements-to-freeze.txt file to track the top most packages in a project (these that I call directly from code / command line). This flag can replace the manual tracking with pip freeze --not-required > requirements-to-freeze.txt. I hope that my explenation is clear enough, but I will be happy to elaborate if needed.


This comment has been minimized.

Copy link

commented Mar 29, 2017

This can currently be done via pip list --not-required --format=freeze.


This comment has been minimized.

Copy link

commented Mar 29, 2017

Thanks for the suggestion! pip list --not-required --format=freeze it is :-).


This comment has been minimized.

Copy link

commented Mar 31, 2017

Closing this since it looks like this got handled by using pip list --not-required --format=freeze.

@dstufft dstufft closed this Mar 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.