If a `python_test` target depends a `python_distri...
# general
p
If a
python_test
target depends a
python_distribution
target (a packagable target) via the
depenedencies
field instead of the
runtime_package_dependencies
field[1], will the
python_test
transitively depend on everything the
python_distribution
depends on (like the deps inferred from entry_points)? [1] https://www.pantsbuild.org/docs/python-test-goal#testing-your-packaging-pipeline I want to depend (well, actually infer a dep from within a plugin) on the underlying code without actually generating the wheel.
1
c
don’t you find this out quickly by trying it? 🙂
p
yeah. I had to ask the question, and then think through where I could try it out. Now I've got my answer: Yes, it gets transitive deps on the underlying code.
👍 1
c
I suspected as much.. but wasn’t sure 😉