From 56618e6ee07f18adf6522a58348dffe975ff0b69 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 30 Jun 2026 13:30:01 -0500 Subject: [PATCH] skip Cython 3.2.7 --- conda/environments/all_cuda-129_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-129_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-133_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-133_arch-x86_64.yaml | 2 +- conda/recipes/cuml/recipe.yaml | 3 ++- dependencies.yaml | 3 ++- python/cuml/pyproject.toml | 4 ++-- 7 files changed, 10 insertions(+), 8 deletions(-) diff --git a/conda/environments/all_cuda-129_arch-aarch64.yaml b/conda/environments/all_cuda-129_arch-aarch64.yaml index 9d35d8c130..103548a9a9 100644 --- a/conda/environments/all_cuda-129_arch-aarch64.yaml +++ b/conda/environments/all_cuda-129_arch-aarch64.yaml @@ -18,7 +18,7 @@ dependencies: - cupy>=13.6.0,!=14.0.0,!=14.1.0 - cuvs==26.8.*,>=0.0.0a0 - cxx-compiler -- cython>=3.2.2 +- cython>=3.2.2,!=3.2.7 - dask-cuda==26.8.*,>=0.0.0a0 - dask-cudf==26.8.*,>=0.0.0a0 - dask-ml>=2024 diff --git a/conda/environments/all_cuda-129_arch-x86_64.yaml b/conda/environments/all_cuda-129_arch-x86_64.yaml index 88b6e791c9..ac7940dc29 100644 --- a/conda/environments/all_cuda-129_arch-x86_64.yaml +++ b/conda/environments/all_cuda-129_arch-x86_64.yaml @@ -18,7 +18,7 @@ dependencies: - cupy>=13.6.0,!=14.0.0,!=14.1.0 - cuvs==26.8.*,>=0.0.0a0 - cxx-compiler -- cython>=3.2.2 +- cython>=3.2.2,!=3.2.7 - dask-cuda==26.8.*,>=0.0.0a0 - dask-cudf==26.8.*,>=0.0.0a0 - dask-ml>=2024 diff --git a/conda/environments/all_cuda-133_arch-aarch64.yaml b/conda/environments/all_cuda-133_arch-aarch64.yaml index 571e1a2690..6e20308a8e 100644 --- a/conda/environments/all_cuda-133_arch-aarch64.yaml +++ b/conda/environments/all_cuda-133_arch-aarch64.yaml @@ -18,7 +18,7 @@ dependencies: - cupy>=13.6.0,!=14.0.0,!=14.1.0 - cuvs==26.8.*,>=0.0.0a0 - cxx-compiler -- cython>=3.2.2 +- cython>=3.2.2,!=3.2.7 - dask-cuda==26.8.*,>=0.0.0a0 - dask-cudf==26.8.*,>=0.0.0a0 - dask-ml>=2024 diff --git a/conda/environments/all_cuda-133_arch-x86_64.yaml b/conda/environments/all_cuda-133_arch-x86_64.yaml index 41b939d30a..3ef501ee0f 100644 --- a/conda/environments/all_cuda-133_arch-x86_64.yaml +++ b/conda/environments/all_cuda-133_arch-x86_64.yaml @@ -18,7 +18,7 @@ dependencies: - cupy>=13.6.0,!=14.0.0,!=14.1.0 - cuvs==26.8.*,>=0.0.0a0 - cxx-compiler -- cython>=3.2.2 +- cython>=3.2.2,!=3.2.7 - dask-cuda==26.8.*,>=0.0.0a0 - dask-cudf==26.8.*,>=0.0.0a0 - dask-ml>=2024 diff --git a/conda/recipes/cuml/recipe.yaml b/conda/recipes/cuml/recipe.yaml index 5848d01373..02e3947c82 100644 --- a/conda/recipes/cuml/recipe.yaml +++ b/conda/recipes/cuml/recipe.yaml @@ -78,7 +78,8 @@ requirements: host: - cuda-version =${{ cuda_version }} - cudf =${{ minor_version }} - - cython >=3.2.2 + # skipping Cython 3.2.7 because of https://github.com/cython/cython/issues/7781 + - cython >=3.2.2,!=3.2.7 - libcuml =${{ version }} - nvforest =${{ minor_version }} - pip diff --git a/dependencies.yaml b/dependencies.yaml index 1ff19fe629..06d9dffbc7 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -342,7 +342,8 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - &cython cython>=3.2.2 + # skipping Cython 3.2.7 because of https://github.com/cython/cython/issues/7781 + - &cython cython>=3.2.2,!=3.2.7 - &treelite treelite>=4.7.0,<5.0.0 py_run_cuml: common: diff --git a/python/cuml/pyproject.toml b/python/cuml/pyproject.toml index 1b24dc2e99..a5d97e3e54 100644 --- a/python/cuml/pyproject.toml +++ b/python/cuml/pyproject.toml @@ -112,7 +112,7 @@ classifiers = [ [project.optional-dependencies] test = [ "certifi", - "cython>=3.2.2", + "cython>=3.2.2,!=3.2.7", "hdbscan>=0.8.39", "hypothesis>=6.0,<7", "ipython>=7.32.0", @@ -189,7 +189,7 @@ matrix-entry = "cuda_suffixed=true;use_cuda_wheels=true" requires = [ "cmake>=4.0", "cuda-python>=13.0.1,<14.0", - "cython>=3.2.2", + "cython>=3.2.2,!=3.2.7", "libcuml==26.8.*,>=0.0.0a0", "libnvforest==26.8.*,>=0.0.0a0", "libraft==26.8.*,>=0.0.0a0",