From 2cd0bae23514231dd91a1d5c0951cc05c0527e7f 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 | 8 ++++---- 2 files changed, 5 insertions(+), 5 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..aa346a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,12 +24,12 @@ classifiers = [ "Operating System :: MacOS" ] dependencies = [ - "numpy>=1.23.0,<2.0.0", - "nibabel>=3.0.0", - "vtk" + "numpy==1.23.0", + "nibabel==3.0.0", + "vtk==9.4.0" ] dynamic = ["version"] -requires-python = ">=3.9" +requires-python = ">=3.9,<3.12" [project.optional-dependencies] doc = [