incalculable-hydrogen-44003
08/24/2022, 4:57 PMhundreds-father-404
08/24/2022, 4:58 PMIt has its own requirements.txtHave you heard about multiple resolves? https://blog.pantsbuild.org/multiple-lockfiles-python/ https://www.pantsbuild.org/docs/python-third-party-dependencies#lockfiles
incalculable-hydrogen-44003
08/24/2022, 4:59 PMhundreds-father-404
08/24/2022, 5:00 PMpackage
target types like pex_binary
, pyoxidizer_binary
, and python_distribution
. Otherwise, do the same thing as normal.
Likely, you will want to use "multiple resolves" if that project's requirements.txt is meant to be separate from the rest of your repository, which it sounds like it isincalculable-hydrogen-44003
08/24/2022, 5:02 PMhundreds-father-404
08/24/2022, 5:04 PMincalculable-hydrogen-44003
08/24/2022, 5:38 PMincalculable-hydrogen-44003
08/24/2022, 5:38 PMplain-summer-72727
08/24/2022, 5:38 PM00:48:04.83 [WARN] The target src/{app}/main.py:lib imports `jwt`, but Pants cannot safely infer a dependency because more than one target owns this module, so it is ambiguous which to use: ['//:root#pyjwt', 'src/state_machines:reqs0#pyjwt'].
hundreds-father-404
08/24/2022, 5:39 PMplain-summer-72727
08/24/2022, 5:39 PMhundreds-father-404
08/24/2022, 5:39 PMplain-summer-72727
08/24/2022, 5:40 PM