From 53ab8aaaa35f78386e9b6ed44fdf36f6dac27cb0 Mon Sep 17 00:00:00 2001 From: "Stuart A. Siegel" Date: Tue, 6 Aug 2024 15:33:07 -0400 Subject: [PATCH 1/2] attempt python 3.12 support --- .github/workflows/python-package.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 71e0952d..3388d605 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index 6d00fff7..767c045a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=66", "wheel", "Cython", "setuptools-scm>=8.0"] [project] name = "tsfm_public" -requires-python = ">=3.9,<3.12" +requires-python = ">=3.9,<3.13" # version = "0.0.1" dynamic = ["version"] authors = [{ name = "IBM" }] From 29cc2a8ab53bb955fd426c16873c86c9f6ea3d2b Mon Sep 17 00:00:00 2001 From: "Stuart A. Siegel" Date: Tue, 6 Aug 2024 15:50:40 -0400 Subject: [PATCH 2/2] extend to 3.12 for service runtime too --- .github/workflows/inference-services-test.yml | 2 +- services/inference/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/inference-services-test.yml b/.github/workflows/inference-services-test.yml index 8bbbeb8c..b6c1af26 100644 --- a/.github/workflows/inference-services-test.yml +++ b/.github/workflows/inference-services-test.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/services/inference/pyproject.toml b/services/inference/pyproject.toml index 354d3783..79ce008b 100644 --- a/services/inference/pyproject.toml +++ b/services/inference/pyproject.toml @@ -8,7 +8,7 @@ packages = [{ include = "tsfminference/**/*.py" }] [tool.poetry.dependencies] # including 3.9 causes poetry lock to run forever -python = ">=3.10,<3.12" +python = ">=3.10,<3.13" numpy = { version = "<2" } tsfm_public = { git = "https://github.com/IBM/tsfm.git", tag = "v0.2.5" }