Getting an error when I run `./pants generate-lock...
# general
b
Getting an error when I run `./pants generate-lockfiles`:
Copy code
Engine traceback:
  in `generate-lockfiles` goal

ProcessExecutionFailure: Process 'Generate lockfile for python-default' failed with exit code 1.
stdout:

stderr:
not enough values to unpack (expected 2, got 1)
I've narrowed it down to a package that's in my
requirements.txt
as
package @ git+<https://github.com/owner/package@main>
. Is there something in that syntax I need to change, or is there something else going on?
1
h
Which version of Pants?
This is probably https://github.com/pantsbuild/pex/issues/2057 which will be fixed in the upcoming 2.16.0
You can try out 2.16.0rc1 to see if that is fixed there
👀 1
b
Yep that did it, thanks!