pip freeze outputs deprecated form of VCS requirement
See original GitHub issueEnvironment
- pip version: 20.2.4
- Python version: 3.8.6
- OS: Linux
Description
user@host:~/myproj> pip freeze | grep myproj
user@host:~/myproj> pip install -e .
Obtaining file:///home/user/myproj
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Installing collected packages: myproj
Running setup.py develop for myproj
Successfully installed myproj
user@host:~/myproj> pip freeze | grep myproj
-e git+git@git.company.com:user/myproj.git@haaaaaaaaaaaaaaaaaash#egg=myproj
user@host:~/myproj>
I am not sure that the -e ... line is intended like this at all, but it certainly uses a format that is deprecated:
https://github.com/pypa/pip/blob/9a5441c3317515003ec0c73a64e4a5936bf48852/src/pip/_internal/req/req_install.py#L639-L644
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Pip freeze, vcs urls and pep 517 (feat. editable installs)
when I need to use some unreleased version of a dependency (top level or not), I add a VCS reference in requirements.in (eg,...
Read more >pip freeze creates some weird path instead of the package ...
I use pip freeze > requirements.txt to add the required package into the requirement.txt file. However, I realized that some of the packages, ......
Read more >Release Notes — pip 10.0.0.dev0 documentation
DEPRECATION pip install --egg have been deprecated and will be removed in the future. This “feature” has a long list of drawbacks which...
Read more >User Guide - pip documentation v22.3.1
Requirements files are used to hold the result from pip freeze for the purpose of achieving Repeatable Installs. In this case, your requirement...
Read more >Security update for python-pip, python-scripttest | SUSE Support
Support for the git+git@ form of VCS requirement is being deprecated and will be removed in pip 21.0. Switch to git+https:// or git+ssh://....
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

I assume title was a typo to VCS (version control system) because IIRC pip does not support CVS (Concurrent Versions System).
The legacy URL form is the only format supported for editable installs, so there’s no reasonable action available until someone can finish #9471.