From a1c7dd519bb8418998137d19d5788e1e00a4e0af Mon Sep 17 00:00:00 2001 From: Jordan Harlow <109105754+jharlow-intel@users.noreply.github.com> Date: Tue, 5 May 2026 09:37:00 -0600 Subject: [PATCH] task: remove numpy-base toggle --- CHANGELOG.md | 1 + conda-recipe/meta.yaml | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7970db..502a59a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### Changed +* Removed `numpy-base` dependency and `USE_NUMPY_BASE` environment variable from conda recipe [gh-124](https://github.com/IntelPython/mkl_random/pull/124) ### Fixed diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 4abefcd..4de995a 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,6 +1,3 @@ -# Intel numpy-base is still needed for internal wheels CI, so we control its use with this optional toggle -{% set use_numpy_base = environ.get('USE_NUMPY_BASE', 'true').lower() == 'true' %} - package: name: mkl_random version: {{ GIT_DESCRIBE_TAG }} @@ -26,22 +23,14 @@ requirements: - setuptools >=77 - mkl-devel - cython - {% if use_numpy_base %} - - numpy-base - {% else %} - numpy - {% endif %} - pip - wheel >=0.41.3 run: - python - python-gil # [py>=314] - {{ pin_compatible('mkl', min_pin="x.x", max_pin="x") }} - {% if use_numpy_base %} - - numpy-base - {% else %} - numpy >=1.26.4 - {% endif %} test: commands: