Test under 3.11-dev (#2302)

* Test under 3.11.0-beta.3

* Ignore cgi and importlib warnings

* Ignore src_constant warning

* Install whell before other requirements

* Minor

* Remove uvicorn ignore

* Use 3.11-dev instead

* Add 3.11 to classifiers

* Revert unrelated change

* Bump coverage
This commit is contained in:
Jo 2022-09-30 00:00:21 +08:00 committed by GitHub
parent cdde07f2aa
commit 8088fc7ff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -14,7 +14,7 @@ jobs:
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"]
steps:
- uses: "actions/checkout@v3"

View File

@ -24,6 +24,7 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [

View File

@ -21,7 +21,7 @@ twine==4.0.1
# Tests & Linting
autoflake==1.4
black==22.8.0
coverage==6.4.1
coverage==6.4.4
cryptography==37.0.2
flake8==3.9.2
flake8-bugbear==22.7.1

View File

@ -20,7 +20,8 @@ combine_as_imports = True
addopts = -rxXs
filterwarnings =
error
default:::uvicorn
default:path is deprecated:DeprecationWarning:certifi
default:'cgi' is deprecated:DeprecationWarning
asyncio_mode = strict
markers =
copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup