Skip to content
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
10 changes: 6 additions & 4 deletions docs/docsite/rst/dev_guide/testing/sanity/compile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@ 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:

- 3.12
- 3.11
- 3.10
- 3.9

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.12
- 3.11
- 3.10
- 3.9
- 3.8
- 3.7
- 3.6
- 3.5
- 2.7

.. note::

Expand Down