Skip to content

compile sanity test: update supported Python versions #2935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions docs/docsite/rst/dev_guide/testing/sanity/compile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ All Python source files must successfully compile using all supported Python ver

The list of supported Python versions is dependent on the version of ``ansible-core`` that you are using.
Make sure you consult the version of the documentation which matches your ``ansible-core`` version.
You can find an overview for this and previous versions in :ref:`ansible_core_support_matrix`.

Control node code, including plugins in Ansible Collections, must support the following Python versions:

Expand All @@ -19,11 +20,12 @@ Control node code, including plugins in Ansible Collections, must support the fo
Code which runs on targets (``modules`` and ``module_utils``) must support all control node supported Python versions,
as well as the additional Python versions supported only on targets:

- 3.8
- 3.7
- 3.6
- 3.5
- 2.7
- 3.14
- 3.13
- 3.12
- 3.11
- 3.10
- 3.9

.. note::

Expand Down