Skip to content

Commit 83fd4fb

Browse files
authored
Merge pull request astanin#216 from hugovk/add-3.11 (Python 3.11)
Add support for Python 3.11
2 parents be318be + 87b3431 commit 83fd4fb

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ environment:
1515
- PYTHON: "C:\\Python38-x64"
1616
- PYTHON: "C:\\Python39-x64"
1717
- PYTHON: "C:\\Python310-x64"
18+
- PYTHON: "C:\\Python311-x64"
1819

1920
install:
2021
# Newer setuptools is needed for proper support of pyproject.toml

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)