ambitious-actor-36781
10/31/2021, 7:49 PM//3rdparty:xyz
to my dependencies more often than not.
at the point I want to just make it explicit.enough-analyst-54434
10/31/2021, 7:55 PMambitious-actor-36781
10/31/2021, 7:55 PMhundreds-father-404
10/31/2021, 8:06 PMambitious-actor-36781
10/31/2021, 8:24 PMgoogle.cloud.kms
)
One package (graphtik) is slightly broken and has an unspecified dependency on pandas, but if I add
pandas: [graphtik]
to my module_mapping
I then get errors about ambiguous dependencies.
and another package (spacy) also depends on the dataset library.
small things, and ultimately not really a Pants issue.hundreds-father-404
10/31/2021, 8:29 PMambitious-actor-36781
10/31/2021, 8:30 PMhundreds-father-404
10/31/2021, 8:33 PMpython_source
targets). Whereas when maintaining a BUILD file by hand it would be too much boilerplate to specify dependencies at a file level, so dependencies are usually between python_sources
targets (formerly python_library
), which are much coarser. For both Pants and Toolchain repos, dependencies became 30% more precise after adopting dependency inference
--
But, it's key dependency inference works well. So we're highly motivated to solve the problems you mentioned. Thank you for flagging them!ambitious-actor-36781
11/02/2021, 12:44 AMhundreds-father-404
11/02/2021, 12:49 AMoverrides
mechanism is a flagship feature of Pants 2.8 in general. Allows you to do things like
python_tests(
overrides={
"foo_test.py": {"timeout": 120},
"bar_test.py": {"timeout": 200},
},
)
Upcoming blog and docs changes will share more about thatambitious-actor-36781
11/02/2021, 12:55 AM