From 56c0da8b3c0dbb5f1a516482b4cdfa612d1efc07 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Fri, 16 Sep 2022 21:13:55 +0200 Subject: [PATCH] Support Python 3.11 (#1652) * Support Python 3.11 * Ignore cgi deprecated message --- .github/workflows/test-suite.yml | 2 +- pyproject.toml | 1 + setup.cfg | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 683cf1dee..04c13b5fa 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -13,7 +13,7 @@ jobs: runs-on: "${{ matrix.os }}" strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] os: [windows-latest, ubuntu-latest, macos-latest] steps: - uses: "actions/checkout@v3" diff --git a/pyproject.toml b/pyproject.toml index b42de3efe..f8791dd97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP", diff --git a/setup.cfg b/setup.cfg index e8a8bc79c..33c3e95a3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -72,6 +72,7 @@ filterwarnings= # Turn warnings that aren't filtered into exceptions error ignore: \"watchgod\" is depreciated\, you should switch to watchfiles \(`pip install watchfiles`\)\.:DeprecationWarning + ignore: 'cgi' is deprecated and slated for removal in Python 3\.13:DeprecationWarning [coverage:run] omit = venv/*