From e98736dd57018b7106c57c722688164532f97dd9 Mon Sep 17 00:00:00 2001 From: Evseniia <70146207+ekomarova@users.noreply.github.com> Date: Mon, 13 Oct 2025 15:35:30 +0200 Subject: [PATCH 1/2] Explicitly pin to the GIL build metapackage --- conda-recipe/meta.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 3509c52..493cf9b 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -18,7 +18,8 @@ requirements: - {{ compiler('c') }} - {{ stdlib('c') }} host: - - python + - python # [py<314] + - python-gil # [py>=314] - pip >=25.0 - setuptools >=77 - mkl-devel @@ -26,7 +27,8 @@ requirements: - wheel >=0.45.1 - python-build >=1.2.2 run: - - python + - python # [py<314] + - python-gil # [py>=314] - {{ pin_compatible('mkl') }} test: From 8f05413306f2b6143aba116af52573adaf9673e8 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 13 Oct 2025 09:40:51 -0500 Subject: [PATCH 2/2] `python-gil` is a metapackage which has to be added to the env, but it doesn't replace `python` package --- conda-recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 493cf9b..ea420be 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -18,7 +18,7 @@ requirements: - {{ compiler('c') }} - {{ stdlib('c') }} host: - - python # [py<314] + - python - python-gil # [py>=314] - pip >=25.0 - setuptools >=77 @@ -27,7 +27,7 @@ requirements: - wheel >=0.45.1 - python-build >=1.2.2 run: - - python # [py<314] + - python - python-gil # [py>=314] - {{ pin_compatible('mkl') }}