Skip to content

Commit f5770b7

Browse files
committed
Explicitly pin to the GIL build metapackage.
`python-gil` is the conda-forge metapackage that guarantees GIL builds only. While conda-forge’s global conda_build_config.yaml defines both true and false variants of is_freethreading.
1 parent 17f2538 commit f5770b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

conda-recipe/conda_build_config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@ cxx_compiler: # [win]
1414
- vs2017 # [win]
1515
c_compiler: # [win]
1616
- vs2017 # [win]
17-
python: # [py314]
18-
- 3.14.* *_cp314 # [py314]

conda-recipe/meta.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@ requirements:
1717
- {{ compiler('c') }}
1818
- {{ stdlib('c') }}
1919
host:
20-
- python
20+
- python # [py<314]
21+
- python-gil # [py>=314]
2122
- pip
2223
- setuptools >=77
2324
- mkl-devel
2425
- cython
2526
- numpy-base
2627
- wheel >=0.41.3
2728
run:
28-
- python
29+
- python # [py<314]
30+
- python-gil # [py>=314]
2931
- mkl-service
3032
- {{ pin_compatible('numpy-base') }}
3133

0 commit comments

Comments
 (0)