Skip to content

Commit ee2d1f2

Browse files
yurnovbeeankha
andauthored
Update matrix for ansible 2.20 and python 3.14 (#180)
* update matrix for ansible 2.20 and python 3.14 ansible-core 2.20 is close to release and it supports Python 3.14. branch `stable-2.20` has been created and `devel` branch now points to 2.21. ref: ansible/ansible#85992 * update exclude matrix to remove 2.18-3.14 combination version 2.16 replaced with 2.18 in untegration as 2.16 reached EOL * Remove trailing whitespace --------- Co-authored-by: Bianca Henderson <beeankha@gmail.com> Co-authored-by: Bianca Henderson <bianca@redhat.com>
1 parent 6ba29f7 commit ee2d1f2

File tree

5 files changed

+157
-40
lines changed

5 files changed

+157
-40
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
ansible-version:
48-
- stable-2.16
48+
- stable-2.18
4949
# - stable-2.15
5050
# - milestone
5151
# - devel

.github/workflows/integration_simple.yml

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ on:
1313
# 2.17 supports Python 3.10-3.12
1414
# 2.18 supports Python 3.11-3.13
1515
# 2.19 supports Python 3.11-3.13
16-
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
16+
# 2.20 supports Python 3.12-3.14
17+
# support for Python 3.14 added and 3.11 removed in 2.20 for control node
1718
# target node supported Python 3.8-3.13 as of 2.18 and 2.19
18-
# milestone is and devel is switched to 2.20 and drops support for Python 3.11
19-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_18.html
19+
# target node supported Python 3.9-3.14 as of 2.20
20+
# milestone is and devel is switched to 2.21
21+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_20.html
2022
default: >-
2123
[
2224
{
@@ -35,25 +37,49 @@ on:
3537
"ansible-version": "milestone",
3638
"python-version": "3.10"
3739
},
40+
{
41+
"ansible-version": "stable-2.20",
42+
"python-version": "3.11"
43+
},
44+
{
45+
"ansible-version": "stable-2.20",
46+
"python-version": "3.10"
47+
},
48+
{
49+
"ansible-version": "stable-2.19",
50+
"python-version": "3.14"
51+
},
3852
{
3953
"ansible-version": "stable-2.19",
4054
"python-version": "3.10"
4155
},
56+
{
57+
"ansible-version": "stable-2.18",
58+
"python-version": "3.14"
59+
},
4260
{
4361
"ansible-version": "stable-2.18",
4462
"python-version": "3.10"
4563
},
64+
{
65+
"ansible-version": "stable-2.17",
66+
"python-version": "3.14"
67+
},
4668
{
4769
"ansible-version": "stable-2.17",
4870
"python-version": "3.13"
4971
},
5072
{
5173
"ansible-version": "stable-2.16",
52-
"python-version": "3.12"
74+
"python-version": "3.14"
5375
},
5476
{
5577
"ansible-version": "stable-2.16",
5678
"python-version": "3.13"
79+
},
80+
{
81+
"ansible-version": "stable-2.16",
82+
"python-version": "3.12"
5783
}
5884
]
5985
required: false
@@ -82,16 +108,19 @@ jobs:
82108
- stable-2.17
83109
- stable-2.18
84110
- stable-2.19
111+
- stable-2.20
85112
- milestone
86113
- devel
87114
python-version:
88115
# 2.16 supports Python 3.10-3.11
89116
# 2.17 supports Python 3.10-3.12
90-
# 2.18 supports Python 3.11-3.13
117+
# 2.18 and 2.19 supports Python 3.11-3.13
118+
# 2.20 supports Python 3.12-3.14
91119
- "3.10"
92120
- "3.11"
93121
- "3.12"
94122
- "3.13"
123+
- "3.14"
95124
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
96125

97126
name: "py${{ matrix.python-version }} / ${{ matrix.ansible-version }}"

.github/workflows/sanity.yml

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ on:
1313
# 2.17 supports Python 3.10-3.12
1414
# 2.18 supports Python 3.11-3.13
1515
# 2.19 supports Python 3.11-3.13
16-
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
16+
# 2.20 supports Python 3.12-3.14
17+
# support for Python 3.14 added and 3.11 removed in 2.20 for control node
1718
# target node supported Python 3.8-3.13 as of 2.18 and 2.19
18-
# milestone is and devel is switched to 2.20 and drops support for Python 3.11
19-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_19.html
19+
# target node supported Python 3.9-3.14 as of 2.20
20+
# milestone is and devel is switched to 2.21
21+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_20.html
2022
default: >-
2123
[
2224
{
@@ -35,33 +37,49 @@ on:
3537
"ansible-version": "milestone",
3638
"python-version": "3.10"
3739
},
40+
{
41+
"ansible-version": "stable-2.20",
42+
"python-version": "3.11"
43+
},
44+
{
45+
"ansible-version": "stable-2.20",
46+
"python-version": "3.10"
47+
},
48+
{
49+
"ansible-version": "stable-2.19",
50+
"python-version": "3.14"
51+
},
3852
{
3953
"ansible-version": "stable-2.19",
4054
"python-version": "3.10"
4155
},
56+
{
57+
"ansible-version": "stable-2.18",
58+
"python-version": "3.14"
59+
},
4260
{
4361
"ansible-version": "stable-2.18",
4462
"python-version": "3.10"
4563
},
64+
{
65+
"ansible-version": "stable-2.17",
66+
"python-version": "3.14"
67+
},
4668
{
4769
"ansible-version": "stable-2.17",
4870
"python-version": "3.13"
4971
},
5072
{
5173
"ansible-version": "stable-2.16",
52-
"python-version": "3.12"
74+
"python-version": "3.14"
5375
},
5476
{
5577
"ansible-version": "stable-2.16",
5678
"python-version": "3.13"
5779
},
5880
{
59-
"ansible-version": "stable-2.15",
81+
"ansible-version": "stable-2.16",
6082
"python-version": "3.12"
61-
},
62-
{
63-
"ansible-version": "stable-2.15",
64-
"python-version": "3.13"
6583
}
6684
]
6785
required: false
@@ -87,25 +105,26 @@ jobs:
87105
strategy:
88106
fail-fast: false
89107
matrix:
90-
os:
91-
- ubuntu-latest
92108
ansible-version:
93109
# ansible-core 2.15 reached EOL on November 2024
110+
# ansible-core 2.16 will reach EOL on May 2025
94111
- stable-2.16
95112
- stable-2.17
96113
- stable-2.18
97114
- stable-2.19
115+
- stable-2.20
98116
- milestone
99117
- devel
100118
python-version:
101119
# 2.16 supports Python 3.10-3.11
102120
# 2.17 supports Python 3.10-3.12
103-
# 2.18 supports Python 3.11-3.13
104-
# 2.19 supports Python 3.11-3.13
121+
# 2.18 and 2.19 supports Python 3.11-3.13
122+
# 2.20 supports Python 3.12-3.14
105123
- "3.10"
106124
- "3.11"
107125
- "3.12"
108126
- "3.13"
127+
- "3.14"
109128
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
110129
include: ${{ fromJSON(inputs.matrix_include) }}
111130
runs-on: ${{ matrix.os }}

.github/workflows/unit_galaxy.yml

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ on:
1313
# 2.17 supports Python 3.10-3.12
1414
# 2.18 supports Python 3.11-3.13
1515
# 2.19 supports Python 3.11-3.13
16-
# support for Python 3.13 added and 3.10 removed in 2.18 for control node
16+
# 2.20 supports Python 3.12-3.14
17+
# support for Python 3.14 added and 3.11 removed in 2.20 for control node
1718
# target node supported Python 3.8-3.13 as of 2.18 and 2.19
18-
# milestone is and devel is switched to 2.20 and drops support for Python 3.11
19-
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_19.html
19+
# target node supported Python 3.9-3.14 as of 2.20
20+
# milestone is and devel is switched to 2.21
21+
# https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_20.html
2022
default: >-
2123
[
2224
{
@@ -35,33 +37,49 @@ on:
3537
"ansible-version": "milestone",
3638
"python-version": "3.10"
3739
},
40+
{
41+
"ansible-version": "stable-2.20",
42+
"python-version": "3.11"
43+
},
44+
{
45+
"ansible-version": "stable-2.20",
46+
"python-version": "3.10"
47+
},
48+
{
49+
"ansible-version": "stable-2.19",
50+
"python-version": "3.14"
51+
},
3852
{
3953
"ansible-version": "stable-2.19",
4054
"python-version": "3.10"
4155
},
56+
{
57+
"ansible-version": "stable-2.18",
58+
"python-version": "3.14"
59+
},
4260
{
4361
"ansible-version": "stable-2.18",
4462
"python-version": "3.10"
4563
},
64+
{
65+
"ansible-version": "stable-2.17",
66+
"python-version": "3.14"
67+
},
4668
{
4769
"ansible-version": "stable-2.17",
4870
"python-version": "3.13"
4971
},
5072
{
5173
"ansible-version": "stable-2.16",
52-
"python-version": "3.12"
74+
"python-version": "3.14"
5375
},
5476
{
5577
"ansible-version": "stable-2.16",
5678
"python-version": "3.13"
5779
},
5880
{
59-
"ansible-version": "stable-2.15",
81+
"ansible-version": "stable-2.16",
6082
"python-version": "3.12"
61-
},
62-
{
63-
"ansible-version": "stable-2.15",
64-
"python-version": "3.13"
6583
}
6684
]
6785
required: false
@@ -80,24 +98,26 @@ jobs:
8098
strategy:
8199
fail-fast: false
82100
matrix:
83-
os:
84-
- ubuntu-latest
85101
ansible-version:
86102
# ansible-core 2.15 reached EOL on November 2024
103+
# ansible-core 2.16 will reach EOL on May 2025
87104
- stable-2.16
88105
- stable-2.17
89106
- stable-2.18
90107
- stable-2.19
108+
- stable-2.20
91109
- milestone
92110
- devel
93111
python-version:
94112
# 2.16 supports Python 3.10-3.11
95113
# 2.17 supports Python 3.10-3.12
96-
# 2.18 supports Python 3.11-3.13
114+
# 2.18 and 2.19 supports Python 3.11-3.13
115+
# 2.20 supports Python 3.12-3.14
97116
- "3.10"
98117
- "3.11"
99118
- "3.12"
100119
- "3.13"
120+
- "3.14"
101121
exclude: ${{ fromJSON(inputs.matrix_exclude) }}
102122
include: ${{ fromJSON(inputs.matrix_include) }}
103123
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)