Open ImprintNav opened 1 year ago
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.