A scalable build tool for large, complex, heterogeneous repos.
Project description
Pants is an Apache2 licensed build tool written in Python.
The latest documentation can be found at pantsbuild <https://www.pantsbuild.org/>
_.
2.6.x Stable Releases
2.6.1 (Sep 15, 2021)
The second stable release of the 2.6.x
series, with no changes since the previous rc!
2.6.1rc3 (Sep 05, 2021)
Bug fixes
-
Fix UI rendering when a workunit has completed children but no running children (cherrypick of #12748) (#12752)
-
Include
.gitignore
in defaultpantsd_invalidation_globs
(#12711) (#12730)
Documentation
- Fix Toolchain plugin being included in generated reference docs (Cherry-pick of #12642) (#12647)
2.6.1rc2 (Aug 24, 2021)
New Features
- Default to
my-dep-stubs
andstubs-my-dep
being third-party type stubs (Cherry-pick of #12598) (#12600)
Bug fixes
-
Fix
FindBinary
whenwhich
is discoverable on$PATH
on macOS (Cherry-pick of #12581) (#12631) -
pyenv should fall back to $HOME/.pyenv (Cherry-pick of #12527) (#12628)
Documentation
- Embrace that help strings are markdown. (#12606) (#12608)
2.6.1rc1 (Aug 16, 2021)
Bug fixes
- Fix shlexing of passthrough args. (#12547) (#12551)
Performance
- Stream files into the local store while capturing them (cherrypick of #12563) (#12572)
2.6.1rc0 (Aug 06, 2021)
New Features
-
Add
skip_tests
field topython_tests
to facilitate incremental migrations (Cherry-pick of #12510) (#12511) -
Adds support for Poetry group dependencies (Cherry-pick of #12492) (#12497)
User API Changes
- Add to default module mapping: Django extensions, Google Cloud, Pillow, and python-dotenv (Cherry-pick of #12506) (#12507)
Bug fixes
-
Make the pantsd crash error message more precise. (#12512) (#12513)
-
Resolve plugins using the PEX --python option. (cherrypick of #12500) (#12504)
-
Shield isolated-Sessions / StreamingWorkunitHandlers from Ctrl+C. (cherrypick of #12483) (#12485)
Performance
- Don't resolve constraints file / lockfile if no 3rd-party requirements used (Cherry-pick of #12488) (#12490)
2.6.0 (Jul 30, 2021)
The first stable release of the 2.6.x
series, with no changes since the previous rc
!
2.6.0rc4 (Jul 27, 2021)
New Features
- Add option for async completion of StreamingWorkunitHandlers, disable by default in containers (Cherry-pick of #12392) (#12399)
Performance
-
Skip preparation of workunit log messages which will never be rendered. (Cherry-pick of #12396) (#12400)
-
Do not upload Action inputs for remote cache writes. (Cherry-pick of #12443) (#12444)
Documentation
-
Clarify when we are subsetting the lockfile for 3rdparty dependencies (Cherry-pick of #12435) (#12439)
-
Fix the content type for Pants' wheel long_descriptions. (Cherry-pick of #12391) (#12402)
2.6.0rc3 (Jul 20, 2021)
User API Changes
- Add
[python-setup].interpreter_versions_universe
to ensure Pants works robustly with future Python interpreters (Cherry-pick of #12379) (#12383)
Bug fixes
-
More robust support for Poetry dependency attributes (
markers
andextras
) (Cherry-pick of #12323) (#12385) -
Mark workunits blocked, and skip rendering completed workunits (#12369) (#12376)
-
Fix anonymous telemetry logging. (#12344)
Performance
- Reduce # of resolves when packaging pex_binary and python_awslambda targets (Cherry-pick of #12343) (#12350)
2.6.0rc2 (Jul 08, 2021)
Bug fixes
- Set up pants to use the latest version of humbug (#12303)
2.6.0rc1 (Jul 7, 2021)
New Features
- Add support for MyPy report files (Cherry-pick of #12271) (#12289)
Bug fixes
-
Hotfix
poetry_requirements
not being recognized as a macro in BUILD files (Cherry-pick of #12263) (#12264) -
Do not use
[python-setup].resolve_all_constraints
when usingplatforms
(Cherry-pick of #12268) (#12269) -
Fix poetry_requirements: ignore internal projects. (Cherry-pick of #12280) (#12296)
-
Fix poetry_requirements handling of python. (#12278) (#12282)
-
Include experimental Go backends in pantsbuild.pants (Cherry-pick of #12290) (#12291)
Documentation
- Change how we embed docsite links in help text (Cherry-pick of #12261) (#12266)
2.6.0rc0 (Jun 30, 2021)
New Features
-
Add dependency inference for Python third-party type stubs (#12248)
-
Add
poetry_requirements
macro for Poetry support (#12174)
User API Changes
-
Update default MyPy to 0.910 (#12249)
-
Update linter versions for
pylint
,black
,bandit
(#12135) -
Upgrade Go distribution to v1.16.5 (#12247)
Plugin API Changes
-
Set default user-agent header on gRPC requests with Pants version (#12241)
-
Increment counter on missing file digests (#12235)
Bug fixes
-
Add support for multiple requirements for a single package name in the
python_requirements
macro (#12232) -
Fix dependency inference to be ambiguous when >1 type stub for same module (#12244)
-
Hash the
repo_id
in the tag. (#12151) -
Fix
skip_tool
not working with./pants fmt
if all files are skipped (#12230)
2.6.0.dev2 (Jun 16, 2021)
New Features
- Adds
--[no-]watch-filesystem
switch (#12210)
User API Changes
- Deprecate unused
interpreter_constraints
field forpython_awslambda
(#12208)
Plugin API Changes
-
Rename remote cache write start and finished metrics (#12202)
-
Support for custom target types in tailor. (#12156)
Bug fixes
-
Fallback to
[python-setup].interpreter_constraints
forpython_distribution
targets with no first-party dependencies (#12207) -
Fix remote cache write attempts metric to record even if write does not finish (#12204)
-
Fix Process output capture re: working_directory. (#12197)
-
Fix
Key
interning race. (#12152)
Documentation
-
Fix relocated files help display. (#12185)
-
Suggest
-ldebug
and--no-process-execution-local-cleanup
in exception messages (#12180)
2.6.0.dev1 (May 29, 2021)
New Features
-
Allow setting
--pantsd-max-memory-usage
withGiB
,MiB
, andKiB
units (#12123) -
Register
strip_pex_env
field with pex_binary. (#12147)
User API Changes
-
Fix
[python-setup].resolver_jobs
default value to better recognize containers (#12139) -
Deprecate broken [lint].reports_dir and make mechanism more flexible (#12122)
-
Change Docformatter to not try to use Python 2 and Python 3.5 by default (#12099)
Plugin API Changes
-
Allow overriding option default help display. (#12128)
-
Rename
ProcessCacheScope.NEVER
toProcessCacheScope.PER_SESSION
(#12100) -
Replace
ProcessCacheScope.PER_RESTART
withProcessCacheScope.PER_RESTART_ALWAYS
andProcessCacheScope.PER_RESTART_SUCCESSFUL
(#12094)
Performance
-
add retries for reads and writes from remote CAS (#12132)
-
Fix --coverage-py-global-report for >9 test files. (#12144)
Documentation
-
Clarify the default values for parallelism options (#12119)
-
Make timeouts in tests less confusing (#12120)
-
Rewrite error message when Pantsd is shut down during run (#12107)
-
Fix scheduler initialization log (#12105)
2.6.0.dev0 (May 19, 2021)
New Features
-
Add support for global coverage reports. (#12080)
-
Add
extra_env_vars
capability topython_tests()
(#12022) -
Add
pex_binary
support for--no-strip-pex-env
. (#12061)
User API Changes
-
Remove deprecated
[pytest].config
in favor of[pytest].config_discovery
(#12033) -
Remove deprecated
ignore_pants_warnings
in favor ofignore_warnings
(#12032) -
Enforce
[python-setup].resolve_all_constraints
being a bool option (#12034) -
Remove experimental and unused
[python-setup].requirement_constraints_target
option and_python_constraints
target (#11998)
Plugin API Changes
-
Rename
PexInterpreterConstraints
toInterpreterConstraints
and move to dedicated file (#12021) -
Add plugin hook for setting up Pytest context (#12091)
-
Auth plugins can inspect the prior result, set an expiration, and override
--remote-{store,execution}-address
(#12029)
Bug fixes
-
Fix
--remote-auth-plugin
and--remote-oauth-bearer-token-path
to execute every run with Pantsd (#12020) -
Fix
module_mapping
to work regardless of capitalization and-
vs_
(#12068) -
Fix
PEX_ROOT
leak with run and repl goals. (#12066) -
Fix constraints resolves to pass additional args. (#12076)
-
Fix
skip_tool
fields not working with./pants fmt
(#12073) -
Fix Python run for apps that re-exec themselves. (#12060)
-
Fix remote cache writes memory exhaustion. (#12087)
-
Halve memory usage for remote cache writes. (#12083)
-
Fix Shell dependency inference not caching (#12052)
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
File details
Details for the file pantsbuild.pants-2.6.1-cp39-cp39-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pantsbuild.pants-2.6.1-cp39-cp39-manylinux2014_x86_64.whl
- Upload date:
- Size: 49.7 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f83be7cd9877356c4521630684cddef8f9d06593d130fbec595cdefbb2da7ec2 |
|
MD5 | 077c5e60064d6bc7e4aff7f2025212ff |
|
BLAKE2b-256 | 82cd65c1d70c1e4b40b25a6ea8299e305528dc83603d6f994b5eebfc91d49112 |
Provenance
File details
Details for the file pantsbuild.pants-2.6.1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: pantsbuild.pants-2.6.1-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 8.2 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45bcb7baab20364b92494f0f957a4e8ee25f1d7dcede5fd61a17db574bccbd33 |
|
MD5 | 3223aa681a071fc7502b5746e995f0c7 |
|
BLAKE2b-256 | 98b048c5b89f057afd76e8c64e2aa1202194de926fabd488562dccbfae0385c6 |
Provenance
File details
Details for the file pantsbuild.pants-2.6.1-cp39-cp39-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: pantsbuild.pants-2.6.1-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 8.3 MB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6fb6cc1c0fa62832a52115092b1ff627cafedc7b9e196fa8b76025300d85867 |
|
MD5 | fd951ed4b36a8d2a63468da775b6c8a6 |
|
BLAKE2b-256 | 0777f0e55d3d14e4f0fb0464f5860049f858023f680dc2ab87a7ac0a98ddd5af |
Provenance
File details
Details for the file pantsbuild.pants-2.6.1-cp38-cp38-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pantsbuild.pants-2.6.1-cp38-cp38-manylinux2014_x86_64.whl
- Upload date:
- Size: 49.7 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6914e63d0115c92d3c2e9703246fa179376c6bd310e11722dbed4d0fb7eb7c5 |
|
MD5 | 3f8b6d404aeff24a2fc2891c910e6eda |
|
BLAKE2b-256 | a37c36ea57b211a316c4e1391b48d5340b3a1ba8095f4baf343bc5ae506ef7cd |
Provenance
File details
Details for the file pantsbuild.pants-2.6.1-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: pantsbuild.pants-2.6.1-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 8.3 MB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a08c9ebb77aae7537fbacb8d48050324ca0883a4927ab0a717ab76991cdd6bdb |
|
MD5 | 89987e638698c452fb7245933c5b5a8f |
|
BLAKE2b-256 | 9c56b541242ec62e2371ff0e5c64a650022115875d868dfd1abda1b6ba1f5b09 |
Provenance
File details
Details for the file pantsbuild.pants-2.6.1-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: pantsbuild.pants-2.6.1-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 49.7 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcca9893648104a0d739208a76f8fc0b01afab8ad56e155e213d0b18651f3498 |
|
MD5 | c61e385223996561ae792d9d1f34c739 |
|
BLAKE2b-256 | 00eb2a25eea8f55ea412193101f00076afa54f92fecbeb69d9048c9407cda90e |
Provenance
File details
Details for the file pantsbuild.pants-2.6.1-cp37-cp37m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: pantsbuild.pants-2.6.1-cp37-cp37m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 8.3 MB
- Tags: CPython 3.7m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | beb8ac0008b71b0c8957bd2016f68ede9009169ba2fa43bb61ff8e7b343ed22e |
|
MD5 | 1098706e125b6783142ea90eb6c76633 |
|
BLAKE2b-256 | 889a602a16b8d0f75d9b4ebcf4ea22c4babd8be43ef1c5befd8ee1315166cda6 |