mirror of https://github.com/encode/starlette.git
Add Python 3.11 to the pipeline (#1755)
* Add Python 3.11 to the pipeline * Bump coverage * Add deprecation ignore * Add deprecation ignore to certifi
This commit is contained in:
parent
548200dd33
commit
3f54442d65
|
@ -14,7 +14,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
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:
|
steps:
|
||||||
- uses: "actions/checkout@v2"
|
- uses: "actions/checkout@v2"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Testing
|
# Testing
|
||||||
autoflake==1.4
|
autoflake==1.4
|
||||||
black==22.3.0
|
black==22.3.0
|
||||||
coverage==6.2
|
coverage==6.4.1
|
||||||
databases[sqlite]==0.5.5
|
databases[sqlite]==0.5.5
|
||||||
flake8==3.9.2
|
flake8==3.9.2
|
||||||
isort==5.10.1
|
isort==5.10.1
|
||||||
|
@ -16,6 +16,8 @@ types-PyYAML==6.0.4
|
||||||
types-dataclasses==0.6.6
|
types-dataclasses==0.6.6
|
||||||
pytest==7.1.2
|
pytest==7.1.2
|
||||||
trio==0.21.0
|
trio==0.21.0
|
||||||
|
# NOTE: Remove once greenlet releases 2.0.0.
|
||||||
|
greenlet==2.0.0a2; python_version >= "3.11"
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
mkdocs==1.3.0
|
mkdocs==1.3.0
|
||||||
|
|
|
@ -31,6 +31,7 @@ filterwarnings=
|
||||||
ignore: run_until_first_complete is deprecated and will be removed in a future version.:DeprecationWarning
|
ignore: run_until_first_complete is deprecated and will be removed in a future version.:DeprecationWarning
|
||||||
ignore: starlette\.middleware\.wsgi is deprecated and will be removed in a future release\.*:DeprecationWarning
|
ignore: starlette\.middleware\.wsgi is deprecated and will be removed in a future release\.*:DeprecationWarning
|
||||||
ignore: Async generator 'starlette\.requests\.Request\.stream' was garbage collected before it had been exhausted.*:ResourceWarning
|
ignore: Async generator 'starlette\.requests\.Request\.stream' was garbage collected before it had been exhausted.*:ResourceWarning
|
||||||
|
ignore: path is deprecated.*:DeprecationWarning:certifi
|
||||||
|
|
||||||
[coverage:run]
|
[coverage:run]
|
||||||
source_pkgs = starlette, tests
|
source_pkgs = starlette, tests
|
||||||
|
|
Loading…
Reference in New Issue