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

--target required for --python-version even though using --ignore-installed --dry-run #12215

Closed
1 task done
thejcannon opened this issue Aug 8, 2023 · 0 comments · Fixed by #12217
Closed
1 task done
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior

Comments

@thejcannon
Copy link
Contributor

Description

Just a corner case, most like. I'm using --ignore-installed --dry-run --report XYZ.txt --python-version=3.9 --only-binary=:all:

and I'm seeing ERROR: Can not use any platform or abi specific options unless installing via '--target'

The workaround is just --target .

Expected behavior

No error, since the target really doesn't matter (I think. Happy to be wrong).

pip version

23.1.2

Python version

Running on 3.11, targeting 3.9

OS

Ubuntu

How to Reproduce

$ pip install --ignore-installed --dry-run --report report.txt --python-version 3.9 --only-binary=:all: toml

Output

ERROR: Can not use any platform or abi specific options unless installing via '--target'

Code of Conduct

@thejcannon thejcannon added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Aug 8, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant