This release is a pre-release and may not be stable for production use.
Pants is an Apache2 licensed build tool written in Python and Rust.
The latest documentation can be found at pantsbuild.org.
2.12.x Release Series
2.12.0a0 (Apr 29, 2022)
New Features
User API Changes
- Upgrade Pex to 2.1.84. (#15288)
Plugin API Changes
-
Allow for arbitrary suffixes when extracting (#15257)
-
Add lz4 support to archive extraction (#15245)
Bug fixes
-
Simplify BSP metadata merging, and handle the empty list. (#15283)
-
BSP resolve filtering observes computed default values of resolve fields (#15282)
-
Memoize equality for
CoarsenedTarget(s)to avoid exponential runtime incheck. (#15277) -
Fix ambiguity of Scala
package objects withclassorobjectdefinitions (#15265) -
Fix issue with Docker publish when using
[docker] tools. (#15255) -
Do not lowercase Docker image tags. (#15254)
-
Fix the placement of the pex verbosity args. (#15243)
-
Fix use of
@in path names. (#15226) -
Fix lockfile generation for duplicate
jvm_artifacttargets withjarfields. (#15219) -
golang: add more cache keys based on tool IDs (#15205)
-
Mention resolve when partitioning Mypy and Pylint (#15172)
Performance
MyPyandPylintpartition inputs viaCoarsenedTarget(#15141)
Documentation
-
Fix
ProtobufSourcesOverridesFieldhelp message (#15272) -
Update
helpfor python resolves with recent improvements (#15228) -
Improve cache-related error message to be less confusing (#15202)
-
Show
experimental-bspgoal in help (#15208)
2.12.0.dev3 (Apr 16, 2022)
New Features
-
Address specs for parametrized target templates expand to their created targets (#15126)
-
Implement
publishgoal for Helm charts (#15042) -
add experimental kotlin backend to distribution (#15109)
-
Support pip-style VCS requirements. (#15097)
User API Changes
Plugin API Changes
-
Throw a
DuplicateRuleErrorwhen there are conflicting rules in a module. (#15073) -
Expose
GitWorktreeas an@rule(#15030)
Bug fixes
-
Fix Requires-Python for pantsbuild.pants wheel. (#15149)
-
Allow dashes in inferred asset strings (#15123)
-
Fix when the same
python_requirementdefines both type stub and implementation (#15121) -
Fix missing field check in go protobuf rules (#15105)
Documentation
-
Last round of softwrapping help strings (#15142)
-
Softwrapping a few more files (#15138)
-
Softwrap python backend help strings (#15137)
2.12.0.dev2 (Apr 11, 2022)
New Features
-
Support for env var interpolation in config files. (#15087)
-
Support for finer control over which Docker images to push. (#15000)
-
Add a helpful hint to
lintif a formatter fails (#15048) -
Add support for Helm 3rd party dependencies (#14964)
User API Changes
-
Default
[python].lockfile_generatorto Pex (#15074) -
Upgrade Pex to 2.1.78. (#15078)
-
terraform: remove
terraform_modulesgenerator target type (#15035) -
Upgrade to Pex 2.1.77. (#15015)
-
Change JVM defaults to use Temurin JDK distribution (#15009)
Plugin API Changes
-
Remove deprecated
register_optionssupport. (#15090) -
Remove deprecated target generator API affordances. (#15091)
-
Add
@rule_helperdecorator, which participates in awaitable collection (#15025)
Bug fixes
-
Enable codegen on relocated files (#15100)
-
Preserve tombstones for workunits which complete while they still have children (#15088)
-
Clean the export dir under dist/ before populating it. (#15068)
-
Do not use a repository-PEX if a PEX has platforms specified (#15031)
-
Fix default layout and use of PEX-repositories for legacy lockfiles (#15014)
-
Pin pytest 7.0.1 (#14997)
Documentation
-
files/dirs swapped in Snapshot's repr (#15101)
-
Tweak deprecation messages. (#15027)
-
Add some codegen and terraform backends to docs generator (#15036)
-
Text in angle brackets needs to be escaped for the docsite. (#15046)
-
Fix presented provider backend for rules/subsystems. (#14999)
2.12.0.dev1 (Apr 05, 2022)
New Features
-
Support restricting specific requirements to just wheels or just sdists. (#14985)
-
Add support for Helm unittest (#14849)
-
Add support for parsing address parameters to CLI specs parsing (#14949)
User API Changes
-
Merge list values across config files. (#14850)
-
Write test reports to a standard location under the distdir. (#14929)
-
Upgrade Pex to 2.1.76. (#14992)
-
Upgrade coursier to v2.1.0-M5-18-gfebf9838c (#14978)
Plugin API Changes
-
"Unify"
fmtandlintrules for formatters (#14903) -
Refactor
prior_formatter_resultand its usage (#14987) -
Deprecate not implementing
TargetGeneratorinGenerateTargetsRequestimplementors. (#14959)
Bug fixes
-
add go protobuf backend to init/BUILD (#14979)
-
Fix Pylint config check strings (#14946)
-
Fix missing
checkoutput by allowing disabled workunits to re-enable themselves (#14934) -
Fix unrecognized field error and
update-build-filesto handle target generator moved fields (#14847)
Performance
- Make PEX lockfile subsetting incremental (#14944)
Documentation
- Don't warn if no relevant targets in glob or --changed. (#14904)
2.12.0.dev0 (Mar 25, 2022)
New Features
-
Add Protobuf formatting using buf format (#14907)
-
add registration for the Go Protobuf backend (#14874)
User API Changes
-
Remove
--use-deprecated-python-macrosin favor of always using target generators (#14842) -
Add
django-dotenv,django-safedeleteandfactory-boyto default Python module mapping (#14848) -
Add cattrs to Python's DEFAULT_MODULE_MAPPING (#14845)
-
hcl parser 3.0.5 (#14878)
Plugin API Changes
- FmtResult now operates on Snapshots (#14865)
Bug fixes
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pantsbuild.pants-2.12.0a0-cp39-cp39-manylinux2014_x86_64.whl.
File metadata
- Download URL: pantsbuild.pants-2.12.0a0-cp39-cp39-manylinux2014_x86_64.whl
- Upload date:
- Size: 49.0 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c78d0de040d1cf10810928fa746ac936b44dc75b1c7d11c5e6861e51c3465b0
|
|
| MD5 |
596a1454ef7388b42fc0ca1287b2c47f
|
|
| BLAKE2b-256 |
a4c51c268fd09cd466b10ac3e7906683b4a4ede85756652b8d8f6a418cd23e4d
|
File details
Details for the file pantsbuild.pants-2.12.0a0-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: pantsbuild.pants-2.12.0a0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 7.9 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38215f6e20233dcb85c2d1ca54b3693659dd9decd596ed2820c8b68e1df7fa3e
|
|
| MD5 |
8b5ebafcac9e3126d2aa69e095ce583f
|
|
| BLAKE2b-256 |
7c04eaf9060978272c097617a35d74281178e4b108b80fa30966c18dbc8b0174
|
File details
Details for the file pantsbuild.pants-2.12.0a0-cp39-cp39-macosx_10_15_x86_64.whl.
File metadata
- Download URL: pantsbuild.pants-2.12.0a0-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 8.2 MB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0c6bd111fc22b96c8e9629ffaf244973774db54bd0a261710692b71ad4500ee
|
|
| MD5 |
269f3f73d332983607b5b427b1db5db3
|
|
| BLAKE2b-256 |
5ba4f1bec55039661dcd56e8bb461d77a660e255c5994fe6334ef657fb14477d
|
File details
Details for the file pantsbuild.pants-2.12.0a0-cp38-cp38-manylinux2014_x86_64.whl.
File metadata
- Download URL: pantsbuild.pants-2.12.0a0-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 49.0 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cd7ffaaed67c2511f168fb6cff2c3f0fa1647bda7b43aba70221a09e892a784
|
|
| MD5 |
a0578361b12f42dbc6f86f5db1b02a67
|
|
| BLAKE2b-256 |
8ba6af94def39a1dde65fcce6a2d4ece9a15fb4905506b6c9ea6ebad14c80bb6
|
File details
Details for the file pantsbuild.pants-2.12.0a0-cp38-cp38-macosx_10_15_x86_64.whl.
File metadata
- Download URL: pantsbuild.pants-2.12.0a0-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 8.2 MB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5b19d97c42ee3d67b11a851c7231ba2a6acbac73a2837fce149c85f6454e44b
|
|
| MD5 |
661b26262fe9c926c667fa6598bcdba6
|
|
| BLAKE2b-256 |
54cc70beb357196ed390a899dab482c421fca41cccb3824454fb11effe2c876b
|
File details
Details for the file pantsbuild.pants-2.12.0a0-cp37-cp37m-manylinux2014_x86_64.whl.
File metadata
- Download URL: pantsbuild.pants-2.12.0a0-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 49.0 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cab7857dcd68ea46feac0fe1a3474f2bfb3fc9a7ff73f53f5c5f51bfb125477
|
|
| MD5 |
e288338079af599709ad3b058d9cd21b
|
|
| BLAKE2b-256 |
ebac99512d3c0aab60a69f71a6d3bfdd1f2137393c10b1d568e62491d705e537
|
File details
Details for the file pantsbuild.pants-2.12.0a0-cp37-cp37m-macosx_10_15_x86_64.whl.
File metadata
- Download URL: pantsbuild.pants-2.12.0a0-cp37-cp37m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 8.2 MB
- Tags: CPython 3.7m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
497bf09b0a5028017d06deb32b292833cf1126166f4cd36fbfbfb491a5f081da
|
|
| MD5 |
5e006a8fca6e5004bcf8b4f399c51d31
|
|
| BLAKE2b-256 |
dec6c3bcf2d7a0c5d5f3ac8a2b37235cbf72090c75272bd3f52dcc9eafaa745d
|