swift-river-73520
03/24/2023, 4:35 PMsrc/python/projectA
src/python/projectB
src/python/pipeline
and projectB
is dependent on projectA
. Both projects are using the poetry_requirements
target and pyproject.toml files to specify their dependencies. Eventually pipeline
will be deployed as a docker image, and has dependencies on both projectB
and projectA
.
How do I indicate these internal dependencies to Pants to ensure that projectB
and projectA
sources are packaged and included in the docker image deployed from pipeline
(or even when running the tests in pipepline
)?
It feels like I would maybe want to use parameterized resolves on each target within projectA
and projectB
?high-yak-85899
03/24/2023, 4:36 PMhigh-yak-85899
03/24/2023, 4:37 PMhigh-yak-85899
03/24/2023, 4:37 PMswift-river-73520
03/24/2023, 4:37 PMhigh-yak-85899
03/24/2023, 4:37 PMhigh-yak-85899
03/24/2023, 4:38 PMhigh-yak-85899
03/24/2023, 4:38 PMhigh-yak-85899
03/24/2023, 4:44 PMswift-river-73520
03/24/2023, 4:48 PMhigh-yak-85899
03/24/2023, 4:49 PMhigh-yak-85899
03/24/2023, 4:49 PMhigh-yak-85899
03/24/2023, 4:49 PMhigh-yak-85899
03/24/2023, 4:49 PMswift-river-73520
03/24/2023, 4:50 PMswift-river-73520
03/24/2023, 4:50 PMswift-river-73520
03/24/2023, 4:50 PMhigh-yak-85899
03/24/2023, 4:51 PMswift-river-73520
03/24/2023, 4:51 PMhigh-yak-85899
03/24/2023, 4:53 PMA.py
, B.py
, and C.py
where A
depends on C
and B
also depends on C
. If A
is supposed to come from one resolve and B
comes from another resolve, then you have to also go parametize C
so that Pants know which dependencies to pick up for C
whether it's building the A
package or the B
package.high-yak-85899
03/24/2023, 4:54 PMhigh-yak-85899
03/24/2023, 4:54 PMswift-river-73520
03/24/2023, 4:54 PMswift-river-73520
03/24/2023, 4:55 PMenough-analyst-54434
03/24/2023, 4:57 PMenough-analyst-54434
03/24/2023, 4:57 PMrefined-addition-53644
03/24/2023, 4:59 PMhigh-yak-85899
03/24/2023, 5:00 PM__defaults__
tooling to set up the parametrizing for you automatically.high-yak-85899
03/24/2023, 5:01 PMenough-analyst-54434
03/24/2023, 5:03 PMenough-analyst-54434
03/24/2023, 5:04 PMenough-analyst-54434
03/24/2023, 5:05 PMswift-river-73520
03/24/2023, 6:10 PMhigh-yak-85899
03/24/2023, 6:12 PMhigh-yak-85899
03/24/2023, 6:13 PMswift-river-73520
03/24/2023, 6:13 PMhigh-yak-85899
03/24/2023, 6:13 PMswift-river-73520
03/24/2023, 6:16 PMswift-river-73520
03/24/2023, 6:16 PM