Skip to content

Warn that direct URL will not be recorded when running setup.py install #9176

Open
@llamafilm

Description

@llamafilm

Environment

  • pip version: 20.2.4
  • Python version: 3.7.9
  • OS: Windows 10
  • Running with Powershell in clean venv

Description
I forked a Github repo and made some minor changes. Then I installed from my own repo with pip, but pip freeze is not showing the full URL.

Expected behavior
It should show the full URL to the source repo, thanks to #7612. Some other repos are working correctly like this:

pip install git+https://github.com/pypa/packaging
...
pip freeze
GPUtil==1.4.0
packaging @ git+https://github.com/pypa/packaging@69855f324f58d7a421fc1791b7794dfa80cf519d
pyparsing==2.4.7

How to Reproduce

pip install git+https://github.com/llamafilm/gputil
Collecting git+https://github.com/llamafilm/gputil
  Cloning https://github.com/llamafilm/gputil to c:\users\elliott\appdata\local\temp\pip-req-build-gq70gug6
Using legacy 'setup.py install' for GPUtil, since package 'wheel' is not installed.
Installing collected packages: GPUtil
    Running setup.py install for GPUtil ... done
Successfully installed GPUtil-1.4.0

pip freeze
GPUtil==1.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXUser experience relatedproject: setuptoolsRelated to setuptools

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions