average-australia-85137
05/16/2024, 4:05 PM➜ pants --keep-sandboxes=on_failure -ldebug generate-lockfiles
10:42:21.42 [INFO] Initialization options changed: reinitializing scheduler...
10:42:24.40 [INFO] Scheduler initialized.
10:44:13.70 [INFO] Preserving local process execution dir /private/var/folders/l4/gnydsgks5ll2gwcpzkyl1tdh0000gn/T/pants-sandbox-GGHS3O for Generate lockfile for python-default
10:44:13.71 [INFO] Completed: Generate lockfile for python-default
10:44:13.71 [ERROR] 1 Exception encountered:
Engine traceback:
in `generate-lockfiles` goal
ProcessExecutionFailure: Process 'Generate lockfile for python-default' failed with exit code 1.
stdout:
stderr:
Invalid specifier: '>=3.5.*'
I'm not sure... where that string is coming from - I can't find anything matching that in the entire repo and if I unzip the pex in the sandbox I can't find anything in it either? any idea where to look? I assume some transitive dependency has an invalid specifier but i'm not sure how to find which onebetter-van-82973
05/16/2024, 5:02 PMgenerate-lockfiles
command uses pip
underneath, so I would recommend doing something like this:
https://pantsbuild.slack.com/archives/C046T6T9U/p1714768992884099?thread_ts=1714751222.667839&cid=C046T6T9Ubetter-van-82973
05/16/2024, 5:03 PMps
and grep for a pip command while generate-lockfiles
is running, you should be able to find the log file for pip directly, and tail that to see what package has the invalid specifieraverage-australia-85137
05/16/2024, 5:42 PM