amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Request] - Python 3.14

Open rgoltz opened this issue 2 months ago • 4 comments

What package is missing from Amazon Linux 2023? Please describe and include package name. Please add Python 3.14 to Amazon Linux 2023 as package via AWS-managed repo. Here are some infomration regarding the new release:

  • https://docs.python.org/3.14/whatsnew/3.14.html
  • https://pythoninsider.blogspot.com/2025/10/python-3140-final-is-here.html

Is this an update to existing package or new package request? Update to existing package for Python on AL2023 (It would be nice to have Python 3.12 and Python 3.13 available as a transition)

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify. AL2 getting close to EOL. I'm thinking it's not relevant for AL2 anymore.

Any additional information you'd like to include. (use-cases, etc) This issue should be (at least) done, once Lambda - Request for 3.14 + CodeBuild - Request for 3.14. This enable us to use different AWS services smoothly together.

rgoltz avatar Oct 07 '25 16:10 rgoltz

Watching. Hopefully not another year to support 3.14 like it was for 3.13.

matejsp avatar Oct 07 '25 17:10 matejsp

It sounds like a plan, with no estimates but I hope/sure, it won't be another year ;)

alexey-tsvetnov avatar Oct 07 '25 21:10 alexey-tsvetnov

@rgoltz

Update to existing package for Python on AL2023 (It would be nice to have Python 3.12 and Python 3.13 available as a transition)

Python 3.11, 3.12 and 3.12 are already all available (via dnf install) on AL2023. If you're thinking of the system python, which is 3.9, then I don't think AWS will change that under a major revision (AL2026?), but that's not needed, just install the version you want.

mwebber avatar Oct 08 '25 08:10 mwebber

It looks like not every commenter in this thread has the same context. It's true that currently AL2023 ships Python versions

  • 3.9 (also referred to as "system python"), package python3
  • 3.11, package python3.11
  • 3.12, package python3.12
  • 3.13, package python3.13

Python 3.9 comes preinstalled with the system that is a consequence of a certain system dependency on it and it won't be changed for the entire AL2023 distribution's lifetime.

This package installs python3 binary, however, there is also a sub-package python-unversioned-command that basically installs a symlink python pointing it to python3. In other words, with this package installed, on AL2023, executables python and python3 will always be Python 3.9

All other Python versions are namespaced, so if they are installed then their executables will be versioned as well, e.g. /usr/bin/python3.11 or /usr/bin/python3.12.

alexey-tsvetnov avatar Oct 09 '25 01:10 alexey-tsvetnov