Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip download option with all wheels #4422

Closed
graingert opened this issue Apr 6, 2017 · 10 comments
Closed

pip download option with all wheels #4422

graingert opened this issue Apr 6, 2017 · 10 comments
Labels
auto-locked Outdated issues that have been locked by automation resolution: invalid Invalid issue/PR

Comments

@graingert
Copy link
Contributor

  • Pip version: 9.0.1
  • Python version: 3.6
  • Operating system: Ubuntu

Description:

Allow pip download --all to download all possible tags.

What I've run:

// REPLACE ME: Paste a log of command(s) you ran and pip's output, tracebacks, etc, here
@xavfernandez
Copy link
Member

Do you mean: pip download lxml==3.7.3 --all --no-deps would download the 13 differents available wheels ?

lxml-3.7.3-cp26-cp26m-win32.whl
lxml-3.7.3-cp27-cp27m-manylinux1_x86_64.whl
lxml-3.7.3-cp27-cp27mu-manylinux1_x86_64.whl
lxml-3.7.3-cp27-cp27m-win32.whl
lxml-3.7.3-cp27-none-win_amd64.whl
lxml-3.7.3-cp33-cp33m-manylinux1_x86_64.whl
lxml-3.7.3-cp34-cp34m-manylinux1_x86_64.whl
lxml-3.7.3-cp35-cp35m-manylinux1_x86_64.whl
lxml-3.7.3-cp35-cp35m-win32.whl
lxml-3.7.3-cp35-cp35m-win_amd64.whl
lxml-3.7.3-cp36-cp36m-manylinux1_x86_64.whl
lxml-3.7.3-cp36-cp36m-win32.whl
lxml-3.7.3-cp36-cp36m-win_amd64.whl

@graingert
Copy link
Contributor Author

yes, that's correct.

graingert added a commit to graingert/pip that referenced this issue Apr 6, 2017
@xavfernandez
Copy link
Member

I'd say this is unlikely to be integrated via pip in the short term.
If you don't need any dependency/platform check, it would be simpler to go with requests and packaging.

@pfmoore
Copy link
Member

pfmoore commented Apr 6, 2017

Can you give an explanation of the use case where you'd need something like this?

@graingert
Copy link
Contributor Author

I'd like to be able to download all available packages for calculating hashes, eg in pip-tools

@pfmoore
Copy link
Member

pfmoore commented Apr 6, 2017

Like @xavfernandez says, that sounds more like a use case for a custom program using the requests and packaging libraries. I doubt it's a sufficiently common requirement to be worth including in pip.

@graingert
Copy link
Contributor Author

graingert commented Apr 6, 2017

I'd also like to be able to download all available packages for creating caches for multiple types of build servers

@graingert
Copy link
Contributor Author

also pip-tools is sufficiently coupled to pip that using requests/packaging is very difficult, and re-using the PackageFinder machinery is really handy.

@xavfernandez
Copy link
Member

xavfernandez commented Apr 6, 2017

Using PackageFinder is unsupported as you must already know.
That said, it seems you could monkey-patch pip.wheel.Wheel.supported to always return True and get the same outcome (and again, it is unlikely to be integrated in pip).

@pradyunsg
Copy link
Member

Since both @xavfernandez and @pfmoore say that this isn't something pip would be doing anytime soon, I'll close this.

Feel free to re-open this issue if you feel otherwise.

@pradyunsg pradyunsg added the resolution: invalid Invalid issue/PR label Jun 27, 2017
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation resolution: invalid Invalid issue/PR
Projects
None yet
Development

No branches or pull requests

4 participants