https://pantsbuild.org/ logo
#general
Title
# general
a

ambitious-xylophone-5772

05/12/2023, 11:06 PM
Hi all, has anyone ever seen this error while trying to generate lockfiles:
Copy code
stderr:
'<' not supported between instances of 'VCSArtifact' and 'FileArtifact'
e

enough-analyst-54434

05/12/2023, 11:08 PM
What Pants version?
a

ambitious-xylophone-5772

05/12/2023, 11:08 PM
@enough-analyst-54434 2.14.0
e

enough-analyst-54434

05/12/2023, 11:16 PM
Ok, that's Pex 2.1.108. Can you try ~latest and report back?: In
pants.toml
add:
Copy code
[pex-cli]
version = "v2.1.135"
known_versions = [
    "v2.1.135|macos_arm64|53948bf34646d8274932ad51b8cb8c5f1c9a8f829c95054529117cce927d0a5c|4098060",
    "v2.1.135|macos_x86_64|53948bf34646d8274932ad51b8cb8c5f1c9a8f829c95054529117cce927d0a5c|4098060",
    "v2.1.135|linux_x86_64|53948bf34646d8274932ad51b8cb8c5f1c9a8f829c95054529117cce927d0a5c|4098060",
    "v2.1.135|linux_arm64|53948bf34646d8274932ad51b8cb8c5f1c9a8f829c95054529117cce927d0a5c|4098060"
]
a

ambitious-xylophone-5772

05/12/2023, 11:16 PM
Ok gotcha let me give it a go
@enough-analyst-54434 Unfortunately I seem to be getting the same error 😔
e

enough-analyst-54434

05/12/2023, 11:23 PM
Ok, I'll need info about what Pex is doing. Can you re-run with -ldebug and supply me full output? That should give me the
pex
command line in play to get a repro.
👍 1
Ok, @ambitious-xylophone-5772 found a Pex bug here: https://github.com/pantsbuild/pex/issues/2150 It's not clear if that bug can be triggered by any normal setup - in Kathik's case the setup turned out to be bogus, pulling in a project both from VCS and PyPi at the same time - but a bug nonetheless.