mint/install-python 1.3.0

Install Python, a programming language that lets you work quickly and integrate systems more effectively

Parameters

Parameter
Required
Default
Description
python-version
*
Version of Python to install
pip-version
Version of pip to install
setuptools-version
Version of setuptools to install

README.md

Mint currently supports Python versions 3.7.0 through 3.13.3. You'll need to specify python-version.

tasks:
  - key: python
    call: mint/install-python 1.3.0
    with:
      python-version: 3.13.3

You can optionally specify the version of pip to install:

tasks:
  - key: python
    call: mint/install-python 1.3.0
    with:
      python-version: 3.13.3
      pip-version: 25.0.1

And the version of setuptools:

tasks:
  - key: python
    call: mint/install-python 1.3.0
    with:
      python-version: 3.13.3
      pip-version: 25.0.1
      setuptools-version: 78.1.0

If you do not specify pip-version or setuptools-version, the versions that shipped with the respective versions of python will be installed. NOTE: Python versions 3.12.0 and greater do not install setuptools by default. See docker-library/python#952 for more information on this decision. If you would like to install setuptools via this leaf, pass the setuptools-version parameter.