Skip to content
Snippets Groups Projects
Commit 26563f6b authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

Merge branch 'master' into 'experimental_rel'

create new experimental release

See merge request technical-coordination/project-internal/devops/platform/ebrains-spack-builds!494
parents 1cfec122 5933d941
No related branches found
No related tags found
1 merge request!494create new experimental release
Pipeline #28410 waiting for manual action with stage
in 36 seconds
...@@ -160,6 +160,7 @@ deploy-exp-release-prod-jsc: ...@@ -160,6 +160,7 @@ deploy-exp-release-prod-jsc:
- shell-runner - shell-runner
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $DEPLOYMENT == "prod" - if: $CI_PIPELINE_SOURCE == "schedule" && $DEPLOYMENT == "prod"
when: never
build-spack-env-on-runner: build-spack-env-on-runner:
stage: build stage: build
...@@ -170,6 +171,9 @@ build-spack-env-on-runner: ...@@ -170,6 +171,9 @@ build-spack-env-on-runner:
variables: variables:
SPACK_DEV_ENV: ebrains-dev SPACK_DEV_ENV: ebrains-dev
script: script:
# deactivate environment views (we don't need them for the test build-job)
- >
echo " view: False" >> $CI_PROJECT_DIR/site-config/$SYSTEMNAME/spack.yaml
# run installation script # run installation script
- . install_spack_env.sh $CI_PROJECT_DIR $SPACK_VERSION $CI_PROJECT_DIR $SPACK_DEV_ENV $SPACK_PATH_GITLAB - . install_spack_env.sh $CI_PROJECT_DIR $SPACK_VERSION $CI_PROJECT_DIR $SPACK_DEV_ENV $SPACK_PATH_GITLAB
# re-activate envionment and run tests # re-activate envionment and run tests
......
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyLibneuroml(PythonPackage):
"""A SciUnit library for data-driven validation testing of models of hippocampus
"""
homepage = "https://github.com/NeuralEnsemble/libNeuroML"
pypi = "libNeuroML/libNeuroML-0.4.1.tar.gz"
git = "https://github.com/NeuralEnsemble/libNeuroML.git"
version('0.5.5', sha256='b05830bb451ba797d941efee174724be9075d8d2e7d66f8379b2f2513c90d588')
version('0.4.1', sha256='d1b81dbcf794097904438f04f201cb2cffed7c38117c19f65c595d63fcb8c8b3')
depends_on('python@3.7:')
depends_on('py-setuptools', type=('build'))
depends_on('py-lxml', type=('run', 'test'))
depends_on('py-six', type=('run', 'test'))
depends_on('py-networkx', type=('run', 'test'))
depends_on('py-numpy', type=('run', 'test'))
depends_on('py-tables@3.3.0:', type=('run', 'test'))
depends_on('py-natsort', type=('run', 'test'))
...@@ -17,6 +17,8 @@ class PyPynn(PythonPackage): ...@@ -17,6 +17,8 @@ class PyPynn(PythonPackage):
maintainers = ["apdavison"] maintainers = ["apdavison"]
version('0.12.2', sha256='8039b68e3e5f98b537038c249dc42c027bd63f9ecc015c82f1f88bd30dfa28a9')
version('0.12.1', sha256='fef49cc601032565341f02c5c982cb805bc0cc16de75166acb1b7f8c179adfda')
version('0.11.0', sha256='eab6ef281e0a00180c8b31ffb65984f54216c68464db363a5c09832fec91f952') version('0.11.0', sha256='eab6ef281e0a00180c8b31ffb65984f54216c68464db363a5c09832fec91f952')
version('0.10.1', sha256='03fbafeddd64ae7163e2b557b2760380b6eceb52469f1b3f4cc203bbb80f0cde') version('0.10.1', sha256='03fbafeddd64ae7163e2b557b2760380b6eceb52469f1b3f4cc203bbb80f0cde')
version('0.10.0', sha256='04120fe0e03260d664b337e0ac29d985c3fb3684ef35b1add93a66739891c98f') version('0.10.0', sha256='04120fe0e03260d664b337e0ac29d985c3fb3684ef35b1add93a66739891c98f')
...@@ -52,15 +54,22 @@ class PyPynn(PythonPackage): ...@@ -52,15 +54,22 @@ class PyPynn(PythonPackage):
depends_on('py-neo@0.10.0:', type=('run', 'test'), when="@0.10.0") depends_on('py-neo@0.10.0:', type=('run', 'test'), when="@0.10.0")
depends_on('py-neo@0.11.0:', type=('run', 'test'), when="@0.10.1:") depends_on('py-neo@0.11.0:', type=('run', 'test'), when="@0.10.1:")
depends_on('py-libneuroml@0.4.1:', type=('run', 'test'), when="@0.12.1:")
depends_on('py-morphio', type=('run', 'test'), when="@0.12:")
depends_on('neuron@8.1:+python', type=('run', 'test'), when="@0.10.1:") depends_on('neuron@8.1:+python', type=('run', 'test'), when="@0.10.1:")
depends_on('nest@3.3:+python', type=('run', 'test'), when="@0.10.1:") depends_on('nest@3.3:3.4+python', type=('run', 'test'), when="@0.10.1:0.11.0")
depends_on('nest@3.4:+python', type=('run', 'test'), when="@0.12.1:")
depends_on('py-brian2', type=('run', 'test')) depends_on('py-brian2', type=('run', 'test'))
depends_on('arbor@0.8.1:+python', type=('run', 'test'), when="@0.12.1:")
depends_on('py-mock@1.0:', type='test') depends_on('py-mock@1.0:', type='test')
depends_on('py-matplotlib', type='test') depends_on('py-matplotlib', type='test')
depends_on("py-pytest", type='test', when="@0.11.0:") depends_on("py-pytest", type='test', when="@0.11.0:")
patch('pynn-0.9.6-python3.patch', when='@0.9.6 ^python@3:') patch('pynn-0.9.6-python3.patch', when='@0.9.6 ^python@3:')
patch('pynn-0.12.2-arbor-0.9.0.patch', when='@0.12.1:0.12.2')
# neuroml and nineml are optional dependencies. Leave out of import_modules to avoid errors in tests # neuroml and nineml are optional dependencies. Leave out of import_modules to avoid errors in tests
skip_modules = ['pyNN.neuroml', 'pyNN.nineml', 'pyNN.hardware'] skip_modules = ['pyNN.neuroml', 'pyNN.nineml', 'pyNN.hardware']
......
diff --git a/pyNN/arbor/simulator.py b/pyNN/arbor/simulator.py
index 69c7eab9..528e8d4d 100644
--- a/pyNN/arbor/simulator.py
+++ b/pyNN/arbor/simulator.py
@@ -186,7 +186,7 @@ class State(common.control.BaseState):
comm = arbor.mpi_comm(MPI.COMM_WORLD)
else:
comm = None
- self.arbor_context = arbor.context(alloc, comm)
+ self.arbor_context = arbor.context(alloc, mpi=comm)
# unclear if we can create the recipe now, or if we have to
# construct it only when we've assembled the whole network
self.network = NetworkRecipe()
...@@ -13,6 +13,7 @@ class PyQuantities(PythonPackage): ...@@ -13,6 +13,7 @@ class PyQuantities(PythonPackage):
pypi = "quantities/quantities-0.12.1.tar.gz" pypi = "quantities/quantities-0.12.1.tar.gz"
maintainers = ['apdavison'] maintainers = ['apdavison']
version('0.15.0', sha256='9ea31e2a0d7517cf24d546b14146def9292639993a616cca61b875ef796b4b2b')
version('0.14.1', sha256='efeafffc0c0364f891a9327239cd12496bccb55cd037a6d1bf44de706f722877') version('0.14.1', sha256='efeafffc0c0364f891a9327239cd12496bccb55cd037a6d1bf44de706f722877')
version('0.13.0', sha256='0fde20115410de21cefa786f3aeae69c1b51bb19ee492190324c1da705e61a81') version('0.13.0', sha256='0fde20115410de21cefa786f3aeae69c1b51bb19ee492190324c1da705e61a81')
version('0.12.5', sha256='67546963cb2a519b1a4aa43d132ef754360268e5d551b43dd1716903d99812f0') version('0.12.5', sha256='67546963cb2a519b1a4aa43d132ef754360268e5d551b43dd1716903d99812f0')
...@@ -30,7 +31,7 @@ class PyQuantities(PythonPackage): ...@@ -30,7 +31,7 @@ class PyQuantities(PythonPackage):
depends_on('python@2.7.0:2.7,3.4:3.7', type=('build', 'run'), when='@0.12.3') depends_on('python@2.7.0:2.7,3.4:3.7', type=('build', 'run'), when='@0.12.3')
depends_on('python@2.7.0:2.7,3.4:3.8', type=('build', 'run'), when='@0.12.4:0.12.5') depends_on('python@2.7.0:2.7,3.4:3.8', type=('build', 'run'), when='@0.12.4:0.12.5')
depends_on('python@3.7:3.10', type=('build', 'run'), when='@0.13.0:0.13.1') depends_on('python@3.7:3.10', type=('build', 'run'), when='@0.13.0:0.13.1')
depends_on('python@3.8:3.11', type=('build', 'run'), when='@0.14:') depends_on('python@3.8:3.12', type=('build', 'run'), when='@0.14:')
# pip silently replaces distutils with setuptools # pip silently replaces distutils with setuptools
# py-setuptools@:61 doesn't support PEP 621 # py-setuptools@:61 doesn't support PEP 621
...@@ -44,4 +45,5 @@ class PyQuantities(PythonPackage): ...@@ -44,4 +45,5 @@ class PyQuantities(PythonPackage):
depends_on('py-numpy@1.8.2:1.16', type=('build', 'run'), when='@0.12.3') depends_on('py-numpy@1.8.2:1.16', type=('build', 'run'), when='@0.12.3')
depends_on('py-numpy@1.8.2:1.17', type=('build', 'run'), when='@0.12.4:0.12') depends_on('py-numpy@1.8.2:1.17', type=('build', 'run'), when='@0.12.4:0.12')
depends_on('py-numpy@1.16:', type=('build', 'run'), when='@0.13.0:0.13.1') depends_on('py-numpy@1.16:', type=('build', 'run'), when='@0.13.0:0.13.1')
depends_on('py-numpy@1.19:', type=('build', 'run'), when='@0.14:') depends_on('py-numpy@1.19:', type=('build', 'run'), when='@0.14:0.14')
depends_on('py-numpy@1.20:', type=('build', 'run'), when='@0.15.0:')
...@@ -55,10 +55,10 @@ class WfBrainscales2Demos(Package): ...@@ -55,10 +55,10 @@ class WfBrainscales2Demos(Package):
try: try:
# execute notebook and save # execute notebook and save
jupyter(*args, output=str.split, error=str.split) jupyter(*args, output=str.split, error=str.split)
except ProcessError as e: except Exception as e:
# if the notebook execution fails, re-run notebook to produce output with error # if the notebook execution fails, re-run notebook to produce output with error
# in case of a cell timeout, don't re-run # in case of a cell timeout, don't re-run
if "CellTimeoutError" not in e: if "CellTimeoutError" not in str(e):
jupyter(*(args+["--allow-errors"])) jupyter(*(args+["--allow-errors"]))
raise raise
......
...@@ -47,7 +47,7 @@ class WfMultiAreaModel(Package): ...@@ -47,7 +47,7 @@ class WfMultiAreaModel(Package):
try: try:
# execute notebook and save # execute notebook and save
jupyter(*args) jupyter(*args)
except ProcessError as e: except Exception as e:
# if the above fails, re-run notebook to produce output with error # if the above fails, re-run notebook to produce output with error
jupyter(*(args+["--allow-errors"])) jupyter(*(args+["--allow-errors"]))
raise raise
......
...@@ -31,16 +31,17 @@ spack: ...@@ -31,16 +31,17 @@ spack:
- py-hippounit@1.3.6 - py-hippounit@1.3.6
- py-lfpy@2.3 - py-lfpy@2.3
- py-lfpykit@0.5.1 - py-lfpykit@0.5.1
- py-libneuroml@0.4.1
- py-libsonata@0.1.23 - py-libsonata@0.1.23
- py-neo@0.12.0 - py-neo@0.12.0
- py-nestml@7.0.0 - py-nestml@7.0.0
- py-netpyne@1.0.5 - py-netpyne@1.0.5
- py-neurom@3.2.2 - py-neurom@3.2.2
- py-neuror@1.6.4 - py-neuror@1.6.4
- py-pynn@0.11.0 +mpi - py-pynn@0.12.2 +mpi
- py-pyunicore@0.15.0 - py-pyunicore@0.15.0
- py-quantities-scidash@0.12.4.3 - py-quantities-scidash@0.12.4.3
- py-quantities@0.14.1 - py-quantities@0.15.0
- py-siibra@0.4a66 - py-siibra@0.4a66
- py-snudda@1.4.71 - py-snudda@1.4.71
- py-spynnaker@7.0.0 - py-spynnaker@7.0.0
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment