From 4140abd3bff9880d61649ae1aa48a7bf509e157d Mon Sep 17 00:00:00 2001 From: "Worker Pants (Pantsbuild GitHub Automation Bot)" <133242086+WorkerPants@users.noreply.github.com> Date: Thu, 6 Mar 2025 18:12:36 -0800 Subject: [PATCH] 2.25.x: add note about updating pantsbuild/actions/init-pants for py3.11 support (Cherry-pick of #22054) (#22055) v10 of the action is required Co-authored-by: Jacob Floyd Co-authored-by: Tom Dyas --- docs/notes/2.25.x.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/notes/2.25.x.md b/docs/notes/2.25.x.md index f3b11224337..c8d64e80f06 100644 --- a/docs/notes/2.25.x.md +++ b/docs/notes/2.25.x.md @@ -51,6 +51,8 @@ The version of Python used by Pants itself has been updated to [3.11](https://do Note: Pants uses its own separately-installed Python installation to run itself. This installation is managed by the Pants Launcher Binary. The Pants choice of Python 3.11 for its own code does not limit the versions of Python that you can use to test and build your own code. +For GitHub Actions users that use the [pantsbuild/actions/init-pants](https://github.com/pantsbuild/actions/tree/main/init-pants) action with `setup-python-for-plugins=true`, you will need to update your GHA workflows to use [v10](https://github.com/pantsbuild/actions/releases/tag/v10) or newer to get the correct version of Python. + ### Backends #### Docker