summarylogtreecommitdiffstats
path: root/0002-update-the-upper-boundary-of-controller-python-versi.patch
blob: 9045766cf70fe56d6d6c890eb643d787ee81279b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
From 58a95aa26946a479a8f68661ff2ee915310b2270 Mon Sep 17 00:00:00 2001
From: nicolasyang <nicolasyang243@proton.me>
Date: Tue, 24 Dec 2024 12:03:33 +0800
Subject: [PATCH 2/7] update the upper boundary of controller python version to
 3.14

---
 test/lib/ansible_test/_data/requirements/ansible-test.txt | 2 +-
 test/lib/ansible_test/_internal/coverage_util.py          | 2 +-
 test/lib/ansible_test/_util/target/common/constants.py    | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/lib/ansible_test/_data/requirements/ansible-test.txt b/test/lib/ansible_test/_data/requirements/ansible-test.txt
index 17662f07a2..2b725a985b 100644
--- a/test/lib/ansible_test/_data/requirements/ansible-test.txt
+++ b/test/lib/ansible_test/_data/requirements/ansible-test.txt
@@ -1,5 +1,5 @@
 # The test-constraints sanity test verifies this file, but changes must be made manually to keep it in up-to-date.
 virtualenv == 16.7.12 ; python_version < '3'
-coverage == 7.3.2 ; python_version >= '3.8' and python_version <= '3.12'
+coverage == 7.3.2 ; python_version >= '3.8' and python_version <= '3.13'
 coverage == 6.5.0 ; python_version >= '3.7' and python_version <= '3.7'
 coverage == 4.5.4 ; python_version >= '2.6' and python_version <= '3.6'
diff --git a/test/lib/ansible_test/_internal/coverage_util.py b/test/lib/ansible_test/_internal/coverage_util.py
index 30176236c7..24242c6d66 100644
--- a/test/lib/ansible_test/_internal/coverage_util.py
+++ b/test/lib/ansible_test/_internal/coverage_util.py
@@ -69,7 +69,7 @@ class CoverageVersion:
 
 COVERAGE_VERSIONS = (
     # IMPORTANT: Keep this in sync with the ansible-test.txt requirements file.
-    CoverageVersion('7.3.2', 7, (3, 8), (3, 12)),
+    CoverageVersion('7.3.2', 7, (3, 8), (3, 14)),
     CoverageVersion('6.5.0', 7, (3, 7), (3, 7)),
     CoverageVersion('4.5.4', 0, (2, 6), (3, 6)),
 )
diff --git a/test/lib/ansible_test/_util/target/common/constants.py b/test/lib/ansible_test/_util/target/common/constants.py
index 36a5a2c434..76d4a9a2eb 100644
--- a/test/lib/ansible_test/_util/target/common/constants.py
+++ b/test/lib/ansible_test/_util/target/common/constants.py
@@ -17,4 +17,6 @@ CONTROLLER_PYTHON_VERSIONS = (
     '3.10',
     '3.11',
     '3.12',
+    '3.13',
+    '3.14',
 )
-- 
2.52.0