Fetching tool requirements from a requirements file #17351
Answered
by
thejcannon
AbdealiLoKo
asked this question in
Q&A
-
Can I generate I just have a lot of requirements files I have right now ( |
Beta Was this translation helpful? Give feedback.
Answered by
thejcannon
Oct 26, 2022
Replies: 1 comment
-
So Pants uses
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AbdealiLoKo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So Pants uses
pex
to make lockfiles, so you should be able to lock like Pants does, and tell Pants to ignore the missing metadata.[python].invalid_lockfile_behavior = "ignore"
pex
on your machine. Otherwise you'll need to sandboxpex
in apex_binary
(which is a much longer explanation I plan on blogging about later). Note that #17336 would solve this in a very convenient way.pex
equal or lower than Pants is, or else you might use newer metadata than Pants' PEX knows how to use. https://www.pantsbuild.org/docs/re…