From 8f489d50f8192e7da2324e99fbb3e0403f2a4e32 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 17 Nov 2025 12:51:12 -0500 Subject: [PATCH] Upgrade Cython dependency to 3.2 --- cuda_bindings/pyproject.toml | 4 ++-- cuda_core/pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cuda_bindings/pyproject.toml b/cuda_bindings/pyproject.toml index ed44269e5..4878879af 100644 --- a/cuda_bindings/pyproject.toml +++ b/cuda_bindings/pyproject.toml @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE [build-system] -requires = ["setuptools>=77.0.0", "cython>=3.1,<3.2", "pyclibrary>=0.1.7"] +requires = ["setuptools>=77.0.0", "cython>=3.2,<3.3", "pyclibrary>=0.1.7"] build-backend = "setuptools.build_meta" [project] @@ -35,7 +35,7 @@ all = [ [dependency-groups] test = [ - "cython>=3.1,<3.2", + "cython>=3.2,<3.3", "setuptools>=77.0.0", "numpy>=1.21.1", "pytest>=6.2.4", diff --git a/cuda_core/pyproject.toml b/cuda_core/pyproject.toml index 31ceb5b1a..e64f9d38e 100644 --- a/cuda_core/pyproject.toml +++ b/cuda_core/pyproject.toml @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 [build-system] -requires = ["setuptools>=77.0.0", "Cython>=3.1"] +requires = ["setuptools>=77.0.0", "Cython>=3.2,<3.3"] build-backend = "build_hooks" backend-path = ["."] @@ -51,7 +51,7 @@ cu12 = ["cuda-bindings[all]==12.*"] cu13 = ["cuda-bindings[all]==13.*"] [dependency-groups] -test = ["cython>=3.1", "setuptools", "pytest>=6.2.4"] +test = ["cython>=3.2,<3.3", "setuptools", "pytest>=6.2.4"] test-cu12 = ["cuda-core[test]", "cupy-cuda12x; python_version < '3.14'", "cuda-toolkit[cudart]==12.*"] # runtime headers needed by CuPy test-cu13 = ["cuda-core[test]", "cupy-cuda13x; python_version < '3.14'", "cuda-toolkit[cudart]==13.*"] # runtime headers needed by CuPy # free threaded build, cupy doesn't support free-threaded builds yet, so avoid installing it for now