Skip to content

Commit

Permalink
Enable language backends
Browse files Browse the repository at this point in the history
https://www.pantsbuild.org/docs/initial-configuration\#enable-backends

This does not add any lint/fmt/etc backends, just the language-specific ones.

The experimental.python backend is required for twine support.
Twine is used to publish wheels to pypi.
  • Loading branch information
cognifloyd committed Sep 11, 2022
1 parent 18d4dd4 commit 21e2480
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Added

* Begin introducing `pants <https://www.pantsbuild.org/docs>`_ to improve DX (Developer Experience)
working on StackStorm, improve our security posture, and improve CI reliability thanks in part
to pants' use of PEX lockfiles. This is not a user-facing addition. #5713 #5724 #5726
to pants' use of PEX lockfiles. This is not a user-facing addition. #5713 #5724 #5726 #5725
Contributed by @cognifloyd

Changed
Expand Down
9 changes: 9 additions & 0 deletions pants.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
[GLOBAL]
pants_version = "2.13.0rc2"
backend_packages = [
# python
"pants.backend.python",
"pants.backend.experimental.python", # activates twine `publish` support
"pants.backend.python.mixed_interpreter_constraints",

# shell
"pants.backend.shell",
]

[source]
# recording each pack individually under root patterns is not great, but resolves these issues:
Expand Down

0 comments on commit 21e2480

Please sign in to comment.