dry-forest-42241
06/26/2023, 7:01 PM'<' not supported between instances of 'FileArtifact' and 'VCSArtifact'
Seems related to the this issue which was fixed last month (in Pex 2.1.137). Is pants 2.16.0
using an older pex version (2.1.126 I assume)? Any plans to update it? Is there anyway to get around this error?broad-processor-92400
06/26/2023, 10:36 PM[pex-cli]
section of `pants.toml`: https://www.pantsbuild.org/docs/reference-pex-cli
For instance:
[pex-cli]
version = "v2.1.137"
known_versions = [
"v2.1.137|macos_arm64|faad51a6a108fba9d40b2a10e82a2646fccbaf8c3d9be47818f4bffae02d94b8|4098329",
"v2.1.137|macos_x86_64|faad51a6a108fba9d40b2a10e82a2646fccbaf8c3d9be47818f4bffae02d94b8|4098329",
"v2.1.137|linux_x86_64|faad51a6a108fba9d40b2a10e82a2646fccbaf8c3d9be47818f4bffae02d94b8|4098329",
"v2.1.137|linux_arm64|faad51a6a108fba9d40b2a10e82a2646fccbaf8c3d9be47818f4bffae02d94b8|4098329"
]
I constructed the known_versions
based on the default value on that documentation page, plus the current configuration https://github.com/pantsbuild/pants/blob/073c224fb499302383cd0bf26d43004389655d95/src/python/pants/backend/python/util_rules/pex_cli.py#L43-L54 . One can also compute it by downloading the pex
artifact from https://github.com/pantsbuild/pex/releases/tag/v2.1.137 and computing the sha256 hash and lengthdry-orange-3870
06/27/2023, 4:23 PM