Skip to content

Conversation

@per1234
Copy link
Collaborator

@per1234 per1234 commented Jan 16, 2026

Python and Python-based tools are used in the development and maintenance of the project. A standardized version of Python is used for these operations.

Poetry is used for Python package dependencies management. Poetry installs dependencies into a virtual environment. For this reason, the Poetry configuration includes a Python version number, which must match the correct version of Python for the project. This configuration is stored in the pyproject.toml file.

Python is installed in the GitHub Actions runner environments using the "actions/setup-python" action, which also must be configured to install the correct version of Python. Previously the version number for use by the actions/setup-python action was defined in each workflow. This meant that we had multiple copies of the Python version information, all of which had to be kept in sync.

Fortunately, support for using pyproject.toml as the source of version information for the "actions/setup-python" action was recently added. This means it is now possible for all components of the project infrastructure to get the Python version from a single source.

Python and Python-based tools are used in the development and maintenance of the project. A standardized version of
Python is used for these operations.

Poetry is used for Python package dependencies management. Poetry installs dependencies into a virtual environment. For
this reason, the Poetry configuration includes a Python version number, which must match the correct version of Python
for the project. This configuration is stored in the `pyproject.toml` file.

Python is installed in the GitHub Actions runner environments using the "actions/setup-python" action, which also must
be configured to install the correct version of Python. Previously the version number for use by the actions/setup-python
action was defined in each workflow. This meant that we had multiple copies of the Python version information, all of
which had to be kept in sync.

Fortunately, support for using `pyproject.toml` as the source of version information for the "actions/setup-python"
action was recently added. This means it is now possible for all components of the project infrastructure to get the
Python version from a single source.
@per1234 per1234 self-assigned this Jan 16, 2026
@per1234 per1234 added the enhancement New feature or request label Jan 16, 2026
@per1234 per1234 merged commit 3bb6edb into main Jan 16, 2026
18 checks passed
@per1234 per1234 deleted the py-version-source branch January 16, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant