Skip to content

pip freeze generating format that's incorrectly parsed by pip install -r #2038

@JordanReiter

Description

@JordanReiter

I have lines in my pip freeze output like:

-e git+git@example.com:widgets.git@3bdaf7d07c44a87c38beb1e8abd163a7edf99adc#egg=widgets
-e git+git@example.com:gadgets.git@3bda...etc...99adc#egg=gadgets

When it comes time to install using pip install -r requirements.txt it appears that pip incorrectly identifies example.com:gadgets.git@3bda...99adc as the full URL of the git repository when it fact it should just be example.com:gadgets.git and then it should check out the 3bda...99adc commit.

If I try to install using the pip freeze output, e.g.

pip install -e git+git@example.com:gadgets.git@3bdaf...99adc#egg=gadgets

I get the same error.

This is all using pip 1.5.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: freeze'pip freeze' relatedC: vcspip's interaction with version control systems like git, svn and bzrauto-lockedOutdated issues that have been locked by automationstate: awaiting PRFeature discussed, PR is neededtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions