Skip to content

Commit

Permalink
docs version switch
Browse files Browse the repository at this point in the history
  • Loading branch information
cburroughs committed Nov 16, 2024
1 parent a579f69 commit 3e8fae6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
14 changes: 1 addition & 13 deletions docs/notes/2.24.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.
Expand Down
16 changes: 16 additions & 0 deletions docs/notes/2.25.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 <https://github.com/pypa/manylinux> for background context on Python wheels and C libraries.


## Full Changelog

For the full changelog, see the individual GitHub Releases for this series: <https://github.com/pantsbuild/pants/releases>

0 comments on commit 3e8fae6

Please sign in to comment.