Skip to content

Commit 59c18db

Browse files
committed
fix: re-include jinja toggling
1 parent aeae6e7 commit 59c18db

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

conda-recipe/meta.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% set use_numpy_base = environ.get('USE_NUMPY_BASE', 'true').lower() == 'true' %}
2+
13
package:
24
name: mkl_random
35
version: {{ GIT_DESCRIBE_TAG }}
@@ -23,13 +25,21 @@ requirements:
2325
- setuptools >=77
2426
- mkl-devel
2527
- cython
26-
- numpy
28+
{% if use_numpy_base %}
29+
- numpy-base
30+
{% else %}
31+
- numpy >= 1.26.4
32+
{% endif %}
2733
- pip
2834
- wheel >=0.41.3
2935
run:
3036
- python
3137
- python-gil # [py>=314]
32-
- numpy
38+
{% if use_numpy_base %}
39+
- numpy-base
40+
{% else %}
41+
- numpy >= 1.26.4
42+
{% endif %}
3343

3444
test:
3545
commands:

0 commit comments

Comments
 (0)