Add support for Python 3.11

This commit is contained in:
Hugo van Kemenade 2022-07-15 13:42:36 +03:00
parent 5e649c1d70
commit 6801a255a3
3 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ classifiers =
Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy Programming Language :: Python :: Implementation :: PyPy
Topic :: Multimedia :: Graphics Topic :: Multimedia :: Graphics

View File

@ -38,7 +38,7 @@ TIFF_ROOT = None
ZLIB_ROOT = None ZLIB_ROOT = None
FUZZING_BUILD = "LIB_FUZZING_ENGINE" in os.environ FUZZING_BUILD = "LIB_FUZZING_ENGINE" in os.environ
if sys.platform == "win32" and sys.version_info >= (3, 11): if sys.platform == "win32" and sys.version_info >= (3, 12):
import atexit import atexit
atexit.register( atexit.register(

View File

@ -6,7 +6,7 @@
[tox] [tox]
envlist = envlist =
lint lint
py{37,38,39,310,py3} py{37,38,39,310,311,py3}
minversion = 1.9 minversion = 1.9
[testenv] [testenv]