From 5df2dfa36239b9d63f56ea378ab2152a13c924d9 Mon Sep 17 00:00:00 2001
From: pgleeson
Date: Mon, 19 Aug 2024 12:13:54 +0100
Subject: [PATCH] Only pin on numpy is <2.0
---
.github/workflows/ci.yml | 2 +-
requirements-extra.txt | 2 --
setup.py | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f0902d2..430d280 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -35,7 +35,7 @@ jobs:
pip install .
pip install -r requirements-extra.txt
- pip install 'numpy<=1.23.0' # temp fix, see https://github.com/OpenSourceBrain/osb-model-validation/issues/91
+ #pip install 'numpy<=1.23.0' # temp fix, see https://github.com/OpenSourceBrain/osb-model-validation/issues/91
- name: Lint with flake8
diff --git a/requirements-extra.txt b/requirements-extra.txt
index 46e442a..83c7838 100644
--- a/requirements-extra.txt
+++ b/requirements-extra.txt
@@ -4,8 +4,6 @@ matplotlib
PyQt5
pyneuroml
pyelectro
-numpy
neuron
h5py
graphviz
-pylems
diff --git a/setup.py b/setup.py
index c76fd81..1b8e1ff 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@
install_requires=[
"libNeuroML>=0.5.1",
"pyyaml",
- "numpy",
+ "numpy<2.0.0",
"tables",
"h5py",
"modelspec>=0.2.6",