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

proud-dentist-22844

01/31/2023, 10:44 PM
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

curved-television-6568

01/31/2023, 10:54 PM
don’t you find this out quickly by trying it? 🙂
p

proud-dentist-22844

01/31/2023, 11:04 PM
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

curved-television-6568

02/01/2023, 12:08 AM
I suspected as much.. but wasn’t sure 😉
4 Views