Skip to content

Commit

Permalink
Prep for 2.16.0.dev7 (pantsbuild#18297)
Browse files Browse the repository at this point in the history
Internal changes:

* go: fix go vet test flakiness
([pantsbuild#18296](pantsbuild#18296)

* Add default gha 1000:1000 user to GHA images.
([pantsbuild#18281](pantsbuild#18281))

* Don't specify interpreter_constraints when building the release pex.
([pantsbuild#18280](pantsbuild#18280))

* go: update pass-through `go test` options for Go v1.20
([pantsbuild#18229](pantsbuild#18229))

* Fix release for /tmp on a seperate filesystem.
([pantsbuild#18272](pantsbuild#18272))

* upgrade to Rust v1.67.1
([pantsbuild#18269](pantsbuild#18269))

* Prepare the 2.15.0rc6 release.
([pantsbuild#18263](pantsbuild#18263))

* Allow lambdas for `Field` and `Target` help
([pantsbuild#18248](pantsbuild#18248))

* Revert "Avoid bind-mounts for docker environments on macOS (pantsbuild#18225)"
([pantsbuild#18247](pantsbuild#18247))

* Refactors `experimental_shell_command`-related files to better
separate concerns
([pantsbuild#18223](pantsbuild#18223))

* Prepare the 2.15.0rc5 release.
([pantsbuild#18224](pantsbuild#18224))

* Give dedicated threads names
([pantsbuild#18214](pantsbuild#18214))

* Prepare 2.15.0rc4.
([pantsbuild#18196](pantsbuild#18196))

* Remove the `boot_script` from
`experimental_shell_command`/`experimental_run_in_sandbox`
([pantsbuild#18168](pantsbuild#18168))

* Adjusts `BinaryShims` to use native digest operations and
`immutable_input_digests`
([pantsbuild#18184](pantsbuild#18184))

* go: update build tags check from latest go sources
([pantsbuild#18176](pantsbuild#18176))

* [internal] note dependency to `scie-pants` on "testing" env vars.
([pantsbuild#18170](pantsbuild#18170))

* go: allow coverage for standard library packages
([pantsbuild#18171](pantsbuild#18171))

* Support using `scie-pants` for Pants dev work.
([pantsbuild#18158](pantsbuild#18158))

* Prepare the 2.15.0rc3 release
([pantsbuild#18156](pantsbuild#18156))

* Splits up `shell_command.py`
([pantsbuild#18147](pantsbuild#18147))
  • Loading branch information
illicitonion authored Feb 17, 2023
1 parent e17e154 commit aee627d
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Yuhan GUO
+ Yujie Chen
+ billybecker
+ cburroughs
+ eugene yokota
+ hephex
+ philipp-sontag-by
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.16.0.dev6
2.16.0.dev7
120 changes: 120 additions & 0 deletions src/python/pants/notes/2.16.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ available on various target types.
A new `experimental_test_shell_command` target type has been added to allow defining arbitrary shell commands
as tests which can be invoked using the `./pants test` goal.

`experimental_shell_command` and `experimental_run_shell_command` have graduated to no longer have their `experimental_` prefixes.

`shell_command` now supports the `environment` field for running in non-local environments.

#### New: Preamble
Expand All @@ -58,6 +60,124 @@ The new "preamble" plugin allows linting files to ensure they start with specifi
Pants now supports the [CUE language](https://cuelang.org/) for defining, generating, and validating configuration data.
Enable the `pants.backend.experimental.cue` backend to add this support.

## 2.16.0.dev7 (Feb 17, 2023)

### New Features

* Allow exporting codegenerated files/resources ([#18236](https://github.com/pantsbuild/pants/pull/18236))

* python: teach tailor goal to create resource targets for py.typed marker files ([#18174](https://github.com/pantsbuild/pants/pull/18174))

* The beginnings of a Django plugin. ([#18173](https://github.com/pantsbuild/pants/pull/18173))

* Add backend for projects that use openstack/stevedore ([#18132](https://github.com/pantsbuild/pants/pull/18132))

* [python-infer]: allow ignoring unowned imports ([#18094](https://github.com/pantsbuild/pants/pull/18094))

* Print diff report when generating Python lockfiles. ([#17347](https://github.com/pantsbuild/pants/pull/17347))

### User API Changes

* Deprecates `experimental_run_shell_command` in favour of `run_shell_command` ([#18266](https://github.com/pantsbuild/pants/pull/18266))

* Deprecates `experimental_shell_command`, replacing with `shell_command` ([#18255](https://github.com/pantsbuild/pants/pull/18255))

* Extracts `backend.adhoc` package and `backend.experimental.adhoc` backend for `adhoc_tool` ([#18237](https://github.com/pantsbuild/pants/pull/18237))

* Upgrade Pex to 2.1.122. ([#18230](https://github.com/pantsbuild/pants/pull/18230))

* Relativize the pants_bin_name if necessary. ([#18204](https://github.com/pantsbuild/pants/pull/18204))

* Adjust the default for `root_output_directory` ([#18192](https://github.com/pantsbuild/pants/pull/18192))

* Visibility backend: adjust rule set selector syntax making path values default rather than target types. ([#18154](https://github.com/pantsbuild/pants/pull/18154))

* Adds fields to capture stdout/stderr to `experimental_run_in_sandbox` ([#18165](https://github.com/pantsbuild/pants/pull/18165))

* `shell_command`/`run_in_sandbox` workdir/output dir adjustments ([#18157](https://github.com/pantsbuild/pants/pull/18157))

* Default to the new "Dependents" header in the py_constraints report. ([#18142](https://github.com/pantsbuild/pants/pull/18142))

### Plugin API Changes

* Improve type inference for `@rule`s ([#17947](https://github.com/pantsbuild/pants/pull/17947))

* deprecate `frozen_after_init` ([#18127](https://github.com/pantsbuild/pants/pull/18127))

### Bug fixes

* go: support embed configuration in stdlib packages ([#18271](https://github.com/pantsbuild/pants/pull/18271))

* Upgrade to Lambdex 0.1.9 ([#18257](https://github.com/pantsbuild/pants/pull/18257))

* Delete override of expected `exe` name for `shfmt`. ([#18258](https://github.com/pantsbuild/pants/pull/18258))

* Fix bootstrap issue with `__defaults__` and environments. ([#18251](https://github.com/pantsbuild/pants/pull/18251))

* Allow breakpoints to be hit when run_in_sandbox is False ([#18244](https://github.com/pantsbuild/pants/pull/18244))

* Avoid bind-mounts for docker environments on macOS ([#18225](https://github.com/pantsbuild/pants/pull/18225))

* Move ruff from fmt to fix ([#18228](https://github.com/pantsbuild/pants/pull/18228))

* Stream large remote cache downloads directly to disk ([#18054](https://github.com/pantsbuild/pants/pull/18054))

* BUILD file target field default should respect values from `__defaults__`. ([#18172](https://github.com/pantsbuild/pants/pull/18172))

* Fix published wheel RECORDs. ([#18219](https://github.com/pantsbuild/pants/pull/18219))

* Always explicitly shutdown executors ([#18216](https://github.com/pantsbuild/pants/pull/18216))

* go: upgrade golangci-lint to fix issue with Go v1.20 ([#18207](https://github.com/pantsbuild/pants/pull/18207))

* go: disable coverage redesign experiment on Go v1.20+ ([#18205](https://github.com/pantsbuild/pants/pull/18205))

* Use `EnvironmentAwarePackageRequest` in many more contexts. ([#18203](https://github.com/pantsbuild/pants/pull/18203))

* Have lambdex create a new output file. ([#18200](https://github.com/pantsbuild/pants/pull/18200))

* Shutdown all threads as part of Scheduler shutdown ([#18166](https://github.com/pantsbuild/pants/pull/18166))

* Fix the dep inference scripts source root bug. ([#18164](https://github.com/pantsbuild/pants/pull/18164))

* Add the `environment` field to most Python binary target types ([#18144](https://github.com/pantsbuild/pants/pull/18144))

* go: don't check for `Target` attribute on stdlib packages ([#18148](https://github.com/pantsbuild/pants/pull/18148))

* go: fix backend to work when run in non-local environments ([#18140](https://github.com/pantsbuild/pants/pull/18140))

* Run `pyupgrade` until convergance ([#18128](https://github.com/pantsbuild/pants/pull/18128))

### Documentation

* docs: use an example black version that does not explode ([#18270](https://github.com/pantsbuild/pants/pull/18270))

* docs: fix typo ([#18238](https://github.com/pantsbuild/pants/pull/18238))

* Update the stated release target to match our desired reality. ([#18234](https://github.com/pantsbuild/pants/pull/18234))

* docs: add What's New section for 2.15.x release notes (#18226) ([#18232](https://github.com/pantsbuild/pants/pull/18232))

* Add warning about dependency inference + `extra_type_stubs`. ([#17076](https://github.com/pantsbuild/pants/pull/17076))

* docs: further updates to 2.16.x What's New ([#18227](https://github.com/pantsbuild/pants/pull/18227))

* Jacob Floyd/Huon Wilson updates to team page ([#18221](https://github.com/pantsbuild/pants/pull/18221))

* docs: add "What's New" section to 2.16 release notes ([#18146](https://github.com/pantsbuild/pants/pull/18146))

* Document the new get-pants.sh name. ([#18137](https://github.com/pantsbuild/pants/pull/18137))

* Add Pylint post ([#18079](https://github.com/pantsbuild/pants/pull/18079))

* Change to Pantsbuild's custom YouTube url ([#18133](https://github.com/pantsbuild/pants/pull/18133))

* Recommend checking the pantsup.sh script in. ([#18120](https://github.com/pantsbuild/pants/pull/18120))

* Don't update old release notes. ([#18123](https://github.com/pantsbuild/pants/pull/18123))

* Change `./pants` to `pants` in the docs ([#18121](https://github.com/pantsbuild/pants/pull/18121))

## 2.16.0.dev6 (Jan 29, 2023)

### New Features
Expand Down

0 comments on commit aee627d

Please sign in to comment.