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.2 (2/9/2020)

The third stable release in the 2.1.x series, with no changes since 2.1.2rc0.

2.1.2rc0 (2/4/2021)

Bugfixes

  • Fix older versions of tar not working when creating an archive (Cherry-pick of #11413) (#11418) PR #11418

2.1.1 (12/18/2020)

The second stable release in the 2.1.x series, with no changes since rc2.

Thank you to everyone who helped test the rcs!

2.1.1rc2 (12/16/2020)

Bugfixes

  • Fix filtering of log messages generated in native code. (cherrypick of #11313) (#11316) PR #11316

  • Upgrade to Pex 2.1.24. (cherrypick of #11312) (#11315) PR #11315

  • Clean the graph speculatively, and cancel nodes when interest is lost (cherrypick of #11308) (#11311) PR #11311

  • Implement native Process cache scoping to fix –test-force (cherrypick of #11291) (#11298) PR #11298

  • Increase Pants’ python recursion limit by default, and allow it to be overridden. (cherrypick of #11271) (#11274) PR #11274

  • Revert “Move graph cycle detection to rust. (#11202)” (cherrypick of #11272) (#11275) PR #11202 PR #11275

Internal

  • [tests] Use a bandit version that works with older python versions. (cherrypick of #11268) (#11278) PR #11278

2.1.1rc1 (11/24/2020)

Bugfixes

  • Fix off-by-one error for python_awslambda sources field validation (#11234) PR #11234

  • Remove extraneous INFO level log line (Cherry-pick of #11228) (#11229) PR #11229

2.1.1rc0 (11/20/2020)

User API Changes

  • Revert premature deprecation of sources field for python_awslambda (#11217) PR #11217

Bugfixes

  • Move graph cycle detection to Rust to fix recursion limit. (cherrypick of #11202) (#11204) PR #11204

  • Set the soft ulimit value more conservatively to fix macOS Big Sur issue (cherrypick of #11194) (#11197) PR #11197

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

This version

2.1.2

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.2-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.2-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.2-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.2-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pantsbuild.pants-2.1.2-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d6693edf70feeb6bc1dfecd10b4342c23056a18284e44732d81d1bcc4226314e
MD5 0a89fcda7a389c27b1bbc44010c5a0cb
BLAKE2b-256 07404ef62bccc64346c6606056deaf482c346dfea9c416cb1c02e6983ae5b363

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pantsbuild.pants-2.1.2-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.6.9

File hashes

Hashes for pantsbuild.pants-2.1.2-cp38-cp38-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 64aff56b5f278cf3e84c2d61bd4afa57fb2b25a5ba4a5975b7bb2c8b4e496d7b
MD5 da3605a2103ef444ea8a3b25ef99f639
BLAKE2b-256 e747c99a1914345c3faeee59f4f1a654328e54a40ebf4f3175f876c359a83bbf

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pantsbuild.pants-2.1.2-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 543152e61554e8d30f62a888976e2dbc31526f936feceab7400d22e0bdb26604
MD5 374d9f2d2a8ee90fa44f9516c9ec5300
BLAKE2b-256 4b1b806a8a98462e2953d0ade36191e535997992f46c9217c3f0b8becafb423d

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pantsbuild.pants-2.1.2-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.6.9

File hashes

Hashes for pantsbuild.pants-2.1.2-cp37-cp37m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 6eb80c4295d77f5a421eb64282c511e2cf77e23b2dbf642d1d554c88c43e4826
MD5 f4259fc46ed4994813aca70cc32a0aac
BLAKE2b-256 72347a97103bfd577dea036dc2b5cf1fe5377d78b9ab709dd2fbc1d10bacc2b2

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pantsbuild.pants-2.1.2-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 816ea88d5a8690dbfbaa3762259a1f6892516a90342d56554c2abd8884672fd9
MD5 5de1673a4b2367543133cf18e7fdf8b4
BLAKE2b-256 c69af4173a406dcfdf41de031dfca980f50b6a83c3ef7d4d44c4262b8df521ce

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pantsbuild.pants-2.1.2-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.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.6.9

File hashes

Hashes for pantsbuild.pants-2.1.2-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 936580eb82f058c7869185b1bbe14081dadbcc5cb0fb24851aa44ae0d65eb892
MD5 1ac31729b48b190905a9d760da734abf
BLAKE2b-256 15d8549c023d385fb50d0b61e05b8e9bd86ee4013e93094df17802fc092ecd3c

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