https://pantsbuild.org/ logo
#general
Title
# general
c

calm-ambulance-65371

06/10/2022, 2:47 PM
Is it normal to see
python_distributions
depend on other
python_distributions
when the only
import
statements from A -> B is in test files?
w

witty-crayon-22786

06/10/2022, 4:56 PM
test files shouldn’t be included in
python_distributions
at all, unless they have been put there explicitly
why are the tests in the distribution?
can use
./pants paths --from=$x --to=$x
c

calm-ambulance-65371

06/10/2022, 4:58 PM
I ended up figuring it out, we had some files that should have been
python_test_utils
targets but were
python_sources
(they also happened to have a name like
xxx_test_yyy.py
which was mildly confusing
2 Views