From f979fb87e84904724b557c8c75ccc73be4ce1c92 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 3 Oct 2023 22:53:04 -0400 Subject: [PATCH 1/2] github: add python 3.12 to test matrix Signed-off-by: Simon Deziel --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3fe6cb6d..8c016e16 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: name: Tests strategy: matrix: - python-version: ["3.8", "3.10", "3.11"] + python-version: ["3.8", "3.10", "3.11", "3.12"] runs-on: ubuntu-22.04 steps: From 02793250c72973ed5110dfe505e4371517ccf67e Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 3 Oct 2023 23:06:11 -0400 Subject: [PATCH 2/2] Add setuptools to testing venv deps list Signed-off-by: Simon Deziel --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 722c9e8f..5d0a4570 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,6 +34,9 @@ testing = # mock-services is old and unmaintained. Doesn't work with newer versions # of requests-mock. Thus, we have to pin it down. requests-mock < 1.2 + # Python 3.12 no longer installs `setuptools` in venv + # but mock-services depends on it for `pkg_resources` + setuptools format = black == 23.1.0 flake8 >= 2.5.0