From 5577fae8935f15893bcd79350e61cfec058607d5 Mon Sep 17 00:00:00 2001 From: Felix Claessen <30658763+Flix6x@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:59:44 +0200 Subject: [PATCH 1/2] feature: automate test pipeline for Python 3.12 (#190) Signed-off-by: F.N. Claessen --- .github/workflows/lint-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index f59e717..b33d556 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - py_version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] + py_version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] include: - py_version: '3.7' skip-viz: true From e9ffb4d945f1295be5b2f629e1effc9655846a81 Mon Sep 17 00:00:00 2001 From: "F.N. Claessen" Date: Thu, 19 Sep 2024 22:00:57 +0200 Subject: [PATCH 2/2] fix(deps): pin only from 3.11 onwards Signed-off-by: F.N. Claessen --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0583c7b..77fcec7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,8 +52,8 @@ dependencies = [ "pandas >= 1.1.5, < 1.3; python_version == '3.7'", # https://github.com/SeitaBV/timely-beliefs/issues/148 "pandas >= 1.4.0, != 2.1.0, !=2.1.1; python_version > '3.7'", - # https://github.com/SeitaBV/timely-beliefs/issues/177 - "pandas < 2.2.2", + # https://github.com/SeitaBV/timely-beliefs/issues/189 + "pandas < 2.2.2; python_version >= '3.11'", # scipy's setup requires minimal Python versions "scipy<1.6; python_version <= '3.6'", "scipy<1.8; python_version <= '3.7'",