pip freeze doesn't show correct entry for mercurial packages that use subdirectories #7071
Labels
auto-locked
Outdated issues that have been locked by automation
C: vcs
pip's interaction with version control systems like git, svn and bzr
type: enhancement
Improvements to functionality
Environment
Description
When a package is installed from a Mercurial (hg) repo and it uses either:
setup.py
file that isn't located in the root directory of the repo, orThen pip freeze will output:
# Editable install with no version control
for that package and omit the reference to version control.#3258 added the ability for
pip freeze
andpip list -e
to work correctly when eithersetup.py
or the source code is not in the root directory of a Git repository. This implementation was Git specific, the problem solved by #3258 still exists for Mercurial repositories.How to Reproduce
setup.py
file that isn't located in the root directory of the repo, orpip freeze
and look for# Editable install with no version control
Its difficult to find such a repository publicly, so here is some test code that can be added to
tests/functional/test_freeze.py
The text was updated successfully, but these errors were encountered: