-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
"Resolving wheels disallowed" error when using --lock
and --only-binary
#2432
Comments
Similar issue: #2389 |
Thanks for the report and repro. I will note, like #2389 this is a definitely bug, but also a weird use of a lock file. Since a lock is locked already, passing something like |
Since pex-tool#2346 which was released in Pex 2.1.161, using `--only-binary X` with a `--lock` would fail fast even if the lock itself was created with `--only-binary X`, which should be compatible. Fixes pex-tool#2432
The fix for this is now released in Pex 2.4.1: https://github.com/pex-tool/pex/releases/tag/v2.4.1 |
I'm using pex 2.3.1 on Ubuntu 22.04.
If I create a lock file using:
and run
it works w/o problem.
But running:
yields the following error:
In Pants 2.21.0, it seems like a change that uses pex to handle binary wheels was introduced.
pantsbuild/pants#20598
Due to this change, pants always passes both
--lock
and--only-binary
flags, causing pantsbuild/pants#21077The text was updated successfully, but these errors were encountered: