]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Add Python 3.11 to the pipeline (#1755)
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Tue, 12 Jul 2022 06:10:04 +0000 (08:10 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Jul 2022 06:10:04 +0000 (08:10 +0200)
* Add Python 3.11 to the pipeline

* Bump coverage

* Add deprecation ignore

* Add deprecation ignore to certifi

.github/workflows/test-suite.yml
requirements.txt
setup.cfg

index 7209fc2bf0aaa89391137b8ebaba3c207e8303f4..ae584778cc2313f0617426aac891a801c48faf34 100644 (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@v2"
index 38d9f8f5eebf102ebaa2aa69d4e51b352709c1cb..67db57d88af85440262514d125143a98a996eff1 100644 (file)
@@ -4,7 +4,7 @@
 # Testing
 autoflake==1.4
 black==22.3.0
-coverage==6.2
+coverage==6.4.1
 databases[sqlite]==0.5.5
 flake8==3.9.2
 isort==5.10.1
@@ -16,6 +16,8 @@ types-PyYAML==6.0.4
 types-dataclasses==0.6.6
 pytest==7.1.2
 trio==0.21.0
+# NOTE: Remove once greenlet releases 2.0.0.
+greenlet==2.0.0a2; python_version >= "3.11"
 
 # Documentation
 mkdocs==1.3.0
index 64a4f48c8bfd6c8240972408f23a2322dfd045ce..93f27e4e08c33db147df57f3ffc2bc2ab2804e42 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -31,6 +31,7 @@ filterwarnings=
     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: Async generator 'starlette\.requests\.Request\.stream' was garbage collected before it had been exhausted.*:ResourceWarning
+    ignore: path is deprecated.*:DeprecationWarning:certifi
 
 [coverage:run]
 source_pkgs = starlette, tests