From 3d764f7d70efa0aa9cfa6fc50f0d1a82841bd6e1 Mon Sep 17 00:00:00 2001 From: Lorenzo De Bernardini Date: Thu, 16 Nov 2023 16:18:00 -0800 Subject: [PATCH 1/3] Added support for py311 --- .github/workflows/ci.yml | 2 +- .github/workflows/pypi.yml | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb35f2226..bfe15f4b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python: ['3.8', '3.9', '3.10'] + python: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index d0d08a1a0..13b128ace 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - python: ['3.8', '3.9', '3.10'] + python: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/tox.ini b/tox.ini index 2fcdae024..01f5d4d07 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] project = detect_secrets # These should match the ci python env list -envlist = py{38,39,310},mypy +envlist = py{38,39,310,311},mypy skip_missing_interpreters = true [testenv] From 1de2d787c44056e8e4f5fb79f6bd88e7bea67032 Mon Sep 17 00:00:00 2001 From: Lorenzo De Bernardini Date: Thu, 16 Nov 2023 17:17:47 -0800 Subject: [PATCH 2/3] Remove importlib-metadata from requirements-dev.txt --- requirements-dev.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 68fa8f13c..a41a8ceee 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -10,7 +10,6 @@ flake8==6.1.0 gibberish-detector==0.1.1 identify==2.3.0 idna==3.4 -importlib-metadata==6.8.0 iniconfig==1.1.1 mccabe==0.7.0 monotonic==1.6 From f5a3b6555335884f961a9c19403b2ed7fc463f32 Mon Sep 17 00:00:00 2001 From: Daniel Popescu Date: Thu, 16 Nov 2023 18:22:14 -0800 Subject: [PATCH 3/3] Use a newer version of coverage that knows how to properly report coverage metrics for python 3.11 --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index a41a8ceee..d78cb3b47 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,7 +3,7 @@ backports.entry-points-selectable==1.1.1 certifi==2023.7.22 cfgv==3.2.0 charset-normalizer==2.0.7 -coverage==4.5.4 +coverage==7.3.2 distlib==0.3.7 filelock==3.13.1 flake8==6.1.0