@@ -25,13 +25,16 @@ jobs:
2525 - uses : actions/setup-python@v5
2626 name : Install Python
2727 with :
28- # Lint python version must be synced with tox.ini
28+ # [[[cog cog.outl(f" python- version: '3.{default_python_minor}'")]]]
2929 python-version : ' 3.13'
30+ # [[[end]]]
3031 - name : Install tox
3132 run : python -m pip install tox -c requirements.txt
3233
3334 - name : Run test suite
35+ # [[[cog cog.outl(f"run: python -m tox -e py3{default_python_minor},lint")]]]
3436 run : python -m tox -e py313,lint
37+ # [[[end]]]
3538
3639 test_tox :
3740 name : Run full tests
@@ -40,34 +43,47 @@ jobs:
4043 strategy :
4144 matrix :
4245 include :
43- - python : ' 3.9'
44- tox_env : py39-full
46+ # [[[cog
47+ # configs = []
48+ # for minor in range(int(min_python_minor), int(max_python_minor) + 1):
49+ # configs.append((f"3.{minor}", f"py3{minor}-full"))
50+ # for minor in range(int(min_python_threaded_minor), int(max_python_threaded_minor) + 1):
51+ # configs.append((f"3.{minor}t", f"py3{minor}-full"))
52+ # # Early versions of 3.10 and 3.11 had different deprecation
53+ # # warnings in asyncio. Test with them too to make sure everything
54+ # # works the same way.
55+ # configs.append(("3.10.8", "py310-full"))
56+ # configs.append(("3.11.0", "py311-full"))
57+ # # Pypy is a lot slower due to jit warmup costs, so don't run the
58+ # # "full" test config there.
59+ # configs.append(("pypy-3.10", "pypy3"))
60+ # # Docs python version must be synced with tox.ini
61+ # configs.append((f"3.{default_python_minor}", "docs"))
62+ # for version, tox_env in configs:
63+ # cog.outl(f" - python: '{version}'")
64+ # cog.outl(f" tox_env: {tox_env}")
65+ # ]]]
4566 - python : ' 3.10'
4667 tox_env : py310-full
47- - python : ' 3.10.8'
48- # Early versions of 3.10 and 3.11 had different deprecation
49- # warnings in asyncio. Test with them too to make sure everything
50- # works the same way.
51- tox_env : py310-full
5268 - python : ' 3.11'
5369 tox_env : py311-full
54- - python : ' 3.11.0'
55- tox_env : py311-full
5670 - python : ' 3.12'
5771 tox_env : py312-full
5872 - python : ' 3.13'
5973 tox_env : py313-full
60- - python : ' 3.14.0-rc.1 - 3.14'
74+ - python : ' 3.14'
75+ tox_env : py314-full
76+ - python : ' 3.14t'
6177 tox_env : py314-full
62- - python : ' 3.14t-dev'
63- tox_env : py314t
78+ - python : ' 3.10.8'
79+ tox_env : py310-full
80+ - python : ' 3.11.0'
81+ tox_env : py311-full
6482 - python : ' pypy-3.10'
65- # Pypy is a lot slower due to jit warmup costs, so don't run the
66- # "full" test config there.
6783 tox_env : pypy3
6884 - python : ' 3.13'
69- # Docs python version must be synced with tox.ini
7085 tox_env : docs
86+ # [[[end]]]
7187
7288 steps :
7389 - uses : actions/checkout@v4
@@ -101,7 +117,9 @@ jobs:
101117 - uses : actions/setup-python@v5
102118 name : Install Python
103119 with :
120+ # [[[cog cog.outl(f"python-version: '3.{default_python_minor}'")]]]
104121 python-version : ' 3.13'
122+ # [[[end]]]
105123 - name : Run test suite
106124 # TODO: figure out what's up with these log messages
107125 run : py -m tornado.test --fail-if-logs=false
@@ -141,4 +159,6 @@ jobs:
141159 # For speed, we only build one python version and one arch. We throw away the wheels
142160 # built here; the real build is defined in build.yml.
143161 CIBW_ARCHS : native
162+ # [[[cog cog.outl(f"CIBW_BUILD: cp3{default_python_minor}-manylinux*")]]]
144163 CIBW_BUILD : cp313-manylinux*
164+ # [[[end]]]
0 commit comments