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 14, 2024
1 parent f6b6a70 commit 988ee28
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,12 +19,28 @@ 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

### 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).


## Full Changelog

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

0 comments on commit 988ee28

Please sign in to comment.