Skip to content

Remove --find-links in pip freeze #9069

@xavfernandez

Description

@xavfernandez

What's the problem this feature will solve?

pip freeze --find-links=somewhere will simply output -f somewhere at the beginning of the output:

find_links = find_links or []
for link in find_links:
yield '-f {}'.format(link)

Except for history (this option exists since the freeze command and 3d32c19), 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: freeze'pip freeze' relatedtype: deprecationRelated to deprecation / removal.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions