bitter-ability-32190
10/20/2022, 8:02 PMpex3 lock create
with the -r
coming from stdin
?
Coming from pip-compile
I can cat requirements.txt | pip-compile -o out.txt -
-o PATH, --output PATH
A file to output the lock to; STDOUT by default or when `-` is specified.
but pex3 lock create -o out.lock -
fails with
Problem parsing '-' as a requirement: Parse error at "'-'": Expected W:(abcd...)
enough-analyst-54434
10/20/2022, 8:13 PM-o -
which you're not doing.bitter-ability-32190
10/20/2022, 8:13 PMenough-analyst-54434
10/20/2022, 8:14 PM-r
question.pex3 lock create $(echo cowsay) -o - --indent 2
-r <(...)
, however, is problematic.bitter-ability-32190
10/20/2022, 8:17 PMsed
-ding the version.$(sed ...)
like you suggest worksenough-analyst-54434
10/20/2022, 8:18 PMbitter-ability-32190
10/20/2022, 8:20 PM--hash
so no dice.
Another file isn't going to kill me (use an intermediate .txt
)enough-analyst-54434
10/20/2022, 8:23 PMpex3 lock update -p just_update_this ...
bitter-ability-32190
10/20/2022, 8:27 PMcp
can fix that šenough-analyst-54434
10/20/2022, 8:28 PMbitter-ability-32190
10/20/2022, 8:29 PMcp
is better because right now we have:
⢠`pip-compile`: <http://requirements.in|requirements.in>
-> requirements.txt
⢠pex3
: requirements.txt
-> requirements.lock
This is because people still are using requirements.txt
as an out-of-band lockfile and I want them to agree 100%enough-analyst-54434
10/20/2022, 8:30 PMbitter-ability-32190
10/20/2022, 8:32 PM