Skip to content

Commit dcd7387

Browse files
committed
WIP Python 3.13
1 parent 0ce9ffc commit dcd7387

File tree

5 files changed

+74
-53
lines changed

5 files changed

+74
-53
lines changed

.ci/azure-pipelines-steps.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ steps:
1212
inputs:
1313
githubToken: '$(GITHUB_PYVER_TOKEN)'
1414
versionSpec: '$(python.version)'
15+
allowUnstable: $(python.allowUnstable)'
1516
condition: ne(variables['python.version'], '')
1617

1718
- script: |

.ci/azure-pipelines.yml

+64-48
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,24 @@ jobs:
2828
matrix:
2929
Mito_27:
3030
tox.env: py27-mode_mitogen
31-
Mito_312:
32-
python.version: '3.12'
33-
tox.env: py312-mode_mitogen
31+
Mito_313:
32+
python.version: '3.13'
33+
python.allUnstable: true
34+
tox.env: py313-mode_mitogen
3435

3536
Loc_27_210:
3637
tox.env: py27-mode_localhost-ansible2.10
37-
Loc_312_9:
38-
python.version: '3.12'
39-
tox.env: py312-mode_localhost-ansible9
38+
Loc_313_9:
39+
python.version: '3.13'
40+
python.allUnstable: true
41+
tox.env: py313-mode_localhost-ansible9
4042

4143
Van_27_210:
4244
tox.env: py27-mode_localhost-ansible2.10-strategy_linear
43-
Van_312_9:
44-
python.version: '3.12'
45-
tox.env: py312-mode_localhost-ansible9-strategy_linear
45+
Van_313_9:
46+
python.version: '3.13'
47+
python.allUnstable: true
48+
tox.env: py313-mode_localhost-ansible9-strategy_linear
4649

4750
- job: Linux
4851
pool:
@@ -99,33 +102,42 @@ jobs:
99102
python.version: '3.6'
100103
tox.env: py36-mode_mitogen-distro_ubuntu2004
101104

102-
Mito_312_centos6:
103-
python.version: '3.12'
104-
tox.env: py312-mode_mitogen-distro_centos6
105-
Mito_312_centos7:
106-
python.version: '3.12'
107-
tox.env: py312-mode_mitogen-distro_centos7
108-
Mito_312_centos8:
109-
python.version: '3.12'
110-
tox.env: py312-mode_mitogen-distro_centos8
111-
Mito_312_debian9:
112-
python.version: '3.12'
113-
tox.env: py312-mode_mitogen-distro_debian9
114-
Mito_312_debian10:
115-
python.version: '3.12'
116-
tox.env: py312-mode_mitogen-distro_debian10
117-
Mito_312_debian11:
118-
python.version: '3.12'
119-
tox.env: py312-mode_mitogen-distro_debian11
120-
Mito_312_ubuntu1604:
121-
python.version: '3.12'
122-
tox.env: py312-mode_mitogen-distro_ubuntu1604
123-
Mito_312_ubuntu1804:
124-
python.version: '3.12'
125-
tox.env: py312-mode_mitogen-distro_ubuntu1804
126-
Mito_312_ubuntu2004:
127-
python.version: '3.12'
128-
tox.env: py312-mode_mitogen-distro_ubuntu2004
105+
Mito_313_centos6:
106+
python.version: '3.13'
107+
python.allUnstable: true
108+
tox.env: py313-mode_mitogen-distro_centos6
109+
Mito_313_centos7:
110+
python.version: '3.13'
111+
python.allUnstable: true
112+
tox.env: py313-mode_mitogen-distro_centos7
113+
Mito_313_centos8:
114+
python.version: '3.13'
115+
python.allUnstable: true
116+
tox.env: py313-mode_mitogen-distro_centos8
117+
Mito_313_debian9:
118+
python.version: '3.13'
119+
python.allUnstable: true
120+
tox.env: py313-mode_mitogen-distro_debian9
121+
Mito_313_debian10:
122+
python.version: '3.13'
123+
python.allUnstable: true
124+
tox.env: py313-mode_mitogen-distro_debian10
125+
Mito_313_debian11:
126+
python.version: '3.13'
127+
python.allUnstable: true
128+
tox.env: py313-mode_mitogen-distro_debian11
129+
Mito_313_ubuntu1604:
130+
python.version: '3.13'
131+
python.allUnstable: true
132+
tox.env: py313-mode_mitogen-distro_ubuntu1604
133+
Mito_313_ubuntu1804:
134+
python.version: '3.13'
135+
python.allUnstable: true
136+
tox.env: py313-mode_mitogen-distro_ubuntu1804
137+
Mito_313_ubuntu2004:
138+
python.version: '3.13'
139+
python.allUnstable: true
140+
tox.env: py313-mode_mitogen-distro_ubuntu2004
129141

130142
Ans_27_210:
131143
tox.env: py27-mode_ansible-ansible2.10
@@ -151,15 +163,19 @@ jobs:
151163
Ans_311_5:
152164
python.version: '3.11'
153165
tox.env: py311-mode_ansible-ansible5
154-
Ans_312_6:
155-
python.version: '3.12'
156-
tox.env: py312-mode_ansible-ansible6
157-
Ans_312_7:
158-
python.version: '3.12'
159-
tox.env: py312-mode_ansible-ansible7
160-
Ans_312_8:
161-
python.version: '3.12'
162-
tox.env: py312-mode_ansible-ansible8
163-
Ans_312_9:
164-
python.version: '3.12'
165-
tox.env: py312-mode_ansible-ansible9
166+
Ans_313_6:
167+
python.version: '3.13'
168+
python.allUnstable: true
169+
tox.env: py313-mode_ansible-ansible6
170+
Ans_313_7:
171+
python.version: '3.13'
172+
python.allUnstable: true
173+
tox.env: py313-mode_ansible-ansible7
174+
Ans_313_8:
175+
python.version: '3.13'
176+
python.allUnstable: true
177+
tox.env: py313-mode_ansible-ansible8
178+
Ans_313_9:
179+
python.version: '3.13'
180+
python.allUnstable: true
181+
tox.env: py313-mode_ansible-ansible9

docs/changelog.rst

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Unreleased
2525
* :gh:issue:`957` Fix Ansible exception when executing against 10s of hosts
2626
"ValueError: filedescriptor out of range in select()"
2727
* :gh:issue:`1066` Support Ansible `ansible_host_key_checking` & `ansible_ssh_host_key_checking`
28+
* :gh:issue:`1073` Python 3.13 support
2829

2930

3031
v0.3.7 (2024-04-08)

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def long_description():
7979
'Programming Language :: Python :: 3.10',
8080
'Programming Language :: Python :: 3.11',
8181
'Programming Language :: Python :: 3.12',
82+
'Programming Language :: Python :: 3.13',
8283
'Programming Language :: Python :: Implementation :: CPython',
8384
'Topic :: System :: Distributed Computing',
8485
'Topic :: System :: Systems Administration',

tox.ini

+7-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
#
44
# sudo add-apt-repository ppa:deadsnakes/ppa
55
# sudo apt update
6-
# sudo apt install awscli lib{ldap2,sasl2,ssl}-dev python{2,2.7,3} python3.{6..13}{,-venv} python-is-python3 sshpass tox
6+
# sudo apt install awscli lib{ldap2,sasl2,ssl}-dev sshpass tox
7+
# sudo apt install python{2,2.7}{,-dev} python{3,3.{6..13}}{,-dev,-venv} python-is-python3
78

89
# Py A cntrllr A target coverage Django Jinja2 pip psutil pytest tox virtualenv
910
# ==== ========== ========== ========== ========== ========== ========== ========== ========== ========== ==========
@@ -57,10 +58,10 @@ envlist =
5758
init,
5859
py{27,36}-mode_ansible-ansible{2.10,3,4},
5960
py{311}-mode_ansible-ansible{2.10,3,4,5},
60-
py{312}-mode_ansible-ansible{6,7,8,9},
61-
py{27,36,312}-mode_mitogen-distro_centos{6,7,8},
62-
py{27,36,312}-mode_mitogen-distro_debian{9,10,11},
63-
py{27,36,312}-mode_mitogen-distro_ubuntu{1604,1804,2004},
61+
py{313}-mode_ansible-ansible{6,7,8,9},
62+
py{27,36,313}-mode_mitogen-distro_centos{6,7,8},
63+
py{27,36,313}-mode_mitogen-distro_debian{9,10,11},
64+
py{27,36,313}-mode_mitogen-distro_ubuntu{1604,1804,2004},
6465
report,
6566

6667
[testenv]
@@ -75,6 +76,7 @@ basepython =
7576
py310: python3.10
7677
py311: python3.11
7778
py312: python3.12
79+
py313: python3.13
7880
deps =
7981
-r{toxinidir}/tests/requirements.txt
8082
mode_ansible: -r{toxinidir}/tests/ansible/requirements.txt

0 commit comments

Comments
 (0)