From 901d76ef534140a578998e08bbe6f73c0e755b13 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 6 Sep 2018 10:41:45 +0200 Subject: openPMD-api: ^py-numpy@1.15+ (#9178) Due to an internal bug regarding the handling of scalars (ndim must be 0) in numpy prior to 1.15.0, openPMD-api will require the latest numpy 1.15+. Since there is a small regression with datetime pickling in 1.15.0 from the required fix and spack only packages 1.15.1 currently, we depend on 1.15.1 in the recipe. --- var/spack/repos/builtin/packages/openpmd-api/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/openpmd-api/package.py b/var/spack/repos/builtin/packages/openpmd-api/package.py index 420465d1d1..cfb77bfcf4 100644 --- a/var/spack/repos/builtin/packages/openpmd-api/package.py +++ b/var/spack/repos/builtin/packages/openpmd-api/package.py @@ -63,7 +63,7 @@ class OpenpmdApi(CMakePackage): depends_on('adios2@2.1.0: +mpi', when='+mpi +adios2') # ideally we want 2.3.0+ for full C++11 CT function signature support depends_on('py-pybind11@2.2.3:', when='+python') - depends_on('py-numpy', when='+python', type=['test', 'run']) + depends_on('py-numpy@1.15.1:', when='+python', type=['test', 'run']) extends('python', when='+python') -- cgit v1.2.3-70-g09d2