Skip to main content

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.dev3 (Jun 30, 2023)

New Features

  • turn path/BUILD into path in the tailor 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 with should_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 in scalac_plugin targets (#19205)

Performance

  • scandir returns Stats 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 to python_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 . in from .. 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 of check 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

  • Fix docs link to pants_from_sources script. (#19088)

  • Add botocore-a-la-carte reference too s3 URL Handler (#19055)

  • add bazel-remote to list of compatible remote caches (#19041)

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.18.0.dev3-cp39-cp39-macosx_11_0_arm64.whl (13.2 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pantsbuild.pants-2.18.0.dev3-cp39-cp39-macosx_10_15_x86_64.whl (13.5 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

File details

Details for the file pantsbuild.pants-2.18.0.dev3-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pantsbuild.pants-2.18.0.dev3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2efa919c3990b41288a6cea5d685641093c9fa9deb25fb75361ca64b5f0f6314
MD5 a9ffc5935283ca0b51216d74fc49dce4
BLAKE2b-256 8538866b0da880ff0562be221169ffc71c11a0ffc48199497056e2046ff59662

See more details on using hashes here.

File details

Details for the file pantsbuild.pants-2.18.0.dev3-cp39-cp39-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pantsbuild.pants-2.18.0.dev3-cp39-cp39-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 42a28b5e457d299c4ba8015748b5ad46e85c033e6959f50355e2f0f27b20f4e4
MD5 d7703a8bdf53bd47eaf1277b96fae331
BLAKE2b-256 08be54ef893bee854b08b96db1445d8e2022ee5897171b2d0fd07c7916ef1714

See more details on using hashes here.

File details

Details for the file pantsbuild.pants-2.18.0.dev3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pantsbuild.pants-2.18.0.dev3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 04adc207421f797d8e72559ae9d1edb9c6c17e385d19a0b8d3fdb3ec666924f5
MD5 cfa1fecb18e1ae3d9e17c2898c709f5e
BLAKE2b-256 4c5d550366000743f4107158014f1a73e0c91e4fd72149c4b5df34a84de8e0bb

See more details on using hashes here.

File details

Details for the file pantsbuild.pants-2.18.0.dev3-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pantsbuild.pants-2.18.0.dev3-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5394e2f56e413a4f938d89c3f303f2e73b56d767437fb5dff872407226c77d8d
MD5 0bf5e9bd1d09da4e5bda5aa582b4c728
BLAKE2b-256 3dfb9a17d630cc2f61453cbd320cdea45948348681f0c91e02d8a56a255e4052

See more details on using hashes here.

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