The ergonomic and hermetic software build system for Python, Java, Scala, 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.17.x Release Series
2.17.0.dev5 (May 08, 2023)
New Features
-
javascript: Implement dependency inference opt-out and improve resillience (#18931)
-
javascript: Add support for the pnpm package manager (#18864)
-
Eagerly clean running nodes rather than interrupting them. (#18855)
-
javascript: Nodejs tests batch support (#18742)
-
New API type:
CurrentExecutingGoals
. (#18788)
User API Changes
-
javascript: Support
package
goal innode_build_script
target (#18926) -
Deprecate running Pants outside scie-pants. (#18833)
-
Upgrade Pex to 2.1.135. (#18876)
Plugin API Changes
- Remove redundant PythonToolBase/JvmToolBase features. (#18805)
Bug Fixes
-
Ensure packaged artefacts are fully replaced in dist/ (#18930)
-
Use a set when calculating resolve names (#18939)
-
Use a set when calculating resolve names (#18939)
-
javascript: Handle package.json placed at the root of the repository (#18919)
-
Actually run deprecated targets fixer (#18860)
-
Remove existing entry if any when materialising symlink (#18873)
-
Ensure non-ambiguous args/env vars injection into PEXes (#18861)
-
Handle workdir="."/default properly in run_shell_command (#18840)
-
Write adhoc_tool(stdout/stderr="...") relative to workdir, support absolute paths (#18814)
-
Patch
StreamingWorkunitContext.get_expanded_specs()
. (#18713) -
help backends: Only list enabled experimental backends unless advanced help. (#18821)
-
Use build root as workdir for shell_command(workdir="") (#18813)
-
Include
pants.backend.url_handlers.s3
in pants distribution. (#18826)
Performance
Documentation
-
Update the identity of the response team for CoC violation reporting. (#16410)
-
Fix adhoc output_... example, document run_shell_command workdir changes (#18894)
-
Add missing backtick in help string (#18907)
-
Add Salesforce to the users list (#18891)
-
update troubleshooting document about self-hosted action runner (#18900)
-
Credit the Works on ARM program for our CI resources. (#18892)
-
feat: update installation.md (#18836)
-
Remove reference to readme.com as the way to edit documentation (#18863)
-
Fix library name typo in third party example (#18862)
-
Update mypy and pytest documentation to refer to install_from_resolve (#18791)
-
Include
symbols
as topic in usage help. (#18825) -
docs: reorder contributor steps, rustup is required for git hooks install to work smoothly (#18828)
2.17.0.dev4 (Apr 23, 2023)
New Features
-
javascript: Manage
npm
version with corepack (#18748) -
python_distribution
editable installs in exports (#18639)
User API Changes
-
Default to using the entire tool lockfile. (#18793)
-
Upgrade Pex to 2.1.134. (#18785)
-
Use the resolve's ICs for tools. (#18776)
-
Use Self backport in
BinaryPath
factory method. (#18763) -
Deprecate "Secondary Ownership" semantics (#18737)
-
Expand versions range for
ruff
+ upgrade it (#18707)
Plugin API Changes
Bug Fixes
-
The
OverridesField.compute_value()
must return a hashable value. (#18787) -
Dedup graph errors. (#18770)
-
Flush metadata to disk before renaming immutable store files (#18768)
-
Clear FSDB materialization cache when
remove
ing a file (#18747) -
Use address as stable key when batching field sets in
lint
/test
(#18725) -
Fix
repr
forField
s that don't definedefault
. (#18719) -
Add
ruff
lint rules (#18716) -
javascript: Use binary shims in nodejs sandboxes (#18682)
Documentation
-
Improve error location for invalid targets/target fields. (#18366)
-
Add info on how to configure Docker Desktop for using
docker_environment
(#18786) -
Update linter documentation to refer to
install_from_resolve
(#18781) -
docs: Fix typo on requirements-overrides code snippet (#18750)
-
Edit Python publishing docs for clarity. (#18718)
2.17.0.dev3 (Apr 10, 2023)
New Features
-
Helm: Add support for DNS lookups in Chart templates (#18670)
-
Include global Git ignore file and
.git/info/exclude
inpants_ignore
to ignore for file watching (#18649)
User API Changes
- Remove deprecated default ICs. (#18627)
Plugin API Changes
-
Move/Rename:
goals/setup_py.py
->{util_rules,goals}/package_dists.py
+subsystems/setup_py_generation.py
(#18702) -
Deprecate some
Request
types in favor ofGet()
with only one arg (#18655) -
Add support for
Get(MyType)
syntax with no input args (#18648)
Bug fixes
-
Adds a fully-qualified path to a Python interpreter for
pex_binary
RunRequest
s (#18699) -
Remove implicit conversion from
std::io::Error
toStoreError
(#18696) -
Add timeout to remote store calls, and adjust name of cache timeout. (#18695)
-
Makes
adhoc_tool
actually respect theextra_env_vars
field; adds tests (#18692) -
doc: Describe relevant error modes during rule compilation (#18663)
-
Bump minimum supported version of Pex to v2.1.129. (#18678)
-
Fix JVM resource JAR creation on older Mac OSes (#18673)
-
javascript: Do not read none mapped package.json files in javascript rules (#18523)
Documentation
-
Add PEP 621 pyproject.toml file docs (#18672)
-
Document AWS CDK issue that multiple users have encountered. (#18656)
-
Error when goals used without relevant backends activated (#18420)
-
Improve lockfile consumption error message. (#18638)
-
Remove a python-specific tip from the general prereqs page. (#18637)
-
Make UUID message clearer (#18561)
2.17.0.dev2 (Mar 31, 2023)
New Features
-
javascript: Test goal with package manager installed test runner support (#18554)
-
expose PANTS_VERSION and make it string-comparable (#18573)
User API Changes
- Upgrade Pex to 2.1.131. (#18626)
Bug fixes
-
Ensure that sandboxed processes exit before their sandboxes are cleaned up (#18632)
-
Plumb entire lockfile/internal only code through
create_pex_from_targets
(#18622) -
narrow pex_binary files warning (#18619)
-
Fix PexPEX invocations (#18610)
-
Improve debug information for docker auth, and expose an environment variable. (#18599)
Performance
- Only materialize immutable files once per process (#18600)
Documentation
-
Fix a string that should have been an f-string (#18608)
-
Fix
./pants
->pants
in some docs and help strings. (#18596)
2.17.0.dev1 (Mar 24, 2023)
New Features
-
engine: add an option to clear the destination directory when writing digest to disk (#18534)
-
javascript: NodeJS bootstrapping via binary paths, PATH, asdf or nvm (#18520)
-
javascript: Initial NPM support (#18326)
-
Always provide Python-for-Pants-scripts (#18433)
User API Changes
-
Upgrade Pex to 2.1.130. (#18576)
-
Deprecate old-style custom tool lockfiles. (#18494)
-
Let a user resolve shadow a tool lockfile of the same name (#18481)
Bug fixes
-
Ensure that a symlinked exported venv exists and is valid. (#18575)
-
Fail fast for attempts to use
test --debug
with a docker environment (#18560) -
Declare ruff outputs as files. (#18551)
-
Add support for Docker registry auth (#18541)
-
Fix Poetry req synthesis for URLs with markers. (#18535)
-
Re-enable hardlinking using
fclonefileat
on macOS. (#18501)
Performance
-
Materialize "large" files in a new store location and hardlink them in sandboxes (#18153)
-
Finish parallelizing materialization of Process inputs (#18469)
Documentation
-
First pass at
adhoc_tool
documentation (#18531) -
Add Tobias Nilsson to team page (#18571)
-
docs: fix an f-string in help (#18539)
-
Clarify that
experimental_
shell functions are deprecated and replaced (#18529) -
Update docs on running pants from sources with scie-pants. (#18513)
-
Add ExoFlare to user list. (#18496)
-
Fix malformed pantsbuild/example-python link in documentation (#18484)
-
update scie-jump cache directory reference (#18485)
-
Expand lockfile documentation to its own page. (#18471)
2.17.0.dev0 (Mar 10, 2023)
New Features
-
Expose environment information on process metadata (#18458)
-
Support running
pants
from anywhere in the project. (#18412)
User API Changes
Bug fixes
-
Preserve environment variables in
pantsd
to allow Docker auth. (#18465) -
Only expose the equiv of
from typing import *
in prelude files (#18452) -
Support type hints in prelude files. (#18442)
-
Synthesized lockfile targets should never err on missing lockfiles. (#18406)
-
Fixes to visualisations for xdot (#18421)
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.17.0.dev5-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22cd31884961f97ba08546579ce8b9dc7876192aece41ab9a15ae028d1567199 |
|
MD5 | 69292eae09773869f1459e0a44264ea1 |
|
BLAKE2b-256 | 54c311950444fbcf3c881cbf6e0cb9020ca0025cafafd07b0d4d516e4f5f3cf2 |
Hashes for pantsbuild.pants-2.17.0.dev5-cp39-cp39-manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53face4ed9b9b65811b26ed046ed313f459a75a497aa57db4dcf9793e733d3ad |
|
MD5 | f4692f3fa74131c07a118c59a0e9c8ce |
|
BLAKE2b-256 | bc8923d66518afc2bf4fa7288ad9c55eb4d05c57714e51e54c18b387bd8f3018 |
Hashes for pantsbuild.pants-2.17.0.dev5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b7595aaf0192dbfb0a152309bf12ecdf4b04e97fafa6f4b2c3ac64a51dda47 |
|
MD5 | 7e3466037d6bd822211730d20a388360 |
|
BLAKE2b-256 | 9318a55c27e66278f5bbd607485427f46122f4c628926f578b9708391387223f |
Hashes for pantsbuild.pants-2.17.0.dev5-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345cd07ea95afce0e3158c21a72ddf0808b988014eb90aea246255d413914c40 |
|
MD5 | b17325ae279b3055bdf326cf4457465c |
|
BLAKE2b-256 | 8ea387d31a2939d4cbd450d48e9f99f80cee2156990b42c0f2b8a7925906223b |
Hashes for pantsbuild.pants-2.17.0.dev5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee8ba29d63e705daf5defaac229190dc0aec0ceeed03a9119deda2de8b9c1799 |
|
MD5 | 409929b0d6cec4d6dd16e3ce604d2263 |
|
BLAKE2b-256 | 76680de0f159ffe67079b9696b98bd15e6a287f57ea4c98bbd7ce593e182660b |
Hashes for pantsbuild.pants-2.17.0.dev5-cp38-cp38-manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 992cf90c382d954d8f21f7fdabed3ef22556170c3de848710a993bb06076f0f7 |
|
MD5 | 0550155e2315741906e70a6af0ff4637 |
|
BLAKE2b-256 | 7f478a10c008c27b9c1e6ee0753de3ab54e5fb57d92209f6250e7f2a21840cf9 |
Hashes for pantsbuild.pants-2.17.0.dev5-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4865f4db1265f69b62a2c21c9045bba62d574b312c3dd52bec845fe4760e1daa |
|
MD5 | 146eaaff7c70fba48f1f1cab2ebb4d4c |
|
BLAKE2b-256 | 893e5e43df539d24d0c45750dc193e85ded89e4b70b0a189874a403e01cc9831 |
Hashes for pantsbuild.pants-2.17.0.dev5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e47af1bc16d31cb8c1b6cc846094e3e8a7d8c3805e0c683d06ee309340c0deb |
|
MD5 | 6463e0cebbd15d56fd802a94da8a3543 |
|
BLAKE2b-256 | e727d79704e6a82913471a6d72889d5294b43f836d4f659cfa57fd90db76920d |
Hashes for pantsbuild.pants-2.17.0.dev5-cp37-cp37m-manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 879eeec2d9eaea1c70a42b07f7d023c01577db3a46570ec4471f9bcea578b2af |
|
MD5 | a113679dec6e378288a323f9827c06d2 |
|
BLAKE2b-256 | f9a838d38edfdf42eaf8621c54fd235545e8a300ba341f0e11bf879094236a41 |
Hashes for pantsbuild.pants-2.17.0.dev5-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a617571d2b92045132015f8b45776aa3141886dd2e17928671e73c138dd0a398 |
|
MD5 | 58fc3ac0eeb7351fbc977d7d9f9f6efa |
|
BLAKE2b-256 | 7aac5642cbf24ed33110b2d7672939c279aaf1109e5dc8162dde3788db54c2ad |