From dfd2e07751e74900364594d0bb62a3d6ad1d6763 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 6 Nov 2022 13:24:15 +0200 Subject: [PATCH 1/2] Add support for Python 3.11 --- pyproject.toml | 1 + tox.ini | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ce2b5bd..5a8c1fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/tox.ini b/tox.ini index 6f48bf4..c6260d2 100644 --- a/tox.ini +++ b/tox.ini @@ -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] @@ -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 From 87b3431a831f8c61e097a40d6db7e560d05bf6a0 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 8 Nov 2022 09:45:21 +0200 Subject: [PATCH 2/2] Add 3.11 to AppVeyor --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index e7aae8e..4eb2dd8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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