Skip to content

Commit 106cea7

Browse files
committed
Enable language backends
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.
1 parent dc00da8 commit 106cea7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Added
5353

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

5959
Changed

pants.toml

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
[GLOBAL]
22
pants_version = "2.13.0rc2"
3+
backend_packages = [
4+
# python
5+
"pants.backend.python",
6+
"pants.backend.experimental.python", # activates twine `publish` support
7+
"pants.backend.python.mixed_interpreter_constraints",
8+
9+
# shell
10+
"pants.backend.shell",
11+
]
312

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

0 commit comments

Comments
 (0)