Python builds for Actions Runner Images
Go to file
github-actions[bot] b643f0d07f
Some checks are pending
CodeQL analysis / CodeQL analysis (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.10.8) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.11.8) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.9.12) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.10.8) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.11.8) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.9.12) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.10.8) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.11.8) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.9.12) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.10.8) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.11.8) (push) Waiting to run
Validate 'versions-manifest.json' file / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.9.12) (push) Waiting to run
Update versions-manifest (#264)
Co-authored-by: Service account <no-reply@microsoft.com>
2024-04-25 09:25:58 -05:00
.github version update (#257) 2024-02-14 11:34:20 -06:00
builders add apt-get update (#239) 2023-08-07 14:16:32 +02:00
config change regex for creating pr (#227) 2023-05-19 16:11:02 +02:00
helpers@6fbb1f0f20 add logic with generation hash (#246) 2023-09-22 15:04:14 +02:00
installers fix: use environment variable for `PIP_ROOT_USER_ACTION` (#259) 2024-04-24 22:44:10 -05:00
tests Update modules removed in Python 3.13 (#247) 2023-10-16 10:51:58 +02:00
.gitignore mplement script to build and prepare packages for Python 2020-04-29 10:57:27 +03:00
.gitmodules switch default branch (#37) 2020-07-14 17:22:51 +03:00
CODE_OF_CONDUCT.md mplement script to build and prepare packages for Python 2020-04-29 10:57:27 +03:00
CONTRIBUTING.md mplement script to build and prepare packages for Python 2020-04-29 10:57:27 +03:00
LICENSE mplement script to build and prepare packages for Python 2020-04-29 10:57:27 +03:00
README.md Update README.md and Add Support Notification Policy 2023-09-20 12:53:45 +02:00
SECURITY.md mplement script to build and prepare packages for Python 2020-04-29 10:57:27 +03:00
versions-manifest.json Update versions-manifest (#264) 2024-04-25 09:25:58 -05:00

Python for Actions

This repository contains the code and scripts that we use to build Python packages used in runner-images and accessible through the setup-python Action. File versions-manifest.json contains the list of available and released versions.

Caution: this is prepared for and only permitted for use by actions runner-images and setup-python action.

Some versions are pre-installed on runner-images images. More versions are available to install on-the-fly through the setup-python action.

Building installation packages

Ubuntu: The official Python sources are downloaded from python.org, built using the make tool, and archived along with the installation script for further distribution and installation. We build each Python version against all versions of Ubuntu that are available at the time the Python version is released.

macOS:

  • For Python < 3.11, the official Python sources are downloaded from python.org, built using the make tool, and archived along with the installation script for further distribution and installation. For backward compatibility, we build each Python version against the oldest version of macOS that is available at the time the Python version is released.
  • For Python >= 3.11, the official macOS universal2 Python binaries are simply downloaded from python.org and archived along with the installation script for further distribution and installation.

Windows: The official Python executables are simply downloaded from python.org and archived along with the installation script for further distribution and installation.

Support policy

We aim to make new versions of Python available as soon as they are released. Both stable and prerelease versions are considered for building and releasing. Please open an issue in actions/setup-python if a version you're looking for isn't available.

When a new version of an operating system is released and made available for use with GitHub hosted runners, we will provide the latest existing patch versions of Python for all major versions that have not reached end-of-life. Any subsequent Python versions will be made available for the new OS as well.

Beginning approximately six months prior to the removal of a Python version from the versions-manifest.json file, a pinned issue will be created in the setup-python repository. This pinned issue will provide important details about the upcoming end of support, including the specific date, as well as any other notes, relevant updates or alternatives. We encourage users to regularly check pinned issues for updates on tool versions they are using for maximum transparency, security, performance and overall compatibility with their projects.

Contribution

Contributions are welcome! See Contributor's Guide for more details about contribution process and code structure