pants

The Pants Build System

APACHE-2.0 License

Downloads
117.9K
Stars
3.1K
Committers
342

Bot releases are visible (Hide)

pants - release_2.21.2rc0 Latest Release

Published by github-actions[bot] 3 months ago

Bug Fixes

  • jvm resources action is not reproducible (Cherry-pick of #21259) (#21269)

  • use entire URL string as cache key for download intrinsic rule (Cherry pick of #21215) (#21244)

pants - release_2.23.0.dev6

Published by github-actions[bot] 3 months ago

New Features

  • Add JSX support built on the JS backend (#21206)

  • allow plugins to provide "auxiliary" goals (and refactor BSP into backends) (#20913)

  • Caching for Terraform! (#21221)

  • Terraform multi-platform lockfiles (#21247)

  • javascript: jsconfig (tsconfig) parsing for dependency inference (#21176)

  • Auto-select complete platforms for AWS Lambda functions on ARM architecture (#21234)

User API Changes

  • Add complete platforms for Google Cloud Functions + auto-infer based on runtime (#21248)

Bug Fixes

  • adhoc/shell: capture files relative to root of sandbox for in-workspace executions (#21254)

  • jvm resources action is not reproducible (#21259)

  • log logfile path when error opening (#21242)

  • Tighten regex on Simplifier/strip_v2_chroot_path (#21241)

  • use entire URL string as cache key for download intrinsic rule (#21215)

Documentation

  • Update Lambda and GCF docs for runtime inference (#21266)

  • Distinguish git worktree finding errors. (#21232)

pants - release_2.20.4rc0

Published by github-actions[bot] 3 months ago

Bug Fixes

  • jvm resources action is not reproducible (Cherry-pick of #21259) (#21267)
pants - release_2.21.1

Published by github-actions[bot] 3 months ago

pants - release_2.20.3

Published by github-actions[bot] 3 months ago

pants - release_2.23.0.dev5

Published by github-actions[bot] 3 months ago

New Features

  • bump pyenv to 2.4.7 (#21142)

Bug Fixes

  • Fix: attach lockfiles to terraform modules (#21220)

  • make pyenv backend respect patch version constraints (#21139)

Documentation

  • Fix minor typo in JS docs link (#21213)
pants - release_2.21.1rc1

Published by github-actions[bot] 3 months ago

NB. 2.21.1rc0 was skipped due to infrastructure issues.

Bug Fixes

  • Fix running python_sources with pex --executable (Cherry-pick of #21047) (#21085)

Documentation

  • Rewrite IPython repl docs for new install_from_resolve approach (Cherry-pick of #21060) (#21069)
pants - release_2.20.3rc1

Published by github-actions[bot] 3 months ago

NB. 2.23.3rc0 was skipped due to infrastructure issues.

Bug Fixes

  • Fix running python_sources with pex --executable (Cherry-pick of #21047) (#21084)

Documentation

  • Rewrite IPython repl docs for new install_from_resolve approach (Cherry-pick of #21060) (#21068)
pants - release_2.22.0rc2

Published by github-actions[bot] 3 months ago

NB. 2.22.0rc1 was skipped due to infrastructure issues.

Bug Fixes

  • Fix coverage calculation when filter option is used (Cherry-pick of #18057) (#21150)

  • Fix RuleRunner to work without BUILD_ROOT file in pytest sandbox (Cherry-pick of #21112) (#21121)

pants - release_2.23.0.dev4

Published by github-actions[bot] 3 months ago

NB. 2.23.0.dev3 was skipped due to infrastructure issues.

New Features

  • Allow capturing tfsec output as a report (#21155)

  • add path_env_modify field to adhoc_tool and shell_command to control how PATH is augmented (#21138)

  • Allow customizing semgrep configurations; correct rule matching glob (#21126)

  • tests: add experimental-report-test-result-info option to the test goal (#21171)

  • Add targets for terraform lockfiles (#21099)

  • use a template for computing output_path for packageable targets (#21175)

  • Native dockerfile parser (#21160)

  • Rudimentary export goal support for node_modules (#21036)

User API Changes

  • deprecate --export-py-hermetic-scripts in favor of new --export-py-non-hermetic-scripts-in-resolve option (#21181)

  • Upgrade default Node version from 18.20.3 to 20.15.1 (#21166)

  • Upgrade pnpm default version from 8.x series to 9.x (#21132)

Bug Fixes

  • Allow both resource and file targets for complete_platforms on Python FaaS (#21169)

  • Always run setuptools_scm in the local environment (#21188)

  • cleanup how adhoc and shell backends process environment variables (#21185)

  • Helm: warn on missing docker image (#21076)

  • Fix options parser discrepancy due to repeated evaluation of .pants.rc (#21118)

  • (JavaScript) Throw a more descriptive error when the package name is missing (#21159)

  • Create [workunit-logger].logdir if it doesn't already exist (#21152)

  • Fix coverage calculation when filter option is used (#18057)

  • Javascript backend - run node package install once per workspace (#20826)

Documentation

  • goals: update update-build-files goal help text (#21186)

  • Use $(brew --prefix) in docs instead of assuming a certain path (#21151)

  • docs/javascript: Add overview of javascript backend and nodejs configuration (#21141)

pants - release_2.22.0rc0

Published by github-actions[bot] 4 months ago

Bug Fixes

  • Fix k8s-parser not able to load hikaru models (Cherry-pick of #21067) (#21090)

  • Fix running python_sources with pex --executable (Cherry-pick of #21047) (#21086)

  • fix regression in choosing a compatible local environment (Cherry pick of #21011) (#21014)

Documentation

  • Rewrite IPython repl docs for new install_from_resolve approach (Cherry-pick of #21060) (#21070)
pants - release_2.23.0.dev2

Published by github-actions[bot] 4 months ago

New Features

  • add intrinsic rule to request metadata about paths in filesystem (#20996)

  • Refactor venv export to use explicit PythonExecutable lookup (#21087)

  • Generate entry_points.txt for python_tests that require entry points from a python_distribution (#21062)

  • parametrize: expand grouped parametrizations. (#21027)

User API Changes

  • Bump default ruff version to 0.4.9 (#21079)

Bug Fixes

  • Always capture a corepack installation and support omitting version strings (#21021)

  • Fix k8s-parser not able to load hikaru models (#21067)

  • Fix running python_sources with pex --executable (#21047)

Documentation

  • docs: there may be multiple BUILD files in a directory (#20818)

  • Sketch new "Maintenance tasks and scripts" contributing dev docs (#21061)

  • Update release docs to work around file watcher race condition. (#21081)

pants - release_2.23.0.dev1

Published by github-actions[bot] 4 months ago

New Features

  • Scala: Support the usage of the _root_ package name (#21055)

  • Add "workspace invalidation" sources support for shell / adhoc backends (#21051)

  • Resolve addresses in ARGs passed to COPY (#20989)

  • Support documenting macro constants. (#21028)

  • Add lint backend to run trufflehog (#20968)

User API Changes

  • separate shell tailoring between sources and tests (#20972)

Bug Fixes

  • Fix non-writable files if "." in output_directories (#21049)

  • fix: args for helm pull for OCI artifacts (#21057)

  • build: Bump pex to 2.3.3 (#21046)

Documentation

  • Fixed several broken links in docs (#21073)

  • Rewrite IPython repl docs for new install_from_resolve approach (#21060)

pants - release_2.23.0.dev0

Published by github-actions[bot] 5 months ago

User API Changes

  • Resolve 2.23.0.dev0 deprecations: dependees, old ruff, crossversion=partial, remote_auth_bearer_token_path (#21041)

Bug Fixes

  • Fixed Docker image_id returned from parser using recent BuildKit on Windows (#21000)

  • Pick provider closest to the rule/subsystem/target type. (#21030)

  • Support extra env vars resolution of PATH in nodejs processes (#21035)

  • Fix bug when computing implicit kwargs in @rules called by name. (#21038)

  • Provide default tfsec versions for all platforms (#21033)

  • scala source file should not depend on scalac plugins (#20971)

  • fix regression in choosing a compatible local environment (#21011)

pants - release_2.22.0a0

Published by github-actions[bot] 5 months ago

New Features

  • Flag to disable publishing dependencies in deploy goal (#20871)

  • Add complete platform for Python 3.12 on AWS Lambda (#21004)

  • add workspace environment support (#20900)

  • export generated python sources to exported venvs (#20975)

  • Scala: Detect consumed symbols in self-type annotations (#20960)

User API Changes

  • OpenAPI Java codegen fails with an ambiguous class path (#20969)

Bug Fixes

  • Update address parameters on overrides (#20934)

  • Always match source globs using the any conjunction. (#20958)

Documentation

  • Fix help text for stevedore_namespace BUILD file symbol. (#20984)

  • Use code blocks in nodejs-test example docs (#20983)

  • Lower log message level for nailgun to reduce verbosity (#20946)

  • Publish: sort the results output at the end. (#20953)

pants - release_2.21.0

Published by github-actions[bot] 5 months ago

View the release notes at https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/notes/2.21.x.md

Changes since 2.21.0rc0:

Documentation

  • Update release notes links in Plugin Upgrade Guide docs after movement (Cherry-pick of #20936) (#20942)
pants - release_2.20.2

Published by github-actions[bot] 5 months ago

Changes since 2.20.1:

Bug Fixes

  • Fix dependencies and dependents to use output file when using json formatting (Cherry-pick of #20843) (#20877)

Documentation

  • Update release notes links in Plugin Upgrade Guide docs after movement (Cherry-pick of #20936) (#20940)

  • Add docs for jvm_artifacts target generator (Cherry-pick of #20890) (#20920)

pants - release_2.19.3

Published by github-actions[bot] 5 months ago

Changes since 2.19.2:

Bug Fixes

  • Fix issue with explicit dependency when using parametrize groups. (Cherry-pick of #20768) (#20778)

Documentation

  • docs: Remove note about abbreviated form (Cherry-pick of #20830) (#20835)

  • Update release notes links in Plugin Upgrade Guide docs after movement (Cherry-pick of #20936) (#20941)

pants - release_2.22.0.dev3

Published by github-actions[bot] 5 months ago

New Features

  • add "workspace" process execution strategy (#20772)

  • Allow Extra Args to be passed to FaaS Pex Build (#20939)

  • Add makeself backend (#20360)

  • Mark all Python tools as exportable (#20787)

  • An option for excluding certain files from all deploy jars (#20943)

  • Include extra_build_args on pex_binaries too (#20929)

User API Changes

  • Update semgrep 1.46.0 -> 1.72.0 (#20501)

Bug Fixes

  • Use Wildcard When jvm_exclude Artifact is None (#20802)

Documentation

  • Restore stub release notes files, with links to new location (#20937)

  • Update release notes links in Plugin Upgrade Guide docs after movement (#20936)

  • Add help_short field for Python tools and use it to generate the help text (#20921)

  • Fix markdown syntax in "Making subsystems exportable ..." docs (#20902)

  • Add release notes for 2.21.x (#20894)

  • Add tool version into install_from_resolve arg documentation (#20901)

  • Add docs for jvm_artifacts target generator (#20890)

pants - release_2.21.0rc0

Published by github-actions[bot] 5 months ago

Documentation

  • Fix markdown syntax in "Making subsystems exportable ..." docs (Cherry-pick of #20902) (#20928)

  • Add release notes for 2.21.x (Cherry-pick of #20894) (#20926)

  • Add docs for jvm_artifacts target generator (Cherry-pick of #20890) (#20919)