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

pip freeze -r loses url information #1690

Closed
Ivoz opened this issue Mar 27, 2014 · 2 comments
Closed

pip freeze -r loses url information #1690

Ivoz opened this issue Mar 27, 2014 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@Ivoz
Copy link
Contributor

Ivoz commented Mar 27, 2014

When a package is specified by a url in a requirements file, pip freeze -r will lose that url. i.e:

$ cat req.txt 
https://www.djangoproject.com/download/1.6.2/tarball/#egg=Django
$ pip freeze -r req.txt 
Django==1.6.2
## The following requirements were added by pip --freeze:
wsgiref==0.1.2

i.e pip freeze -r req.txt > req.txt would lose information on the round trip. If the package was not in the package index, it would no longer be installable from the new file in a new environment.

@qwcode
Copy link
Contributor

qwcode commented Mar 27, 2014

as for parsing the pkg url's see #1689

@xavfernandez
Copy link
Member

Duplicate of #452

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

3 participants