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

Merge branch 'py_viziphant_v0.3.0' into 'test-spacktests-workaround'

update py-viziphant to 0.3.0

See merge request technical-coordination/project-internal/devops/platform/ebrains-spack-builds!281
parents a2dabc34 5987f1bc
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ class PyViziphant(PythonPackage):
# notify when the package is updated.
maintainers = ['Moritz-Alexander-Kern']
version('0.3.0', sha256='40d2970b8384d8e1c5d324caf1b1188391d7e651375ce08dd518bcf4ac6477f2')
version('0.2.0', sha256='044b5c92de169dfafd9665efe2c310e917d2c21980bcc9f560d5c727161f9bd8')
version('0.1.0', sha256='8fd56ec8633f799396dc33fbace95d2553bedb17f680a8c0e97f43b3a629bf6c')
......@@ -27,3 +28,15 @@ class PyViziphant(PythonPackage):
depends_on('py-six@1.10.0:', type=('build', 'run'))
depends_on('py-matplotlib@3.3.2:', type=('build', 'run'))
depends_on('py-seaborn@0.9.0:', type=('build', 'run'))
depends_on("py-pytest", type=("test"), when="@0.3.0:")
depends_on("py-elephant@0.9.0:+extras", type=("test"), when="@0.3.0:")
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
# run tests
# TODO: replace if clause with @run_after('install', when='@0.3.0:') after update to Spack v0.19
if self.spec.version >= Version('0.3.0'):
pytest = which('pytest')
pytest()
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