diff --git a/docs/notes/2.24.x.md b/docs/notes/2.24.x.md index 416e4e61aeb..1c795cd127f 100644 --- a/docs/notes/2.24.x.md +++ b/docs/notes/2.24.x.md @@ -24,17 +24,7 @@ We offer [formal sponsorship tiers for companies](https://www.pantsbuild.org/spo * Fixed bug where `pants peek --include-additional-info` was not actually displaying the additional info ([#21399](https://github.com/pantsbuild/pants/pull/21399)). -#### Internal Python Upgrade - -The version of Python used by Pants itself has been updated to [3.11](https://docs.python.org/3/whatsnew/3.11.html). To support this the [Pants Launcher Binary](https://www.pantsbuild.org/blog/2023/02/23/the-pants-launcher-binary-a-much-simpler-way-to-install-and-run-pants) known as [`scie-pants`](https://github.com/pantsbuild/scie-pants/) now has a minimum version of `0.12.0`. To update to the latest launcher binary run: - -``` -SCIE_BOOT=update pants -``` - -That Pants itself happens to be partially writtin in Python has no bearing on the versions of Python that Pants can use to test and build your code. - -#### New Options System +### New Options System This release switches the Pants [options system](https://www.pantsbuild.org/2.22/docs/using-pants/key-concepts/options) to use the new "native" implementation written in Rust first introduced in the 2.22.x series. @@ -126,8 +116,6 @@ Add support for the `all:` prefix to patterns used with the `go:embed` directive ### Plugin API changes -The version of Python used by Pants itself is now [3.11](https://docs.python.org/3/whatsnew/3.11.html) (up from 3.9). - The `path_metadata_request` intrinsic rule can now access metadata for paths in the local system outside of the build root. Use the new `namespace` field on `PathMetadataRequest` to request metdata on local system paths using namespace `PathNamespace.SYSTEM`. PyO3, the interface crate between Rust and Python, has been upgraded to v0.22.x. A major change is that all Python values on the Rust side must be handled via either the `pyo3::Bound` or `pyo3::Py` smart pointers; direct references such as `&PyAny` are no longer supported. diff --git a/docs/notes/2.25.x.md b/docs/notes/2.25.x.md index b9c75e684e7..21c5d732161 100644 --- a/docs/notes/2.25.x.md +++ b/docs/notes/2.25.x.md @@ -19,6 +19,19 @@ established for this purpose. This non-profit's only source of revenue is The "legacy" options system is removed in this release. All options parsing is now handled by the new, native parser. + +### Internal Python Upgrade + +The version of Python used by Pants itself has been updated to [3.11](https://docs.python.org/3/whatsnew/3.11.html). To support this the [Pants Launcher Binary](https://www.pantsbuild.org/blog/2023/02/23/the-pants-launcher-binary-a-much-simpler-way-to-install-and-run-pants) known as [`scie-pants`](https://github.com/pantsbuild/scie-pants/) now has a minimum version of `0.12.0`. To update to the latest launcher binary run: + +``` +SCIE_BOOT=update pants +``` + +That Pants itself happens to be partially writtin in Python has no bearing on the versions of Python that Pants can use to test and build your code. + + + ### Goals ### Backends @@ -35,8 +48,11 @@ Previously we did ad-hoc coercion of some field values, so that, e.g., you could ### Plugin API changes +The version of Python used by Pants itself is now [3.11](https://docs.python.org/3/whatsnew/3.11.html) (up from 3.9). + The oldest [glibc version](https://www.sourceware.org/glibc/wiki/Glibc%20Timeline) supported by the published Pants wheels is now 2.28. This should have no effect unless you are running on extremely old Linux distributions. See for background context on Python wheels and C libraries. + ## Full Changelog For the full changelog, see the individual GitHub Releases for this series: