Skip to content

Pip hangs when using "-d . -e " args within a python package #1189

Closed
@jamesls

Description

@jamesls

I was trying to download all the dependencies of a local python package and noticed that running pip install -d . -e <path to python package dir> from any subdir of the package will hang and python will consume 100% CPU. Repro:

# Start from directory that contains the setup.py
# Running "pip install -d . -e ." will work from this directory.
mkdir foo
cd foo
pip install -d . -e ../  # This command will hang.
pip install -d . -e $(dirname $(pwd)) # Absolute path will also hang.

Other data points:

pip install -d /outside/of/package -e ../ works.
Running pip install -d . -e <packagedir> outside of <packagedir> or at the top level of <packagedir> works.

Related issue: #831

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions