Remove `--find-links` in `pip freeze`
See original GitHub issueWhat’s the problem this feature will solve?
pip freeze --find-links=somewhere will simply output -f somewhere at the beginning of the output:
https://github.com/pypa/pip/blob/8ae1bd607e9fa84d6640909dc9998a0c61a10da6/src/pip/_internal/operations/freeze.py#L59-L62
Except for history (this option exists since the freeze command and https://github.com/pypa/pip/commit/3d32c196b53bedf28860df4f29d0ed5bc8bec245), there is no reason to special case it and not allow --index-url, --pre and all the other options allowed in a requirements file.
Describe the solution you’d like
Deprecate and remove it.
Alternative Solutions
Keep it.
Additional context
Deprecating it would ease the transition for #7157
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
pip freeze - pip documentation v21.1.dev0
Use the order in the given requirements file and its comments when generating output. This option can be used multiple times. -f ,...
Read more >pip freeze creates some weird path instead of the package ...
I am working on developing a python package. I use pip freeze > requirements.txt to add the required package into the requirement.txt file....
Read more >pip Documentation - Read the Docs
Fixed bug in Mercurial vcs backend related to pip freeze and branch/tag ... Track which build/ directories pip creates, never remove directories it...
Read more >https://swarm.workshop.perforce.com/view/guest/esp...
Requirements files are used to hold the result from :ref:`pip freeze` for the ... (and not from PyPI): :: pip install --no-index --find-links=/local/wheels ......
Read more >Pip — The complete reference guide | Nerd For Tech - Medium
pip <command> [options]Commands: install Install packages. download Download packages. uninstall Uninstall packages. freeze Output installed ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

No worries, the
-fline in the pip freeze output has slightly bothered me for a while so I’m glad it’s going away 😃I’ll work on it, thanks for the reminder.