Skip to content

Commit

Permalink
Temporarily disable the Toolchain plugin to facilitate landing Python…
Browse files Browse the repository at this point in the history
… 3.9 (#11466)

The plugin depends on pantsbuild.pants, but there is no 3.9 wheel available for Pants. 

We could force the plugin to not depend on pantsbuild.pants, which we may want to do anyways. But for simplicity, we simply disable the plugin for now.

[ci skip-rust]
[ci skip-build-wheels]
  • Loading branch information
Eric-Arellano committed Jan 14, 2021
1 parent 94b4fae commit a8c0f7b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ backend_packages.add = [
"pants.backend.python.typecheck.mypy",
"pants.backend.python.mixed_interpreter_constraints",
"internal_plugins.releases",
"toolchain.pants.auth",
"toolchain.pants.buildsense",
"toolchain.pants.common",
# "toolchain.pants.auth",
# "toolchain.pants.buildsense",
# "toolchain.pants.common",
]

plugins = [
"toolchain.pants.plugin==0.3.0",
]
#plugins = [
# "toolchain.pants.plugin==0.3.0",
#]

build_file_prelude_globs = ["pants-plugins/python_integration_tests_macro.py"]

Expand Down Expand Up @@ -142,5 +142,5 @@ interpreter_constraints = [">=3.7,<3.9"]
[sourcefile-validation]
config = "@build-support/regexes/config.yaml"

[toolchain-setup]
repo = "pants"
#[toolchain-setup]
#repo = "pants"
14 changes: 7 additions & 7 deletions pants.travis-ci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ junit_xml_dir = "dist/test-results/"
[coverage-py]
report = ["raw", "xml"]

[auth]
from_env_var = "TOOLCHAIN_AUTH_TOKEN"
org = "pantsbuild"
ci_env_variables = ["TRAVIS", "TRAVIS_JOB_ID", "TRAVIS_BUILD_ID", "TRAVIS_PULL_REQUEST", "TRAVIS_BUILD_WEB_URL"]

[buildsense]
enable = true
#[auth]
#from_env_var = "TOOLCHAIN_AUTH_TOKEN"
#org = "pantsbuild"
#ci_env_variables = ["TRAVIS", "TRAVIS_JOB_ID", "TRAVIS_BUILD_ID", "TRAVIS_PULL_REQUEST", "TRAVIS_BUILD_WEB_URL"]
#
#[buildsense]
#enable = true

0 comments on commit a8c0f7b

Please sign in to comment.