From 3f54442d657701e4682c5e3427ba33fe07d353a9 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Tue, 12 Jul 2022 08:10:04 +0200 Subject: [PATCH] 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 --- .github/workflows/test-suite.yml | 2 +- requirements.txt | 4 +++- setup.cfg | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 7209fc2b..ae584778 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@v2" diff --git a/requirements.txt b/requirements.txt index 38d9f8f5..67db57d8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.cfg b/setup.cfg index 64a4f48c..93f27e4e 100644 --- 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