question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip freeze outputs deprecated form of VCS requirement

See original GitHub issue

Environment

  • 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:open
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
uranusjrcommented, Nov 5, 2020

I assume title was a typo to VCS (version control system) because IIRC pip does not support CVS (Concurrent Versions System).

0reactions
uranusjrcommented, Sep 12, 2021

The legacy URL form is the only format supported for editable installs, so there’s no reasonable action available until someone can finish #9471.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found