From c8e2b581423d59125abfa22828d6b17950d64c52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Tue, 10 Dec 2024 11:12:27 -0500 Subject: [PATCH] ENH: Pin dependencies versions for release Pin dependencies versions for release. Restrict the supported Python versions to those where the tool is known to be working (>=3.9, <3.12). --- .github/workflows/test_package.yaml | 2 +- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_package.yaml b/.github/workflows/test_package.yaml index 930d45f..1219494 100644 --- a/.github/workflows/test_package.yaml +++ b/.github/workflows/test_package.yaml @@ -19,7 +19,7 @@ jobs: # max-parallel: 6 matrix: os: [ubuntu-latest] - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11'] requires: ['minimal', 'latest'] steps: diff --git a/pyproject.toml b/pyproject.toml index 93641aa..a5020e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,11 +25,11 @@ classifiers = [ ] dependencies = [ "numpy>=1.23.0,<2.0.0", - "nibabel>=3.0.0", - "vtk" + "nibabel>=3.0.0,<4.0.0", + "vtk>8.1.0,<=9.4.0" ] dynamic = ["version"] -requires-python = ">=3.9" +requires-python = ">=3.9,<3.12" [project.optional-dependencies] doc = [