From 4d4f9e55f7d7a7df9e07222bc841f72ce63bb047 Mon Sep 17 00:00:00 2001
From: Dennis Terhorst <d.terhorst@fz-juelich.de>
Date: Tue, 7 Mar 2023 18:03:29 +0100
Subject: [PATCH] add upper bound for py-numpy dependency of NEST@:3.3

---
 packages/nest/package.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/nest/package.py b/packages/nest/package.py
index aa32a588..5eb8ec3f 100644
--- a/packages/nest/package.py
+++ b/packages/nest/package.py
@@ -73,11 +73,11 @@ class Nest(CMakePackage):
     conflicts('~openmp', when='@:2.10.99',
               msg='Option only introduced for non-ancient versions.')
 
-    #depends_on('python@2.6:2.99',       when='@:2.14+python', type=('build', 'run'))
     depends_on('python@2.6:2.99',   when='@:2.15.99+python', type=('build', 'run'))
     depends_on('python@2.6:',       when='@2.16:+python', type=('build', 'run'))
     depends_on('python@3.8:',       when='@3:', type=('build', 'run'))
     depends_on('py-numpy@:1.16.99', when='@:2.14.99+python', type=('build', 'run'))
+    depends_on('py-numpy@:1.23.99', when='@:3.3', type=('build', 'run', 'test'))
     depends_on('py-numpy',          when='+python', type=('build', 'run', 'test'))
     depends_on('py-pandas',         when='@3:', type=('test'))
     depends_on('py-cython@0.19.2:', when='+python', type='build')
-- 
GitLab