From f79b1940a1ae597ce48508cf164ec1bc711645ec Mon Sep 17 00:00:00 2001 From: Sebastiaan Huber Date: Mon, 13 Nov 2023 10:07:20 +0100 Subject: [PATCH] Dependencies: Add support for Python 3.12 (#275) Cherry-pick: 2af390738df3f151c8225c01e265527b65d7a005 --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 2 +- pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1de6e969..427ccfd5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -58,7 +58,7 @@ jobs: strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] services: postgres: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73dd3710..611473f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] services: rabbitmq: diff --git a/pyproject.toml b/pyproject.toml index f8c79b15..dd070e4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ] keywords = ['workflow', 'multithreaded', 'rabbitmq'] requires-python = '>=3.7' @@ -61,7 +62,7 @@ tests = [ 'pytest==6.2.5', 'pytest-asyncio==0.16.0', 'pytest-cov==3.0.0', - 'pytest-notebook==0.8.1', + 'pytest-notebook>=0.8.0', 'shortuuid==1.0.8', 'importlib-resources~=5.2', ]