Skip to content

Commit

Permalink
Merge pull request #216 from hugovk/add-3.11 (Python 3.11)
Browse files Browse the repository at this point in the history
Add support for Python 3.11
  • Loading branch information
astanin committed Nov 8, 2022
2 parents be318be + 87b3431 commit 83fd4fb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ environment:
- PYTHON: "C:\\Python38-x64"
- PYTHON: "C:\\Python39-x64"
- PYTHON: "C:\\Python310-x64"
- PYTHON: "C:\\Python311-x64"

install:
# Newer setuptools is needed for proper support of pyproject.toml
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries",
]
requires-python = ">=3.7"
Expand Down
19 changes: 18 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# for testing and it is disabled by default.

[tox]
envlist = lint, py{37, 38, 39, 310}
envlist = lint, py{37, 38, 39, 310, 311}
isolated_build = True

[testenv]
Expand Down Expand Up @@ -89,6 +89,23 @@ deps =
wcwidth


[testenv:py311]
basepython = python3.11
commands = pytest -v --doctest-modules --ignore benchmark.py {posargs}
deps =
pytest

[testenv:py311-extra]
basepython = python3.11
setenv = PYTHONDEVMODE = 1
commands = pytest -v --doctest-modules --ignore benchmark.py {posargs}
deps =
pytest
numpy
pandas
wcwidth


[flake8]
max-complexity = 22
max-line-length = 99
Expand Down

0 comments on commit 83fd4fb

Please sign in to comment.