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

Pl.pip install additional options #3760

Merged

Conversation

patricklaw
Copy link

@patricklaw patricklaw commented May 27, 2016

This is a continuation of #3092

@patricklaw
Copy link
Author

@xavfernandez @dstufft Is there anything blocking this PR from being merged? It's been languishing in what I consider a "ready" state for at least a month now, accumulated multiple merge conflicts, and even been auto-closed. What exactly is the process for getting this upstream?

@patricklaw patricklaw force-pushed the pl.pip-install-additional-options branch from 662a5ac to 15d5c2a Compare June 2, 2016 16:12
$ pip download SomePackage
$ pip download -d . SomePackage # equivalent to above
$ pip download --no-index --find-links=/tmp/wheelhouse -d /tmp/otherwheelhouse SomePackage
1. Download a package and all of its dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to use #. notation to let sphinx do the numbering (so you don't have to modify all the following examples when you delete the first one)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to do this, but each time I did the local render of the docs it didn't work (it just rendered all 1.s). Am I missing something?

Copy link
Member

@xavfernandez xavfernandez Jun 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your :: are breaking the numbered list into several one-item lists, you should indent the :: (and their code) more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aha, that was it. Thanks!

@xavfernandez
Copy link
Member

xavfernandez commented Jun 5, 2016

@patricklaw There is no process :)

I personnally like it, but I'd rather have other pip dev take a look at it before it is merged cc (@dstufft @pfmoore ?)

@patricklaw patricklaw force-pushed the pl.pip-install-additional-options branch from 15d5c2a to 9c833a3 Compare June 5, 2016 20:49
@patricklaw
Copy link
Author

Thanks for the feedback @xavfernandez, pushed fixes

@pfmoore
Copy link
Member

pfmoore commented Jun 5, 2016

I'm OK with this. I haven't had time to do more than scan the code, but there don't seem to be any glaring issues, and @xavfernandez has done a full review, so I'm +1 on this going in.

@patricklaw
Copy link
Author

@xavfernandez is @pfmoore's sign-off sufficient to merge now? It sounds like this is ready to land, and I'd like to avoid more merge conflicts (not to mention consume the change!)

@kwlzn
Copy link

kwlzn commented Jun 25, 2016

pinging on this since it seems to have gone stale - would love to see this land.

@@ -42,10 +55,66 @@ Options
Examples
********

#. Download a package and all of its dependencies
#. Download a package and all of its dependencies
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why an extra space here?

@sigmavirus24
Copy link
Member

Probably don't need to worry about the doc nits that I pointed out

@xavfernandez xavfernandez added this to the 8.2 milestone Jul 21, 2016
``--implementation``, and ``--abi`` options provides the ability to fetch
dependencies for an interpreter and system other than the ones that pip is
running on. ``--only-binary=:all:`` is required when using any of these
options. It is important to note that these options all default to the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same on the line above, after running on.

@xavfernandez
Copy link
Member

@patricklaw except some space nitpicking this seems ready to go in pip 8.2 👍

Mathew Jennings and others added 8 commits July 21, 2016 13:01
With the --platform option, a user can download wheels with
a different platform than that of the local machine running the command.

With the --python-version option, a user can
download wheels that are explicitly compatible with a specific
Python interpreter version.

This functionality is meant for utilities that gather dependencies
and prepare distributions for other platforms.
Add thorough tests, usage documentation, and handle some merge issues.
@patricklaw patricklaw force-pushed the pl.pip-install-additional-options branch from 9c833a3 to 72d9fd1 Compare July 21, 2016 18:06
@xavfernandez xavfernandez added the type: enhancement Improvements to functionality label Aug 1, 2016
@asottile
Copy link
Contributor

asottile commented Aug 6, 2016

It would be cool to add these to install and wheel too. Would potentially deprecate some of the work I've done in https://github.com/asottile/pip-custom-platform

@xavfernandez xavfernandez merged commit 5bd3367 into pypa:master Aug 12, 2016
@xavfernandez
Copy link
Member

@patricklaw Thanks a lot :)

@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 type: enhancement Improvements to functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants