Skip to content

Commit

Permalink
make pants tailor ignore python_requirements targets
Browse files Browse the repository at this point in the history
these requirements files will eventually be deleted.
Including duplicate requirements definitions makes dependency inferrence
ambiguous in pants, so we need to avoid adding duplicates.
  • Loading branch information
cognifloyd committed Sep 20, 2022
1 parent 8f5e44b commit ab7a1d8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ pants_ignore.add = [
# TODO: remove these once we start building wheels with pants.
"dist_utils.py",
"setup.py",
# keep tailor from using legacy requirements files (not for pants)
"contrib/examples/requirements.txt",
"contrib/hello_st2/requirements.txt",
"contrib/runners/*/in-requirements.txt",
"contrib/runners/*/requirements.txt",
"st2*/in-requirements.txt",
"st2*/requirements.txt",
"st2common/tests/fixtures/requirements-used-for-tests.txt",
"/fixed-requirements.txt",
"/test-requirements.txt",
# keep requirements.txt for now. We might ignore it if we need an alternate interrim
# file that is decoupled from our legacy requirements files generation.
# "/requirements.txt",
]

[source]
Expand Down

0 comments on commit ab7a1d8

Please sign in to comment.