Skip to content

Commit d1b86c8

Browse files
committed
Add support for py 3.12 and update comments
1 parent c3f68f4 commit d1b86c8

File tree

2 files changed

+26
-13
lines changed

2 files changed

+26
-13
lines changed

.github/workflows/sanity.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,22 @@ on:
88
default: ""
99
matrix_exclude:
1010
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
11-
# 2.9 supports Python 3.5-3.8
12-
# 2.13 supports Python 3.8-3.10
1311
# 2.14 supports Python 3.9-3.11
1412
# 2.15 supports Python 3.9-3.11
15-
# 2.16 supports Python 3.10-3.11
16-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_16.html
17-
# milestone is 2.16 until after 2.16 branches from devel
18-
# devel is 2.16 until 2023-09-18
13+
# 2.16 supports Python 3.10-3.12
14+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_17.html
15+
# milestone is 2.17 until after 2.17 branches from devel
16+
# devel is 2.17 until 2024-04-01
1917
default: >-
2018
[
19+
{
20+
"ansible-version": "stable-2.14",
21+
"python-version": "3.12"
22+
},
23+
{
24+
"ansible-version": "stable-2.15",
25+
"python-version": "3.12"
26+
},
2127
{
2228
"ansible-version": "stable-2.16",
2329
"python-version": "3.9"
@@ -34,8 +40,6 @@ on:
3440
required: false
3541
type: string
3642
matrix_include:
37-
# python 3.6 is not available after ubuntu-20.04
38-
# python 3.6 is not supported on ansible 2.12+
3943
default: []
4044
required: false
4145
type: string
@@ -67,6 +71,7 @@ jobs:
6771
- "3.9"
6872
- "3.10"
6973
- "3.11"
74+
- "3.12"
7075
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
7176
include: ${{ fromJSON(inputs.matrix_include) }}
7277
runs-on: ${{ matrix.os }}

.github/workflows/unit_source.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,22 @@ on:
88
default: ""
99
matrix_exclude:
1010
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
11-
# 2.13 supports Python 3.8-3.10
1211
# 2.14 supports Python 3.9-3.11
1312
# 2.15 supports Python 3.9-3.11
14-
# 2.16 supports Python 3.10-3.11
15-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_16.html
16-
# milestone is 2.16 until after 2.16 branches from devel
17-
# devel is 2.16 until 2023-09-18
13+
# 2.16 supports Python 3.10-3.12
14+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_17.html
15+
# milestone is 2.17 until after 2.17 branches from devel
16+
# devel is 2.17 until 2024-04-01
1817
default: >-
1918
[
19+
{
20+
"ansible-version": "stable-2.14",
21+
"python-version": "3.12"
22+
},
23+
{
24+
"ansible-version": "stable-2.15",
25+
"python-version": "3.12"
26+
},
2027
{
2128
"ansible-version": "stable-2.16",
2229
"python-version": "3.9"
@@ -53,6 +60,7 @@ jobs:
5360
- "3.9"
5461
- "3.10"
5562
- "3.11"
63+
- "3.12"
5664
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
5765
continue-on-error: ${{ matrix.ansible-version == 'devel' }}
5866

0 commit comments

Comments
 (0)