Skip to content

Commit d18d276

Browse files
committed
chore: meta.yaml to accommodate numpy-base or numpy
1 parent 02a46a8 commit d18d276

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

conda-recipe-cf/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set version = "1.4.0dev1" %}
1+
{% set version = "1.4.0dev3" %}
22
{% set buildnumber = 0 %}
33

44
package:

conda-recipe/meta.yaml

Lines changed: 11 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,14 +25,21 @@ requirements:
2325
- setuptools >=77
2426
- mkl-devel
2527
- cython
28+
{% if use_numpy_base %}
2629
- 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-
- {{ pin_compatible('mkl', min_pin="x.x", max_pin="x") }}
33-
- {{ pin_compatible('numpy-base', min_pin="x.x", max_pin="x") }}
38+
{% if use_numpy_base %}
39+
- numpy-base
40+
{% else %}
41+
- numpy >=1.26.4
42+
{% endif %}
3443

3544
test:
3645
commands:

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
project = "mkl_random"
1010
copyright = "2017-2025, Intel Corp."
1111
author = "Intel Corp."
12-
release = "1.4.0dev1"
12+
release = "1.4.0dev3"
1313

1414
# -- General configuration ---------------------------------------------------
1515
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

mkl_random/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.4.0dev1"
1+
__version__ = "1.4.0dev3"

0 commit comments

Comments
 (0)