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

Set platform to any when running pip install #47

Merged

Conversation

davidfritzsche
Copy link
Contributor

We want to vendor only Python-only distributions.

We want to vendor only Python-only distributions.
@pradyunsg
Copy link
Owner

Hmm... That looks about right. :)

I'm guessing you get a distribution not found error from pip, when this lookup fails?

@davidfritzsche
Copy link
Contributor Author

@pradyunsg

If I try to install a package with only platform specific wheels using --platform any, then I get the following error message:

$ pip install --platform any --target /tmp/foo --no-deps protoc-wheel-0
ERROR: Could not find a version that satisfies the requirement protoc-wheel-0 (from versions: none)
ERROR: No matching distribution found for protoc-wheel-0

@pradyunsg pradyunsg merged commit a8706ae into pradyunsg:master Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants