Skip to content

Commit dfd2e07

Browse files
committed
Add support for Python 3.11
1 parent be318be commit dfd2e07

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ classifiers = [
1717
"Programming Language :: Python :: 3.8",
1818
"Programming Language :: Python :: 3.9",
1919
"Programming Language :: Python :: 3.10",
20+
"Programming Language :: Python :: 3.11",
2021
"Topic :: Software Development :: Libraries",
2122
]
2223
requires-python = ">=3.7"

tox.ini

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# for testing and it is disabled by default.
99

1010
[tox]
11-
envlist = lint, py{37, 38, 39, 310}
11+
envlist = lint, py{37, 38, 39, 310, 311}
1212
isolated_build = True
1313

1414
[testenv]
@@ -89,6 +89,23 @@ deps =
8989
wcwidth
9090

9191

92+
[testenv:py311]
93+
basepython = python3.11
94+
commands = pytest -v --doctest-modules --ignore benchmark.py {posargs}
95+
deps =
96+
pytest
97+
98+
[testenv:py311-extra]
99+
basepython = python3.11
100+
setenv = PYTHONDEVMODE = 1
101+
commands = pytest -v --doctest-modules --ignore benchmark.py {posargs}
102+
deps =
103+
pytest
104+
numpy
105+
pandas
106+
wcwidth
107+
108+
92109
[flake8]
93110
max-complexity = 22
94111
max-line-length = 99

0 commit comments

Comments
 (0)