Skip to content

Commit ab7a1d8

Browse files
committed
make pants tailor ignore python_requirements targets
these requirements files will eventually be deleted. Including duplicate requirements definitions makes dependency inferrence ambiguous in pants, so we need to avoid adding duplicates.
1 parent 8f5e44b commit ab7a1d8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pants.toml

+13
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ pants_ignore.add = [
1414
# TODO: remove these once we start building wheels with pants.
1515
"dist_utils.py",
1616
"setup.py",
17+
# keep tailor from using legacy requirements files (not for pants)
18+
"contrib/examples/requirements.txt",
19+
"contrib/hello_st2/requirements.txt",
20+
"contrib/runners/*/in-requirements.txt",
21+
"contrib/runners/*/requirements.txt",
22+
"st2*/in-requirements.txt",
23+
"st2*/requirements.txt",
24+
"st2common/tests/fixtures/requirements-used-for-tests.txt",
25+
"/fixed-requirements.txt",
26+
"/test-requirements.txt",
27+
# keep requirements.txt for now. We might ignore it if we need an alternate interrim
28+
# file that is decoupled from our legacy requirements files generation.
29+
# "/requirements.txt",
1730
]
1831

1932
[source]

0 commit comments

Comments
 (0)