Skip to content

Commit 95f15ad

Browse files
authored
docs: Add Python 3.14 and 3.14t to config examples (#3626)
https://www.python.org/downloads/release/python-3140/
1 parent 5b0f7e4 commit 95f15ad

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

docs/changelog/3626.doc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add Python 3.14 and 3.14t to config examples
2+
- by :user:`cclauss`

docs/config.rst

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ For example:
4949
requires =
5050
tox >= 4.20
5151
env_list =
52+
3.14t
53+
3.14
5254
3.13
5355
3.12
5456
type
@@ -78,6 +80,8 @@ This configuration file uses:
7880
requires =
7981
tox >= 4.0
8082
env_list =
83+
3.14t
84+
3.14
8185
3.13
8286
3.12
8387
type
@@ -135,15 +139,15 @@ We support native TOML configuration via the ``pyproject.toml`` files ``tool.tox
135139
136140
[tool.tox]
137141
requires = ["tox>=4.19"]
138-
env_list = ["3.13", "3.12", "type"]
142+
env_list = ["3.14t", "3.14", "3.13", "3.12", "type"]
139143
140144
[tool.tox.env_run_base]
141145
description = "Run test under {base_python}"
142146
commands = [["pytest"]]
143147
144148
[tool.tox.env.type]
145149
description = "run type check on code base"
146-
deps = ["mypy==1.11.2", "types-cachetools>=5.5.0.20240820", "types-chardet>=5.0.4.6"]
150+
deps = ["mypy==1.18.2", "types-cachetools>=5.5.0.20240820", "types-chardet>=5.0.4.6"]
147151
commands = [["mypy", "src{/}tox"], ["mypy", "tests"]]
148152
149153
``tox.toml``
@@ -157,15 +161,15 @@ For example:
157161
.. code-block:: toml
158162
159163
requires = ["tox>=4.19"]
160-
env_list = ["3.13", "3.12", "type"]
164+
env_list = ["3.14t", "3.14", "3.13", "3.12", "type"]
161165
162166
[env_run_base]
163167
description = "Run test under {base_python}"
164168
commands = [["pytest"]]
165169
166170
[env.type]
167171
description = "run type check on code base"
168-
deps = ["mypy==1.11.2", "types-cachetools>=5.5.0.20240820", "types-chardet>=5.0.4.6"]
172+
deps = ["mypy==1.18.2", "types-cachetools>=5.5.0.20240820", "types-chardet>=5.0.4.6"]
169173
commands = [["mypy", "src{/}tox"], ["mypy", "tests"]]
170174
171175
.. _conf-core:
@@ -298,15 +302,15 @@ The following options are set in the ``[tox]`` section of ``tox.ini`` or the ``[
298302
.. code-block:: toml
299303
300304
[tool.tox]
301-
labels = { test = ["3.13", "3.12"], static = ["ruff", "mypy"] }
305+
labels = { test = ["3.14t", "3.14", "3.13", "3.12"], static = ["ruff", "mypy"] }
302306
303307
.. tab:: INI
304308

305309
.. code-block:: ini
306310
307311
[tox]
308312
labels =
309-
test = 3.13, 3.12
313+
test = 3.14t, 3.14, 3.13, 3.12
310314
static = ruff, mypy
311315
312316
.. conf::
@@ -889,7 +893,7 @@ Python options
889893
:constant:
890894
:version_added: 4.0.10
891895

892-
Major.Minor version of the Python interpreter in the tox environment (e.g., ``3.13``).
896+
Major.Minor version of the Python interpreter in the tox environment (e.g., ``3.14``).
893897

894898
.. conf::
895899
:keys: py_impl
@@ -903,7 +907,7 @@ Python options
903907
:constant:
904908
:version_added: 4.26
905909

906-
``True`` if the Python interpreter in the tox environment is an experimental free-threaded CPython build,
910+
``True`` if the Python interpreter in the tox environment is a free-threaded CPython build,
907911
else ``False``.
908912

909913

@@ -1813,7 +1817,7 @@ specified, the value of DEFAULTS will be used instead. If DEFAULTS contains othe
18131817

18141818
Use a double ``--`` if you also want to pass options to an underlying test command, for example::
18151819

1816-
tox run -e 3.13 -- --opt1 ARG1
1820+
tox run -e 3.14 -- --opt1 ARG1
18171821

18181822
will make the ``--opt1 ARG1`` appear in all test commands where ``[]`` or ``{posargs}`` was specified. By default (see
18191823
``args_are_paths`` setting), ``tox`` rewrites each positional argument if it is a relative path and exists on the

0 commit comments

Comments
 (0)