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 -bitter-ability-32190
10/20/2022, 8:03 PM-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.enough-analyst-54434
10/20/2022, 8:15 PMpex3 lock create $(echo cowsay) -o - --indent 2enough-analyst-54434
10/20/2022, 8:15 PM-r <(...) , however, is problematic.bitter-ability-32190
10/20/2022, 8:17 PMsed-ding the version.bitter-ability-32190
10/20/2022, 8:17 PM$(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 ...enough-analyst-54434
10/20/2022, 8:24 PMenough-analyst-54434
10/20/2022, 8:27 PMbitter-ability-32190
10/20/2022, 8:27 PMcp can fix that šenough-analyst-54434
10/20/2022, 8:28 PMenough-analyst-54434
10/20/2022, 8:29 PMbitter-ability-32190
10/20/2022, 8:29 PMbitter-ability-32190
10/20/2022, 8:30 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 PMenough-analyst-54434
10/20/2022, 8:31 PMbitter-ability-32190
10/20/2022, 8:32 PMbitter-ability-32190
10/20/2022, 8:46 PM