diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b43b1b8..026dcb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,8 @@ jobs: run: | pip install . pip install .[dev] + pip install "numpy<2.4" # Issue with numpy 2.4 and quantities, see https://github.com/OpenSourceBrain/osb-model-validation/issues/150 + - name: Lint with flake8 @@ -55,7 +57,7 @@ jobs: git clone https://github.com/NeuroML/pyNeuroML.git cd pyNeuroML git checkout $pynml_branch - pip install "NEURON>=8.2.2" # Specify version of neuron - 8.2.1 fails + pip install "NEURON>=8.2.2,<9.0.0" # Specify version of neuron - 8.2.1 fails #pip install -r requirements-dev.txt pip install . cd - @@ -105,6 +107,7 @@ jobs: #export HDF5_DISABLE_VERSION_CHECK=1 if [[ ${{ matrix.python-version }} != 2.7 ]]; then omv install PyNEST; fi #pip install h5py + omv list -V # list installed engines - name: Run pytest diff --git a/examples/Example6.py b/examples/Example6.py index 62274c6..fc350f7 100644 --- a/examples/Example6.py +++ b/examples/Example6.py @@ -114,7 +114,6 @@ def generate(ref="Example6_PyNN", add_inputs=True): d = {} d[ref] = Population(id=pop_id, size='int(%s*N_scaling)'%N_full[l][t], component=cell.id, properties={'color':color, 'type':t}) - # Instead of exec, set the attribute directly using locals() d[ref].random_layout = RandomLayout(region=r.id) net.populations.append(d[ref]) pop_dict['%s'% (pop_id)] = d[ref] diff --git a/examples/LEMS_SimExample3.xml b/examples/LEMS_SimExample3.xml index 242674a..a646cb5 100644 --- a/examples/LEMS_SimExample3.xml +++ b/examples/LEMS_SimExample3.xml @@ -2,7 +2,7 @@ diff --git a/examples/LEMS_SimExample4.xml b/examples/LEMS_SimExample4.xml index dac6b77..12c5be3 100644 --- a/examples/LEMS_SimExample4.xml +++ b/examples/LEMS_SimExample4.xml @@ -2,7 +2,7 @@