From 9193ba056b8c6fd706e10e95f7514d628e9d6744 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 13 Jul 2022 13:41:19 +0800 Subject: [PATCH 01/10] Test under 3.11.0-beta.3 --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index b21f53b39e..3be83fb7b7 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.0-beta.3"] steps: - uses: "actions/checkout@v3" From 443c0e90bd72f426a9e84b675cd04f4dcffe1df8 Mon Sep 17 00:00:00 2001 From: jianghang Date: Wed, 13 Jul 2022 14:39:56 +0800 Subject: [PATCH 02/10] Ignore cgi and importlib warnings --- setup.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.cfg b/setup.cfg index 53c86d9179..4302168545 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,6 +21,8 @@ addopts = -rxXs filterwarnings = error default:::uvicorn + default::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 From be8076a717648331e2dfd6f0eaaf667079789992 Mon Sep 17 00:00:00 2001 From: jianghang Date: Wed, 13 Jul 2022 14:59:17 +0800 Subject: [PATCH 03/10] Ignore src_constant warning --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 4302168545..7459c37400 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ filterwarnings = default:::uvicorn default::DeprecationWarning:certifi default:'cgi' is deprecated:DeprecationWarning + default:module 'sre_constants' 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 From d63d3d4e24b9d552b300b74cfdf80a790a20d17b Mon Sep 17 00:00:00 2001 From: jianghang Date: Wed, 13 Jul 2022 15:04:36 +0800 Subject: [PATCH 04/10] Install whell before other requirements --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 65885a7208..1ed1e52d00 100755 --- a/scripts/install +++ b/scripts/install @@ -15,5 +15,5 @@ else PIP="pip" fi +"$PIP" install -U pip setuptools wheel "$PIP" install -r "$REQUIREMENTS" -"$PIP" install -e . From d78e80b36f7b1fe958ceda3fa5ca612494d12675 Mon Sep 17 00:00:00 2001 From: jianghang Date: Wed, 13 Jul 2022 15:17:57 +0800 Subject: [PATCH 05/10] Minor --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 7459c37400..372fe0d450 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,9 +21,9 @@ addopts = -rxXs filterwarnings = error default:::uvicorn - default::DeprecationWarning:certifi + default:path is deprecated:DeprecationWarning:certifi default:'cgi' is deprecated:DeprecationWarning - default:module 'sre_constants' is deprecated:DeprecationWarning + default:'sre_constants' 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 From 8aed4b30daa5dd64365ed468c57d0fcb9f39ec4a Mon Sep 17 00:00:00 2001 From: jianghang Date: Wed, 13 Jul 2022 15:19:10 +0800 Subject: [PATCH 06/10] Remove uvicorn ignore --- setup.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 372fe0d450..43c09fb081 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,7 +20,6 @@ combine_as_imports = True addopts = -rxXs filterwarnings = error - default:::uvicorn default:path is deprecated:DeprecationWarning:certifi default:'cgi' is deprecated:DeprecationWarning default:'sre_constants' is deprecated:DeprecationWarning From 7863183760b66b5a6c3d83484df8c47374ed067a Mon Sep 17 00:00:00 2001 From: jianghang Date: Wed, 13 Jul 2022 15:42:25 +0800 Subject: [PATCH 07/10] Use 3.11-dev instead --- .github/workflows/test-suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 3be83fb7b7..ccd1124365 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", "3.11.0-beta.3"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] steps: - uses: "actions/checkout@v3" From cae004eb142f0d073a5067b6176933118416dc71 Mon Sep 17 00:00:00 2001 From: j178 <10510431+j178@users.noreply.github.com> Date: Thu, 29 Sep 2022 21:59:42 +0800 Subject: [PATCH 08/10] Add 3.11 to classifiers --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index d3e19e1303..be41c92289 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 = [ From e7e180835e4c61062755463506fa3d933c142cae Mon Sep 17 00:00:00 2001 From: j178 <10510431+j178@users.noreply.github.com> Date: Thu, 29 Sep 2022 22:31:33 +0800 Subject: [PATCH 09/10] Revert unrelated change --- scripts/install | 2 +- setup.cfg | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 1ed1e52d00..65885a7208 100755 --- a/scripts/install +++ b/scripts/install @@ -15,5 +15,5 @@ else PIP="pip" fi -"$PIP" install -U pip setuptools wheel "$PIP" install -r "$REQUIREMENTS" +"$PIP" install -e . diff --git a/setup.cfg b/setup.cfg index 43c09fb081..d421afb6dc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,7 +22,6 @@ filterwarnings = error default:path is deprecated:DeprecationWarning:certifi default:'cgi' is deprecated:DeprecationWarning - default:'sre_constants' 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 From b1ad3613e1f294266cba00ff2d3ccae4e1f40e99 Mon Sep 17 00:00:00 2001 From: j178 <10510431+j178@users.noreply.github.com> Date: Thu, 29 Sep 2022 22:39:53 +0800 Subject: [PATCH 10/10] Bump coverage --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 26708cc9c3..09ff5b37e2 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