refined-addition-53644
06/23/2022, 10:02 AMpex
version. I am on pants 2.11.1rc2
which has pinned its pex version to 2.1.90.
I am trying to use pex v2.1.93 by adding it to pants.toml
[pex-cli]
version = "v2.1.93"
But I get this error when trying to update the lockfiles
pants generate-lockfiles
12:01:59.08 [ERROR] 1 Exception encountered:
UnknownVersion: No known version of pex v2.1.93 for macos_x86_64 found in ('v2.1.90|macos_arm64|2781255baf77c2a8fdc85c5e830f7191a6048fd91d2e20b5c7a20e5a0b7beb66|3755345', 'v2.1.90|macos_x86_64|2781255baf77c2a8fdc85c5e830f7191a6048fd91d2e20b5c7a20e5a0b7beb66|3755345', 'v2.1.90|linux_x86_64|2781255baf77c2a8fdc85c5e830f7191a6048fd91d2e20b5c7a20e5a0b7beb66|3755345')
known_versions
which is checking for 2.1.90.curved-television-6568
06/23/2022, 10:26 AMrefined-addition-53644
06/23/2022, 12:34 PMuse_unsupported_version
? I thought setting it to warning would allow me to avoid overriding known_versions
But it still throws an errorcurved-television-6568
06/23/2022, 12:38 PMrefined-addition-53644
06/23/2022, 12:39 PMwc -c
on macos doesn't match what pants is calculatingcurved-television-6568
06/23/2022, 12:40 PMrefined-addition-53644
06/23/2022, 12:40 PMknown_versions = [
"v2.1.93|macos_arm64|e20143efdab8591a271def3f35909036c313968a267e57c94f582b911bbaf315|2732075",
"v2.1.93|macos_x86_64|e20143efdab8591a271def3f35909036c313968a267e57c94f582b911bbaf315|2732075",
"v2.1.93|linux_x86_64|e20143efdab8591a271def3f35909036c313968a267e57c94f582b911bbaf315|2732075"
]
curved-television-6568
06/23/2022, 12:43 PM80fc6b94f5db253a71061974cb8d8ce520932aef44d989e9057917cc33a30fd6
and 3802280
refined-addition-53644
06/23/2022, 12:44 PMwc -c
on downloaded wheel
wc -c pex-2.1.93-py2.py3-none-any.whl
2732075 pex-2.1.93-py2.py3-none-any.whl
curved-television-6568
06/23/2022, 12:45 PM--pex-cli-url-template=<str>
PANTS_PEX_CLI_URL_TEMPLATE
url_template
default: <https://github.com/pantsbuild/pex/releases/download/{version}/pex>
current value: <https://github.com/pantsbuild/pex/releases/download/{version}/pex>
URL to download the tool, either as a single binary file or a compressed file (e.g. zip file). You can change this to point to your own hosted file, e.g. to work with proxies or for access via the filesystem through a
`file:$abspath` URL (e.g. `file:/this/is/absolute`, possibly by [templating the buildroot in a config file](<https://www.pantsbuild.org/v2.13/docs/options#config-file-entries))>.
Use `{version}` to have the value from --version substituted, and `{platform}` to have a value from --url-platform-mapping substituted in, depending on the current platform. For example,
<https://github.com/.../protoc-{version}-{platform}.zip>.
$ curl -s -L <https://github.com/pantsbuild/pex/releases/download/v2.1.93/pex> | tee >(wc -c) >(shasum -a 256) >/dev/null
refined-addition-53644
06/23/2022, 12:46 PMcurved-television-6568
06/23/2022, 12:46 PMrefined-addition-53644
06/23/2022, 12:50 PMcurved-television-6568
06/23/2022, 12:50 PM