Skip to content

Commit 5a975bc

Browse files
committed
pants: switch to faster rust-based python-inference parser
Fixes for this were backported to pants 2.18.3, so we can now benefit from this massive performance boost for pants.
1 parent c0f4824 commit 5a975bc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pants.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ unowned_dependency_behavior = "ignore"
177177
# file that uses it. So, without manually disambiguating the dep in the BUILD file,
178178
# importing tests.unit.base in st2common/tests/unit will get a dep on st2common/tests/unit/base.py
179179
ambiguity_resolution = "by_source_root"
180-
# https://www.pantsbuild.org/v2.17/docs/reference-python-infer#use_rust_parser
181-
# This should be much faster, but is giving a lot of "more than one target owns this module" warnings.
182-
use_rust_parser = false
183180

184181
[setup-py-generation]
185182
# when building the package (with `pants package ::`), pants will,

0 commit comments

Comments
 (0)