Skip to content

Commit

Permalink
Prepare 2.16.0a0. (pantsbuild#18403)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaos authored Mar 7, 2023
1 parent 71b2806 commit d37d57a
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 15 deletions.
7 changes: 7 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Alexey Tereshenkov
+ Andreas Stenius
+ Andrew Hamilton
+ Andrii Porokhnavets
+ Andy Reitz
+ Antoine Tollenaere
+ Asher Foa
Expand Down Expand Up @@ -45,6 +46,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Christopher Neugebauer
+ Cody Gibb
+ Colin Taylor
+ Constantin Ponfick
+ Craig Schertz
+ Cristian Matache
+ Damon Revoe
Expand Down Expand Up @@ -83,6 +85,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Eugene Burmako
+ Evan Jones
+ Evgeny Kravchenko
+ Facetoe
+ Fatin H
+ Fedor Korotkov
+ Fiona Condone
Expand Down Expand Up @@ -153,6 +156,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Ken Kawamoto
+ Kevin Oliver
+ Kevin Sweeney
+ Koki Nishihara
+ Kris Wilson
+ Kushal Dave
+ Kyle Derr
Expand Down Expand Up @@ -224,6 +228,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Pierre DAL-PRA
+ Qicheng Ma
+ Raúl Cuza
+ Rhuan Barreto
+ Rhys Madigan
+ Robert Stapenhurst
+ Roger Jiang
Expand All @@ -236,9 +241,11 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Sameer Brenn
+ Sara Solano
+ Scott Lessans
+ Scott Searcy
+ Senthil Kumaran
+ SergeKireev
+ Sergey Serebryakov
+ Seve Martinez
+ Shane Delmore
+ Shantanu Kumar
+ Shuo Li
Expand Down
17 changes: 14 additions & 3 deletions build-support/bin/classify_changed_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,24 @@ class Affected(enum.Enum):
other = "other"


_docs_globs = ["README.md", "**/README.md", "docs/*", "build-support/bin/generate_user_list.py"]
_rust_globs = ["src/rust/engine/*", "rust-toolchain", "build-support/bin/rust/*"]
_docs_globs = [
"*.md",
"**/*.md",
"docs/*",
"build-support/bin/generate_user_list.py",
]
_rust_globs = [
"src/rust/engine/*",
"rust-toolchain",
"build-support/bin/rust/*",
]
_release_globs = [
# Any changes to these files should trigger wheel building. Notes too, as they are included in
# the wheel.
"pants.toml",
"src/python/pants/VERSION",
"src/python/pants/notes/*",
"src/python/pants/init/BUILD",
"src/python/pants/notes/*",
"build-support/bin/release.sh",
"build-support/bin/_release_helper.py",
]
Expand Down
9 changes: 8 additions & 1 deletion build-support/bin/classify_changed_files_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@
["changed_files", "expected"],
(
[["docs/path/to/some/doc", "docs/path/to/some/other/doc"], {Affected.docs}],
[["README.md", "path/to/some/dir/README.md"], {Affected.docs}],
[
["README.md", "path/to/some/dir/README.md"],
{Affected.docs},
],
[
["src/python/pants/notes/2.16.x.md"],
{Affected.docs, Affected.release},
],
[["src/rust/engine/path/to/file.rs"], {Affected.rust}],
[["src/python/pants/VERSION"], {Affected.release}],
[["build-support/bin/generate_github_workflows.py"], {Affected.ci_config}],
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.dev7
2.16.0a0
111 changes: 101 additions & 10 deletions src/python/pants/notes/2.16.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,27 +127,111 @@ The new "preamble" plugin allows linting files to ensure they start with specifi

#### New: CUE

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.
Pants now have basic support for the [CUE language](https://cuelang.org/) for defining, generating, and validating configuration data.
Enable the `pants.backend.experimental.cue` backend to use this support.

#### New: YamlLint

Pants now the supports the [yamllint](https://yamllint.readthedocs.io) linter for YAML files. Enable the
`pants.backend.experimental.tools.yamllint` backend to add this support.
Pants now the supports the [yamllint](https://yamllint.readthedocs.io) linter for YAML files. Enable the `pants.backend.experimental.tools.yamllint` backend to add this support.

### Plugin API Changes

Python dependency inference may now be extended by plugin authors. Use the `PythonDependencyVisitorRequest` union
to hook into the Python dependency inference rules.
Python dependency inference may now be extended by plugin authors. Use the `PythonDependencyVisitorRequest` union to hook into the Python dependency inference rules.

The `frozen_after_init` decorator on dataclasses has been removed from many parts of the Pants codebase. Plugin
authors should avoid use of this decorator because it will likely be removed in a future Pants version.
The `frozen_after_init` decorator on dataclasses has been removed from many parts of the Pants codebase. Plugin authors should avoid use of this decorator because it will likely be removed in a future Pants version.

The deprecated `Platform.current` has been removed. Instead, have the affected rules take a `Platform`
directly as a parameter and the engine will supply the relevant `Platform` instance.
The deprecated `Platform.current` has been removed. Instead, have the affected rules take a `Platform` directly as a parameter and the engine will supply the relevant `Platform` instance.

The `ToolCustomLockfile` and `ToolDefaultLockfile` classes [have been removed](https://github.com/pantsbuild/pants/pull/17843).


## 2.16.0a0 (Mar 06, 2023)

### New Features

* Allow python tools to be installed from a user resolve. ([#18418](https://github.com/pantsbuild/pants/pull/18418))

* golang: add support for passthrough args for gofmt ([#18409](https://github.com/pantsbuild/pants/pull/18409))

* Add the ability for Pants to provide Python via a union (with a pyenv impl) ([#18352](https://github.com/pantsbuild/pants/pull/18352))

* Add `sources_fingerprint` to `peek` on source-creating targets ([#18383](https://github.com/pantsbuild/pants/pull/18383))

* New `BUILD` file symbols help info ([#18378](https://github.com/pantsbuild/pants/pull/18378))

* Visibility: support matching on target names. ([#18369](https://github.com/pantsbuild/pants/pull/18369))

* Support for `peek`ing at dependency/dependents rules ([#18112](https://github.com/pantsbuild/pants/pull/18112))

* Adds support for supplying "runnable" dependencies to the `execution_dependencies` field ([#18347](https://github.com/pantsbuild/pants/pull/18347))

* javascript: Support esm modules and commonjs specific javascript file extensions ([#18208](https://github.com/pantsbuild/pants/pull/18208))

* Adds `system_binary` target, which can be used to reproducibly find a pre-installed binary for use with `adhoc_tool` ([#18332](https://github.com/pantsbuild/pants/pull/18332))

* Enable running third-party Go `main` packages ([#17449](https://github.com/pantsbuild/pants/pull/17449))

### User API Changes

* Add `python311` runtime to `python_google_cloud_function` target ([#18405](https://github.com/pantsbuild/pants/pull/18405))

* Delegate lockfile requirement validation to Pex when possible. ([#18415](https://github.com/pantsbuild/pants/pull/18415))

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

* Deprecate the default interpreter constraints. ([#18390](https://github.com/pantsbuild/pants/pull/18390))

* Give pantsd more RAM by default. ([#18389](https://github.com/pantsbuild/pants/pull/18389))

### Plugin API Changes

* Support specifying a named resolve as the superset in a `PexRequirements`. ([#18397](https://github.com/pantsbuild/pants/pull/18397))

* Deprecate the `@rule_helper` decorator. ([#18330](https://github.com/pantsbuild/pants/pull/18330))

* Get rid of the `LockfileContent` class ([#18305](https://github.com/pantsbuild/pants/pull/18305))

### Bug fixes

* python: collect files with '[tool.ruff' sections as candidates for Ruff config files ([#18413](https://github.com/pantsbuild/pants/pull/18413))

* Fix OSError when running pants in systemd-nspawn container ([#18398](https://github.com/pantsbuild/pants/pull/18398))

* Fix `paths` issue with transitive excludes. ([#18396](https://github.com/pantsbuild/pants/pull/18396))

* Fix export-codgen with multiple output types from same input type ([#18373](https://github.com/pantsbuild/pants/pull/18373))

* Errors in `--loop` wait for changes rather than re-running immediately ([#18367](https://github.com/pantsbuild/pants/pull/18367))

* Support using `env()` in prelude macro files ([#18273](https://github.com/pantsbuild/pants/pull/18273))

* Docker environment uses a volume for named caches ([#18327](https://github.com/pantsbuild/pants/pull/18327))

* Load `fromfile` files relative to build root ([#18311](https://github.com/pantsbuild/pants/pull/18311))

* Ensure that the pep-517 backend shim works on Python 2.7. ([#18295](https://github.com/pantsbuild/pants/pull/18295))

### Documentation

* Update documentation on how to install the pants binary ([#18372](https://github.com/pantsbuild/pants/pull/18372))

* Some doc fixes suggested by users. ([#18393](https://github.com/pantsbuild/pants/pull/18393))

* docs: tidy up writing plugins tutorial ([#18380](https://github.com/pantsbuild/pants/pull/18380))

* docs: upgrade plugin writing tutorial to 2.15.0 ([#18371](https://github.com/pantsbuild/pants/pull/18371))

* Use valid container/app names in helm examples ([#18358](https://github.com/pantsbuild/pants/pull/18358))

* Remove defunct newsletter ([#18355](https://github.com/pantsbuild/pants/pull/18355))

* docs: mention code generation when troubleshooting missing imports from first-party code ([#18073](https://github.com/pantsbuild/pants/pull/18073))

* Fix documentation example for `python_awslambda` targets ([#18302](https://github.com/pantsbuild/pants/pull/18302))

* Change bool values to lowercase in TOML snippets ([#18299](https://github.com/pantsbuild/pants/pull/18299))


## 2.16.0.dev7 (Feb 17, 2023)

### New Features
Expand Down Expand Up @@ -266,6 +350,7 @@ The `ToolCustomLockfile` and `ToolDefaultLockfile` classes [have been removed](h

* 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 Expand Up @@ -316,6 +401,7 @@ The `ToolCustomLockfile` and `ToolDefaultLockfile` classes [have been removed](h

* docs: add tutorial to get started writing plugins: No 3 ([#18018](https://github.com/pantsbuild/pants/pull/18018))


## 2.16.0.dev5 (Jan 16, 2023)

### New Features
Expand Down Expand Up @@ -388,6 +474,7 @@ The `ToolCustomLockfile` and `ToolDefaultLockfile` classes [have been removed](h

* go: update docs to remove caveats about implemented features ([#17913](https://github.com/pantsbuild/pants/pull/17913))


## 2.16.0.dev4 (Dec 30, 2022)

### New Features
Expand Down Expand Up @@ -454,6 +541,7 @@ The `ToolCustomLockfile` and `ToolDefaultLockfile` classes [have been removed](h

* docs: extend python test goal with info on collecting tests with pytests ([#17894](https://github.com/pantsbuild/pants/pull/17894))


## 2.16.0.dev3 (Dec 16, 2022)

### New Features
Expand Down Expand Up @@ -510,6 +598,7 @@ The `ToolCustomLockfile` and `ToolDefaultLockfile` classes [have been removed](h

* Doc: update `Get` docstring for multiple inputs. ([#17730](https://github.com/pantsbuild/pants/pull/17730))


## 2.16.0.dev2 (Dec 08, 2022)

### New Features
Expand Down Expand Up @@ -564,6 +653,7 @@ The `ToolCustomLockfile` and `ToolDefaultLockfile` classes [have been removed](h

* Update docker docs to clarify dependency handling. ([#17655](https://github.com/pantsbuild/pants/pull/17655))


## 2.16.0.dev1 (Nov 27, 2022)

### New Features
Expand Down Expand Up @@ -606,6 +696,7 @@ The `ToolCustomLockfile` and `ToolDefaultLockfile` classes [have been removed](h

* Docs: improve docs on handling option values in cli ([#17506](https://github.com/pantsbuild/pants/pull/17506))


## 2.16.0.dev0 (Nov 19, 2022)

### New Features
Expand Down

0 comments on commit d37d57a

Please sign in to comment.