]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Test under 3.11-dev (#2302)
authorJo <10510431+j178@users.noreply.github.com>
Thu, 29 Sep 2022 16:00:21 +0000 (00:00 +0800)
committerGitHub <noreply@github.com>
Thu, 29 Sep 2022 16:00:21 +0000 (17:00 +0100)
* 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

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

index b21f53b39e98c67c992cf884135577dd21fa8a6d..ccd11243651d500135d87b1c89aeabc1a33aaac2 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@v3"
index d3e19e1303dc2d7965da1d13d4d25b9addcec228..be41c92289eba0c4e52afc3b1625a04e23bcd873 100644 (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 = [
index 26708cc9c3e0de578bf97f79a17e7918388e0ccd..09ff5b37e2238d0b60a16f1e6e784526a3135c45 100644 (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
index 53c86d91790550e13c67a5420f6a4c98157a6548..d421afb6dcb0caf703045554f258d29b0c5fd4ce 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -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