Skip to content
Snippets Groups Projects
Commit 44d361dd authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

fix(wf-brainscales2-demos): set type of deps

The deps shouldn't default to ("build", "link") as this is a workflow package
that shall provide a) a "realistic" test environment and b) a bundled set of
dependencies for typical use cases (at runtime).
parent 0dfe7e9f
No related branches found
No related tags found
2 merge requests!399create new experimental release,!396feat(BSS2): add/reenable tests
......@@ -19,20 +19,20 @@ class WfBrainscales2Demos(Package):
depends_on('hxtorch', type=("run", "test"))
depends_on('pynn-brainscales', type=("run", "test"))
depends_on('py-matplotlib@3.5.1:')
depends_on('py-ipywidgets@7.7.0:')
depends_on('py-ipycanvas@0.10.2:')
depends_on('py-numpy@1.21.6:')
depends_on('py-ipython@8.0.1:')
depends_on('py-quantities@0.13.0:')
depends_on('py-torch@1.11.0:')
depends_on('py-torchvision@0.12.0:')
depends_on('py-tqdm@4.62.3:')
depends_on('py-requests@2.26.0:')
depends_on('py-neo@0.11.1:')
depends_on('py-scipy@1.8.1:')
depends_on('py-deap@1.3:')
depends_on('py-pandas@1.4.2:')
depends_on('py-matplotlib@3.5.1:', type=("run", "test"))
depends_on('py-ipywidgets@7.7.0:', type=("run", "test"))
depends_on('py-ipycanvas@0.10.2:', type=("run", "test"))
depends_on('py-numpy@1.21.6:', type=("run", "test"))
depends_on('py-ipython@8.0.1:', type=("run", "test"))
depends_on('py-quantities@0.13.0:', type=("run", "test"))
depends_on('py-torch@1.11.0:', type=("run", "test"))
depends_on('py-torchvision@0.12.0:', type=("run", "test"))
depends_on('py-tqdm@4.62.3:', type=("run", "test"))
depends_on('py-requests@2.26.0:', type=("run", "test"))
depends_on('py-neo@0.11.1:', type=("run", "test"))
depends_on('py-scipy@1.8.1:', type=("run", "test"))
depends_on('py-deap@1.3:', type=("run", "test"))
depends_on('py-pandas@1.4.2:', type=("run", "test"))
def install(self, spec, prefix):
# sanity_check_prefix requires something in the install directory
......@@ -41,6 +41,8 @@ class WfBrainscales2Demos(Package):
@run_after("install")
@on_package_attributes(run_tests=True)
def installcheck(self):
cmd_env = which("env")
cmd_env()
# execute notebook and save
jupyter = Executable("jupyter")
jupyter("nbconvert",
......
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