The ergonomic and hermetic software build system for Python, Java, Scala, Kotlin, Go, and Shell. Pants lets you fearlessly scale up your codebase.
Project description
Pants is an Apache2 licensed build tool written in Python and Rust.
The latest documentation can be found at pantsbuild.org.
2.18.x Release Series
2.18.0.dev4 (Jul 08, 2023)
New Features
- Support per backend requirements (#19406)
Bug Fixes
-
Embed a hash of the relevant implementation into the dep inference cache (#19393)
-
Improved error message when referencing undefined BUILD symbols (#19286)
Documentation
-
Refine run_shell_command docs (#19413)
-
Tweak getting-help docs (#19418)
-
Add a sponsorships page to the docsite. (#19412)
2.18.0.dev3 (Jun 30, 2023)
New Features
-
turn
path/BUILD
intopath
in thetailor
goal (#19323) -
Terraform: Add
experimental-deploy
and wire-in dependency inference (#19185) -
add support for alias-flags (#19034)
-
Add environment variable help options (#19078)
-
Add build_network option to docker_image target (#19354)
User API Changes
- Remove support for referencing 2nd owner via file. (#19400)
Plugin API Changes
- Remove deprecated
PythonBinary
type. (#19399)
Bug Fixes
- Fix pytest-cov validation check. (#19366)
Documentation
-
docs: recommend scie-pants on upgrade tips page (#19139)
-
docs: fix markdown inconsistencies (#19363)
-
docs: apply suggested edits to guide docs from readme.com (#19374)
-
docs: add style guide instructions for writing Python help strings (#19365)
-
docs: update plugin writing tutorials (#19369)
-
docs: fix markdown inconsistencies (#19359)
2.18.0.dev2 (Jun 19, 2023)
New Features
-
Support Helm unittest snapshots (#19264)
-
javascript: Rust based dep inference for javascript (#18985)
-
Add
TraverseIfNotPackageTarget
deps traversal predicate for use in plugins (#19306) -
Deprecate old value interpolation in Helm deployments (#19302)
-
Infer FaaS runtime from interpreter constraints, when unambiguous (#19314)
-
Include complete platforms for FaaS environments for more reliable building (#19253)
-
Add experimental support for Rustfmt (#18842)
-
Helm deployment chart field (#19234)
Plugin API Changes
- Replace
include_special_cased_deps
flag withshould_traverse_deps_predicate
(#19272)
Bug Fixes
-
Fix helm documentation example (#19271)
-
Raise an error if isort can't read a config file (#19294)
-
Improve handling of additional files in Helm unit tests (#19263)
-
Add taplo to the release (#19258)
-
Handle
from foo import *
wildcard imports in Rust dep inference parser (#19249) -
Support usage of
scala_artifact
addresses inscalac_plugin
targets (#19205)
Performance
scandir
returnsStat
s relative to its directory. (#19246)
Documentation
-
docs: layout tweak of caching info, remove toolchain :( and additional info about bazel-remote-cache (#19299)
-
Get doc titles from the in-repo markdown files (#19311)
2.18.0.dev1 (Jun 02, 2023)
New Features
-
Add support for packaging python AWS Lambda layers (#19123)
-
Add visibility linter to report all violations. (#17671)
User API Changes
-
Remove the old Python tool lockfile functionality. (#19218)
-
Rename
python_awslambda
topython_aws_lambda_function
(#19216) -
Deprecate the version/extra_requirements options on python tools. (#19204)
Plugin API Changes
- Deprecate using
PythonBinary
(#19209)
Bug Fixes
-
store stdout/stderr output from tests as bytes (#19184)
-
Discover Scala REPL main class and coordinates (#19189)
-
Scrub the Pyenv install dir before attempting an install. (#19193)
-
Include scala_artifact classpath rule (#19190)
-
docker_image
: secrets paths are now expanding~
to the users home directory. (#19130) -
Support explicit dependencies with scala_artifact (#19187)
-
Avoid extra
.
infrom .. import
parent imports in Rust Python dep inference (#19175)
Documentation
-
Update FaaS docs for 2.18, including Lambda layers (#19217)
-
Add
tobni
to Maintainers (#19195) -
Adjust FaaS docs for
layout = "zip"
(#19180)
2.18.0.dev0 (May 26, 2023)
New Features
-
Support scala_artifact (#19128)
-
pass "--debug" flag to all helm invocations if requested (#19093)
-
Enable env vars in
node_build_script
(#19100)
User API Changes
-
Remove or bump deprecations (#19169)
-
Switch to [lambdex].layout = "zip" by default, deprecating the section (#19122)
-
javascript: Allow nodejs-backed tools to point to a resolve and/or package manager (#19040)
-
Terraform: Hashes for MacOS binaries have changed (#19004)
-
Implement layout="zip" for Lambda/GCF, deprecating lambdex (#19076)
-
Run
terraform init
as part ofcheck
goal (#18974) -
Deprecate [mypy].extra_type_stubs and its lockfile. (#19084)
-
Remove more 2.18.0.dev0 deprecations (follow up to #19073) (#19077)
-
Bring the tool
--export
option deprecation forward. (#19079) -
Only build and release wheels for Python 3.9. (#18829)
-
Require pants to run via scie-pants. (#19075)
-
Some 2.18.0.dev0 deprecations (#19073)
-
Implement layout="zip" for Lambda/GCF, skipping lambdex (#19022)
Plugin API Changes
- Simplify interpreter-related CI config. (#19096)
Bug Fixes
-
If a shebang already exists when adding a preamble, preserve it. (#19133)
-
Workaround
botocore
bug in S3 URL Handler backend (#19056) -
Don't try and garbage collect tempfiles (#19103)
-
Allow the usage of digits in named cache names (#19052)
Documentation
Project details
Release history Release notifications | RSS feed
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
Hashes for pantsbuild.pants-2.18.0.dev4-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da714b30a4f72f457a8161c30478c701a523a8164878489ca36aad7a84e47419 |
|
MD5 | 67e3aae8228bbc1b9ea569e0d817dafc |
|
BLAKE2b-256 | 4fb4df6ac9536d4c08fd88bf7c5c987194536bbfec63cb5f338daf61435eafd4 |
Hashes for pantsbuild.pants-2.18.0.dev4-cp39-cp39-manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7a20625298608aa615f82179f04e0d6e0b028e10010498463d9da244057dc73 |
|
MD5 | 145b1f353aac3d420b9173f4cac4e599 |
|
BLAKE2b-256 | 820cd306e773b06b5b8ce975296b92ffe8451193437bb2a1a63866e6ba285002 |
Hashes for pantsbuild.pants-2.18.0.dev4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6a913542881d6f0f044a559cb4def0e1e5f6a134ec6b6ffee6f73939cba32b |
|
MD5 | ab5dc220446c2c50f70cd10fb5821fcd |
|
BLAKE2b-256 | ce4a1c5c76e3b2208b25b9c098433e62b4619ffb396abe4094505261b76e1c51 |
Hashes for pantsbuild.pants-2.18.0.dev4-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 418b93e8ca9044c36f2c62c5ee31ff017671615b732f0fdf02d4995896fd8bef |
|
MD5 | 22998d21adb0953130934cfc24955b51 |
|
BLAKE2b-256 | 55a5ff69bde909a5acc693c8d43ace87d0409ad869cc1dd22c8b2312e93a1141 |