Skip to main content

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.

2.1.x Stable Releases

This document describes releases leading up to the 2.1.x stable series.

See https://www.pantsbuild.org/v2.1/docs/release-notes-2-1 for an overview of the changes in this release.

2.1.0 (11/17/2020)

The first stable release of the 2.1.x series, with no changes since the previous release candidate.

2.1.0rc3 (11/16/2020)

Bugfixes

  • Fix relative imports in dependency inference (Cherry-pick of #11181) (#11189) PR #11189

2.1.0rc2 (11/13/2020)

New Features

  • Remoting: allow timeout parameters to be configured (Cherry-pick of #11125) (#11158) PR #11158

User API Changes

  • Deprecate running Pants with Python 3.6 (#11173) PR #11173

  • Deprecate the sources field for python_awslambda (Cherry-pick of #11176) (#11178) PR #11178

Bugfixes

  • make a few minor reliability fixes to remote caching code (Cherry-pick of #11130) (#11159) PR #11159

2.1.0rc1 (11/11/2020)

Bugfixes

  • Upgrade to Pex 2.1.21 (Cherry-pick of #11131) (#11134) PR #11134

  • Fix Coverage not finding resource files when generating a report (Cherry-pick of #11129) (#11138) PR #11138

2.1.0rc0 (11/9/2020)

New Features

  • Add export-codegen goal (#11107) PR #11107

  • Add ./pants py-constraints –summary for project overview (#11099) PR #11099

  • Add ./pants help subsystems (#11088) PR #11088

  • Improve performance of dependency inference (#11094) PR #11094

User API Changes

  • Change default for –pants-distdir-legacy-paths and deprecate it (#11096) PR #11096

  • Clarify that process cache namespacing works for all runners (#11095) PR #11095

  • Deprecate target names containing slashes and colons (#11115) PR #11115

Plugin API Changes

  • Rename SourcesSnapshot to SpecsSnapshot (#11114) PR #11114

Bugfixes

  • Fix logs for test, lint, fmt, and typecheck to always print, even if cached (#11111) PR #11111

  • Fix pytest.pex leaking into coverage data (#11110) PR #11110

  • Fix –pex-verbosity to work with the interpreter selection PEX (#11108) PR #11108

  • Fix !! transitive excludes when used multiple times in a repo (#11103) PR #11103

  • Fix setup_py.with_provides() to respect the :func entry-point shorthand (#11093) PR #11093

  • Include a host fingerprint in pantsd’s identity (#11092) PR #11092

Documentation

2.1.0.dev0 (10/30/2020)

User API Changes

  • Do not error if ./pants package does not match any targets (#11051) PR #11051

  • Deprecate the compatibility field in favor of interpreter_constraints (#11074) PR #11074

  • Remove deprecated awslambda, binary, and setup-py goals in favor of package (#11048) PR #11048

  • Rename pex-binary/python-distribution to avoid naming collisions. (#11007) PR #11007

  • Remove deprecated –{fmt,lint}-per-target-caching in favor of –per-file-caching (#11062) PR #11062

  • Remove post_stats from RunTracker (#11068) PR #11068

  • Remove stats_version in runtracker (#11065) PR #11065

  • Remove deprecated –lang and –lc-all options in favor of –env-vars (#11066) PR #11066

  • Remove deprecated –protoc-runtime-targets option (#11083) PR #11083

  • Remove deprecated –interpreter-constraints option for some Python tools (#11082) PR #11082

  • Remove deprecated runtime_binary_dependencies field (#11079) PR #11079

  • Remove deprecated –spec-file option in favor of –spec-files (#11076) PR #11076

  • Remove deprecated [basic-auth], [reporter], and [run-tracker] options (#11078) PR #11078

  • Remove deprecated –print-exception-stacktrace in favor of –print-stacktrace (#11085) PR #11085

  • Remove unused global options (#11077) PR #11077

  • Remove deprecated python_requirement BUILD file symbol (#11055) PR #11055

  • Deprecate the platforms field allowing a bare string (#11073) PR #11073

  • Deprecate several unused options (#11041) PR #11041

  • Deprecate unused run-tracker options (#11038) PR #11038

  • Remove deprecated python-setup options (#10984) PR #10984

  • Remove deprecated Subsystem.get_options() in favor of Subsystem.options (#10986) PR #10986

  • Remove deprecated global options like –v2 and –backend-packages2 (#10985) PR #10985

  • Remove deprecated –changed-* options (#10982) PR #10982

  • Remove deprecated ./pants filter options (#10983) PR #10983

New Features

  • Add [python-setup].resolver_http_cache_ttl option (#10997) PR #10997

  • Add new py-constraints goal through new pants.backend.python.mixed_interpreter_constraints backend (#11075) PR #11075

  • Add :my_func shorthand for the entry_point field (#11064) PR #11064

  • Add new EngineAware method metadata() (#11030) PR #11030

  • remote caching support (#10960) PR #10960

  • Store per-run logs on RunTracker (#11025) PR #11025

  • Allow changing the URL to download tools like PEX and Protoc (#11013) PR #11013

  • Add mechanism to deprecate target types and fields (#10966) PR #10966

Bugfixes

  • remote caching: upload stdout/stderr content to remote cache (#11049) PR #11049

  • Fix PEX to always write to named_caches_dir, rather than ~/.pex (#11040) PR #11040

  • Fix setup_py().with_binaries() to use the default entry point (#11021) PR #11021

  • Fix resource leak warning with stdio (#10995) PR #10995

  • Fix ./pants repl to use global constrains when no targets specified (#10991) PR #10991

  • Fix overly verbose FieldSet in stack traces (#10978) PR #10978

  • Fix several bad usages of itertools.groupby() (#10976) PR #10976 PR #10974

  • Fix bug with linter targets being skipped (#10974) PR #10974

  • Fix config validation not erroring on global options in wrong scope (#10950) PR #10950

  • Automatically set setuptools interpreter constraints if unspecified (#10951) PR #10951

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pantsbuild.pants-2.1.0-cp38-cp38-macosx_10_11_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.8 macOS 10.11+ x86-64

pantsbuild.pants-2.1.0-cp37-cp37m-macosx_10_11_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.7m macOS 10.11+ x86-64

pantsbuild.pants-2.1.0-cp36-cp36m-macosx_10_11_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.6m macOS 10.11+ x86-64

File details

Details for the file pantsbuild.pants-2.1.0-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pantsbuild.pants-2.1.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2acd3e3b64fbe4c089238f13047b1ed02bb0bbcfb29c134c86fb6c77537d6d21
MD5 14feb54d38bc4b7c6df4425d72a6d6b5
BLAKE2b-256 7fd55a33e3fda7f122a1fcc26ac79896c314ba847adc394d14ff2320b5c38bf5

See more details on using hashes here.

Provenance

File details

Details for the file pantsbuild.pants-2.1.0-cp38-cp38-macosx_10_11_x86_64.whl.

File metadata

  • Download URL: pantsbuild.pants-2.1.0-cp38-cp38-macosx_10_11_x86_64.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: CPython 3.8, macOS 10.11+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.6.10

File hashes

Hashes for pantsbuild.pants-2.1.0-cp38-cp38-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 1064c84057bb226502316f415a90eb009eaa3370d8b6e7004dd23b1e37810091
MD5 4bd4e892cb25130ac180ba0723883d1d
BLAKE2b-256 30921fe651b3b592041bb33350f0a20a655901044e56e6b20ff20d737b284422

See more details on using hashes here.

Provenance

File details

Details for the file pantsbuild.pants-2.1.0-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pantsbuild.pants-2.1.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 628e83bb898c7ec908a54082f5587ebd6684999634ab284e4151ec8a4d4fc8ec
MD5 ec364dd11f47e3f3b95abe5ca80c6908
BLAKE2b-256 37786b3b3fd545b675d0e336a26025a9f455b0405e9b35c3aee9a6ce15bb9b7e

See more details on using hashes here.

Provenance

File details

Details for the file pantsbuild.pants-2.1.0-cp37-cp37m-macosx_10_11_x86_64.whl.

File metadata

  • Download URL: pantsbuild.pants-2.1.0-cp37-cp37m-macosx_10_11_x86_64.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: CPython 3.7m, macOS 10.11+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.6.10

File hashes

Hashes for pantsbuild.pants-2.1.0-cp37-cp37m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 21b106647cb55a2c0be2723bf2ce473f0c8be127d04965a04c1e68d696b152b6
MD5 cc4ec442240346403ecd237a10b95f70
BLAKE2b-256 cbb41e7835bde2f9399114183e3e3621dab1b1cfc9068bb3b9a8f3e1cd5314e1

See more details on using hashes here.

Provenance

File details

Details for the file pantsbuild.pants-2.1.0-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pantsbuild.pants-2.1.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a53e549f8b49ad305bd33ab317c52c76f96e7d98a18933a579acf4d475e36c4e
MD5 c7c6764c01dd319abedb9a1f02cbf840
BLAKE2b-256 f1fc0ff47b08e38dd589ff14082eebee949e7804c38476ffd7e51b16e1795eb4

See more details on using hashes here.

Provenance

File details

Details for the file pantsbuild.pants-2.1.0-cp36-cp36m-macosx_10_11_x86_64.whl.

File metadata

  • Download URL: pantsbuild.pants-2.1.0-cp36-cp36m-macosx_10_11_x86_64.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: CPython 3.6m, macOS 10.11+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.6.10

File hashes

Hashes for pantsbuild.pants-2.1.0-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 b73e4187f4d0ef9a601d59dc72a1563ef81a5d278825d5815ffaef1170a40e50
MD5 0c7150b8f9f25f05085b0b1120aeb8a6
BLAKE2b-256 7432a987a87634d45dd672230101e188397f190e243a17aad34eda1d101d5058

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page