Skip to content

Commit 94b2c4f

Browse files
committed
Add a Python 3.14 test environment to the default list in tox
I had to set the minimum pytest version for Python 3.14 to pytest 7.3.2, because older versions of pytest use ast.Str, which was removed in 3.14.
1 parent 2741255 commit 94b2c4f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{37,38,39,310,311,312,313,py3}{,-smtp},lint
2+
envlist = py{37,38,39,310,311,312,313,314,py3}{,-smtp},lint
33
recreate = True
44
isolated_build = True
55

@@ -22,8 +22,9 @@ deps =
2222
# works with your code. Don't forget to modify the corresponding entries in
2323
# the Github workflows configuration file if you do change these lower
2424
# bounds.
25-
pytest >=4.6, <9; python_version<'3.10'
26-
pytest >=6.2.4, <9; python_version>='3.10'
25+
pytest >=4.6, <9; python_version <'3.10'
26+
pytest >=6.2.4, <9; python_version >='3.10' and python_version <'3.14'
27+
pytest >=7.3.2, <9; python_version >='3.14'
2728
pytest-cov !=6.2.0
2829
requests
2930
extras =

0 commit comments

Comments
 (0)