From: Jo <10510431+j178@users.noreply.github.com> Date: Thu, 29 Sep 2022 16:00:21 +0000 (+0800) Subject: Test under 3.11-dev (#2302) X-Git-Tag: 0.23.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8088fc7ff700d7ecac7ecbe06612d62df50cf869;p=thirdparty%2Fhttpx.git 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 --- diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index b21f53b3..ccd11243 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -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" diff --git a/pyproject.toml b/pyproject.toml index d3e19e13..be41c922 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ diff --git a/requirements.txt b/requirements.txt index 26708cc9..09ff5b37 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.cfg b/setup.cfg index 53c86d91..d421afb6 100644 --- 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