Hi all, has anyone ever seen this error while tryi...
# general
a
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
What Pants version?
a
@enough-analyst-54434 2.14.0
e
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
Ok gotcha let me give it a go
@enough-analyst-54434 Unfortunately I seem to be getting the same error 😔
e
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.