Skip to content

pip freeze outputs deprecated form of VCS requirement #9106

@bersbersbers

Description

@bersbersbers

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 [email protected]: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:

if not self.link.is_vcs:
reason = (
"This form of VCS requirement is being deprecated: {}."
).format(
self.link.url
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: blockedCan not be done until something else is done

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions