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

fix concretisation issues of py-viziphant

parent 7bca68a9
No related branches found
No related tags found
No related merge requests found
# this package was adapted from Spack upstream v0.20.0, to add missing nmp dependency
# Copyright 2013-2023 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.package import *
class PyBokeh(PythonPackage):
"""Statistical and novel interactive HTML plots for Python"""
homepage = "https://github.com/bokeh/bokeh"
pypi = "bokeh/bokeh-0.12.2.tar.gz"
version("2.4.3", sha256="ef33801161af379665ab7a34684f2209861e3aefd5c803a21fbbb99d94874b03")
version("2.4.1", sha256="d0410717d743a0ac251e62480e2ea860a7341bdcd1dbe01499a904f233c90512")
version("2.4.0", sha256="6fa00ed8baab5cca33f4175792c309fa2536eaae7e90abee884501ba8c90fddb")
version("2.3.3", sha256="a5fdcc181835561447fcc5a371300973fce4114692d5853addec284d1cdeb677")
version("1.3.4", sha256="e2d97bed5b199a10686486001fed5c854e4c04ebe28859923f27c52b93904754")
version("0.12.2", sha256="0a840f6267b6d342e1bd720deee30b693989538c49644142521d247c0f2e6939")
depends_on("py-setuptools", type="build", when="@1.3.4:")
depends_on("npm", type=("build", "run"))
depends_on("python@2.6:", type=("build", "run"), when="@0.12.2")
depends_on("python@2.7:", type=("build", "run"), when="@1.3.4:")
depends_on("python@3.6:", type=("build", "run"), when="@2.3.3:")
depends_on("python@3.7:", type=("build", "run"), when="@2.4.0:")
depends_on("py-requests@1.2.3:", type=("build", "run"), when="@0.12.2")
depends_on("py-six@1.5.2:", type=("build", "run"), when="@:1.3.4")
depends_on("py-python-dateutil@2.1:", type=("build", "run"), when="@:2.3.3")
depends_on("py-jinja2@2.7:", type=("build", "run"))
depends_on("py-jinja2@2.9:", type=("build", "run"), when="@2.3.3:")
depends_on("py-numpy@1.7.1:", type=("build", "run"))
depends_on("py-numpy@1.11.3:", type=("build", "run"), when="@2.3.3:")
depends_on("py-packaging@16.8:", type=("build", "run"), when="@1.3.4:")
depends_on("pil@4.0:", type=("build", "run"), when="@1.3.4:")
depends_on("pil@7.1.0:", type=("build", "run"), when="@2.3.3:")
depends_on("py-pyyaml@3.10:", type=("build", "run"))
depends_on("py-tornado@4.3:", type=("build", "run"))
depends_on("py-tornado@5.1:", type=("build", "run"), when="@2.3.3:")
depends_on("py-typing-extensions@3.7.4:", type=("build", "run"), when="@2.3.3:")
depends_on("py-typing-extensions@3.10.0:", type=("build", "run"), when="@2.4.0:")
\ No newline at end of file
# Copyright 2013-2022 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.package import *
class PyColorcet(PythonPackage):
"""Collection of perceptually accurate colormaps"""
homepage = "https://colorcet.holoviz.org/"
pypi = "colorcet/colorcet-3.0.1.tar.gz"
maintainers = ['']
version('3.0.1', sha256='51455a20353d12fac91f953772d8409f2474e6a0db1af3fa4f7005f405a2480b')
depends_on('python@3.7:3.10', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pyct@0.4.4:', type='build')
depends_on('py-wheel', type=('build','run'))
\ No newline at end of file
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Copyright 2013-2023 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)
......@@ -13,11 +12,9 @@ class PyHoloviews(PythonPackage):
homepage = "https://holoviews.org/"
pypi = "holoviews/holoviews-1.18.0.tar.gz"
maintainers = ['']
version("1.17.1", sha256="ca30c661508b22e9e8c119dbc3e4a5d851987b43c30565db180b291d8fd770a4")
version('1.18.0', sha256='bab72961ab7a18794db269351d905523f2aadcad593b321512927ce93dc9df91')
depends_on('python@3.7:3.10', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pyct', type='build')
depends_on('py-matplotlib', type=('build','run'))
......@@ -29,18 +26,5 @@ class PyHoloviews(PythonPackage):
depends_on('py-packaging', type=('build','run'))
depends_on('py-panel', type=('build','run'))
depends_on('py-colorcet', type=('build','run'))
depends_on('py-jupyterlab-widgets', type="run")
depends_on('py-ipywidgets', type="run")
depends_on("py-pytest", type=("test"))
@run_after('install')
@on_package_attributes(run_tests=True)
def install_test(self):
# run tests
# TODO: replace if clause with @run_after('install', when='@1.18.0:') after update to Spack v0.19
if self.spec.version >= Version('1.18.0'):
pytest = which('pytest')
pytest()
\ No newline at end of file
depends_on('py-jupyterlab-widgets', type='run')
depends_on('py-ipywidgets', type='run')
# Copyright 2013-2022 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.package import *
class PyPanel(PythonPackage):
"""Panel makes it easy to combine widgets, plots, tables and other viewable Python objects into custom analysis tools, applications, and dashboards."""
homepage = "https://panel.holoviz.org/"
pypi = "panel/panel-1.3.1.tar.gz"
maintainers = ['']
version('1.3.1', sha256='d50abe3361239516b265444fef3a3c9f2faa0b0cfb671849c767829b857c7a5f')
depends_on('python@3.7:3.12', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pyct@0.4.4:', type='build')
depends_on('py-bokeh', type=('build','run'))
depends_on('py-param', type=('build','run'))
depends_on('py-pyviz-comms@0.7.4:', type=('build','run'))
depends_on('py-packaging', type=('build','run'))
depends_on('py-requests', type=('build','run'))
depends_on('py-bleach', type=('build','run'))
depends_on('py-tqdm@4.48.0:', type=('build','run'))
depends_on('py-markdown', type=('build','run'))
depends_on('py-wheel', type=('build','run'))
\ No newline at end of file
# this package was adapted from Spack upstream v0.20.0, to add version 2.3.2 (that supports setuptools>60)
# Copyright 2013-2023 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.package import *
class PyPyvizComms(PythonPackage):
"""Bidirectional communication for the HoloViz ecosystem."""
homepage = "https://holoviz.org/"
pypi = "pyviz_comms/pyviz_comms-2.2.1.tar.gz"
version("2.3.2", sha256="542a10fed8242d3a9d468ed0a14d6a2537e589c3f8a7986c79c374591254d6b4")
version("2.2.1", sha256="a26145b8ce43d2d934b3c6826d77b913ce105c528eb2e494c890b3e3525ddf33")
depends_on("py-setuptools@40.8:", type="build")
depends_on("py-setuptools@40.8:60", type="build", when="@:2.2.1")
depends_on("py-param", type=("build", "run"))
......@@ -51,10 +51,7 @@ spack:
- py-tvb-library@2.8.2
- py-tvb-multiscale@2.1.0.ebrains
- py-tvb-storage@2.8.1
#- py-viziphant@0.4.0
- py-panel
#- py-holoviews
#- py-colorcet
- py-viziphant@0.4.0
- pynn-brainscales@7.0-rc1-fixup1
- r-rgsl@0.1.1
- r-sbtabvfgen@0.1
......
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