pip freeze generating invalid requirement URL for package on Git #1125
Labels
auto-locked
Outdated issues that have been locked by automation
C: freeze
'pip freeze' related
C: vcs
pip's interaction with version control systems like git, svn and bzr
type: bug
A confirmed bug or unintended behavior
When installing a package from a Git repo on GitHub, I added the following in my requirements file:
I chose the egg name myself (which I believe is okay) and consists of the repo name followed by the branch name. The commit specified is on the branch 'no-markdown'.
Running
pip install -r requirements.txt
installs it correctly.However, when I run
pip freeze > requirements.txt
, pip reformats the url to:If I then immediately run
pip install -r requirements.txt
again I get the following error:I believe this is because of the forward slash that pip has put in the egg name (
html2text-origin/no-markdown
).So I'm a bit stuck as I can't rely on simply outputting
pip freeze
to my requirements file anymore.I'm running pip 1.4.1 and git 1.8.3.2. There were issues with git >= 1.8.3 which was resolved in pip 1.4, but I'm wondering if this is an outstanding issue.
The text was updated successfully, but these errors were encountered: