-
Notifications
You must be signed in to change notification settings - Fork 17
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
scie-pants unhelpful error on ambiguous Pants version tag #155
Comments
I ran into something similar, but the updated version: Inside a .devcontainer inside WSL2 (using the WSL filesystem, not mounted Windows one): High level error for 2.21.0 (which exists) - writing some of this from memory because the terminal closed: Wasn't able to fetch the Pants PEX at ....pants.2.21.0-cp39-linux_x86_64.pex
Check to see if the URL is reachable ....
Exception:
Command ...ptex-linux-x86_64 https://github.com/.../pants.2.21.0-cp39-linux_x86_64.pex returned non-zero exit status 1.
Error: Failed to establish atomic directory ... Population of work directory failed: Boot binding command failed: exit status 1. So in this case, not sure if the issue was fundamentally caused by unpacking the pex file (which I could see happening on WSL inside of a dev container - that's layers on layers), or if it couldn't access Github. Worked on my next attempt. |
For example, setup pants.toml with version 2.16.0
This seems to happen because the Github API, instead of 404'ing, will return a list of potential matches when the tag is a prefix of existing tags but doesn't exactly match any particular tag. It's a slightly confusing error that could be clarified.
The text was updated successfully, but these errors were encountered: