Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Using pip download to fetch package sources seems to trigger building wheels for some packages. #8387

@tvalentyn

Description

@tvalentyn

Environment

  • pip version: 20.1.1
  • Python version: 3.7
  • OS: Debian Linux

Description

In numpy/numpy#14053 we observed that

python3 -m pip download --dest /tmp numpy==1.18.0 --no-binary :all: --no-use-pep517

finishes immediately, while:

python3 -m pip download --dest /tmp numpy==1.18.0 --no-binary :all:

takes a while to complete.

We originally noticed the slowdown in https://issues.apache.org/jira/browse/ARROW-8983.
The command python -m pip download --dest /tmp pyarrow==0.17.0 --no-binary :all: also gets stuck for a few minutes with "Installing build dependencies ... ", and increased CPU usage when pip downloads sources of numpy, a dependency of pyarrow. Interestingly, in case of pyarrow, adding --no-use-pep517 does not help.

Is there an inefficiency in pip download, or it's a known behavior and is considered WAI?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions