strong-xylophone-41556
10/02/2023, 10:19 AM% npm ls react
app@0.1.0
βββ¬ @auth0/auth0-react@1.10.1
β βββ react@18.2.0 deduped
βββ¬ @emotion/react@11.10.4
β βββ¬ @emotion/use-insertion-effect-with-fallbacks@1.0.0
β β βββ react@18.2.0 deduped
...
little-artist-22664
10/02/2023, 10:55 AMstrong-xylophone-41556
10/02/2023, 10:58 AM% pants paths --paths-from=3rdparty/python:aws#botocore --paths-to=./src/lambda/handler.py
[]
strong-xylophone-41556
10/02/2023, 10:59 AMdependents
but is not clear to me how that worksstrong-xylophone-41556
10/02/2023, 11:00 AMimport
in src/lambda/handler.py
is pulling in botocore
For context, there is a target src/lambda:handler
little-artist-22664
10/02/2023, 11:05 AMdependents
maybe look at:
pants dependents 3rdparty/python:aws#botocore
first, so you pick up on the direct dependents of the library. Then add --transitive
. TBH I havenβt played with paths
yet.little-artist-22664
10/02/2023, 11:47 AMpaths
β¦ If I put the same target for from
and to
I get the path as a result. Which is expected. But I put one of the results of dependents
as the to
I get an empty listβ¦strong-xylophone-41556
10/02/2023, 11:49 AMenough-analyst-54434
10/02/2023, 11:55 AMpaths
and dependants
goal are 1st party only. They stop at the boundaries of the repo and do not traverse into 3rdparty deps.enough-analyst-54434
10/02/2023, 11:56 AMstrong-xylophone-41556
10/02/2023, 12:00 PMenough-analyst-54434
10/02/2023, 12:05 PM"requires_dists"
lists and work backwards. For example, why does Pants itself depend on sniffio? Because anyio depends on it: https://github.com/pantsbuild/pants/blob/74127491f69e698bf9243c6af0a02c8ef42d9080/3rdparty/python/user_reqs.lock#L105 and starlette depends on anyio: https://github.com/pantsbuild/pants/blob/74127491f69e698bf9243c6af0a02c8ef42d9080/3rdparty/python/user_reqs.lock#L1649, etc...enough-analyst-54434
10/02/2023, 12:08 PMstrong-xylophone-41556
10/02/2023, 12:09 PMenough-analyst-54434
10/02/2023, 12:11 PMenough-analyst-54434
10/02/2023, 12:13 PMenough-analyst-54434
10/02/2023, 12:15 PMstrong-xylophone-41556
10/02/2023, 12:42 PMstrong-xylophone-41556
10/02/2023, 12:43 PMenough-analyst-54434
10/02/2023, 12:50 PMenough-analyst-54434
10/02/2023, 12:52 PMhappy-kitchen-89482
10/02/2023, 7:56 PMstrong-xylophone-41556
10/02/2023, 8:00 PMenough-analyst-54434
10/02/2023, 8:01 PMhappy-kitchen-89482
10/02/2023, 8:10 PMhappy-kitchen-89482
10/02/2023, 8:10 PMhappy-kitchen-89482
10/02/2023, 8:10 PMstrong-xylophone-41556
10/02/2023, 8:33 PM