pypa / pip

The Python package installer
https://pip.pypa.io/
MIT License
9.37k stars 2.98k forks source link

Support downloading pyproject.toml build deps with parameter #11460

Open nanonyme opened 1 year ago

nanonyme commented 1 year ago

What's the problem this feature will solve?

When giving --no-binary :all: currently build dependencies are omitted. So the list of packages for offline install is incomplete.

Describe the solution you'd like

Please provide a parameter that allows downloading complete build dependencies to a directory.

Alternative Solutions

I have not tried alternative tools but would be open to suggested solutions. We essentially need this full list for reproducible offline building of wheels from sources.

Additional context

Code of Conduct

AdamWRichardson commented 1 year ago

I too would also be interested in this feature!

uranusjr commented 1 year ago

Pull requests are welcomed. I think it’s reasonable to perhaps do this with pip download --use-feature=include-build-deps as a start.