From cf4bccde166b0c8e09d362c032efc9724002a8b1 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Mon, 17 Jun 2024 14:54:52 +0100
Subject: [PATCH] Pin numpy below v2.0; To v0.3.1
---
.github/workflows/ci.yml | 2 +-
setup.cfg | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9547460..f1f6d25 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -65,8 +65,8 @@ jobs:
- name: Install OMV
run: |
pip install .
+ pip install 'numpy<2.0.0' # Due to otehr packages not working yet with numpy v2
pip install scipy sympy matplotlib cython pandas tables
- # pip install 'numpy<=1.23.0' # temp fix for https://levelup.gitconnected.com/fix-attributeerror-module-numpy-has-no-attribute-float-d7d68c5a4971
#sudo apt install octave
- name: Run OMV tests on engine ${{ matrix.engine }}
diff --git a/setup.cfg b/setup.cfg
index 17ac66c..c46475b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = OSBModelValidation
-version = 0.2.22
+version = 0.3.1
author = Boris Marin, Padraig Gleeson
author_email = borismarin@gmail.com
url = https://github.com/OpenSourceBrain/osb-model-validation