From a9ec54ca1dbdfa32382a016e4df3a242e260a23b Mon Sep 17 00:00:00 2001
From: CABEL Tristan <tristan.cabel@inria.fr>
Date: Mon, 28 Nov 2022 10:27:10 +0000
Subject: [PATCH] numpy 1.22

---
 pkg/recipe/conda_build_config.yaml | 2 ++
 pkg/recipe/meta.yaml               | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/pkg/recipe/conda_build_config.yaml b/pkg/recipe/conda_build_config.yaml
index fdf7fe6..859c10b 100644
--- a/pkg/recipe/conda_build_config.yaml
+++ b/pkg/recipe/conda_build_config.yaml
@@ -1,3 +1,5 @@
+numpy:
+  - 1.22
 cdt_name: cos7             # [linux]
 MACOSX_DEPLOYMENT_TARGET:  # [osx]
   - '10.14'                # [osx]
diff --git a/pkg/recipe/meta.yaml b/pkg/recipe/meta.yaml
index 792fac7..6ce7776 100644
--- a/pkg/recipe/meta.yaml
+++ b/pkg/recipe/meta.yaml
@@ -11,7 +11,7 @@ build:
 requirements:
   build:
     - cmake >=3.14.0
-    - numpy >=1.17                       # [osx]
+    - numpy {{numpy}}                    # [osx]
     - python                             # [osx]
     - {{ compiler('cxx') }}
     - {{ cdt('xorg-x11-proto-devel') }}  # [linux]
@@ -48,7 +48,7 @@ requirements:
     - dtk-imaging >=2.0.1
     - dtk-script >=2.3.1
     - swig >=4.0.1
-    - numpy >=1.17
+    - numpy {{numpy}}
     - python
   run:
     - qt >=5.9.0
@@ -56,7 +56,7 @@ requirements:
     - dtk-core-python >=2.5.3
     - dtk-imaging >=2.0.1
     - dtk-script >=2.3.1
-    - numpy >=1.17
+    - numpy {{numpy}}
     - python
 
 about:
-- 
GitLab