-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Ability to blacklist certain packages from auto wheel building #2675
Comments
I think we should have the blacklist apply to all wheels. pip install --no-wheels-for=foo,bar,baz |
That makes sense to me, I wonder if there's a (reasonable) way to make it more generic so you can explicitly list what formats you accept and don't accept for a particular project. In my head I can't think of a good way of doing that except for something like @pfmoore did raise an issue before about being able to ask for only wheels in #2084 which has some other discussion which might make sense to design something that works for both situation. He also called the option A third thought is that it might make sense for these options to warn if they are going to cause the latest version to be ignored because it's not a binary (or it's only a binary). |
How about: |
W.r.t. logging a warning - I don't think we warn today do we (if someone has published only a wheel and no-use-wheel is in effect?) |
I like that, I'm not sure if our parsing can handle the case where something is sometimes a flag and sometimes not a flag (I guess you'd have to explicitly mandate that you use the I think that the option in general isn't going to be used a whole lot, and I think when it is that it's likely going to be used inside of a configuration file more often than it's used on the command line itself. What do you think about just using a special constant to define "all", like WRT to a warning, I don't consider it a blocker to getting this issue done, I just thought it would be nice to issue a warning. I think we'd probably deprecate |
We could use :all: if you like. I know argparse can do what I'm thinking of, and if click is build on argparse it should be able to (or should be extendable to be able to). |
pip (and click) are based on optparse. |
Alright, well I know optparse could do it too (hell, I did a top down syntax for arguments in optparse once :)) but doing :all: is easy enough. |
Our options can also be specified in config files or environment variables, so you'd need to make sure that a "sometimes a flag" option worked there as well. I doubt that's possible, so I'd go for an On a bikeshedding note, I've seen programs use |
ALL is a valid pypi package name. |
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
With wheel autobuilding in place a release blocker is some granular way to opt-out of wheels for known-bad packages. This patch introduces two new options: --no-binary and --only-binary to control what archives we are willing to use on both a global and per-package basis. This also closes pypa#2084
This is handled now in #2675 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
As of pip 7.0 pip will automatically build Wheels of sdists prior to installation, however some projects simply don't work when installed via Wheel. Before we release 7.0 we'll need some method for end users to opt out of, on a per project basis, the auto wheel building.
The text was updated successfully, but these errors were encountered: