summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2021-08-30 17:15:49 -0400
committerGitHub <noreply@github.com>2021-08-30 16:15:49 -0500
commitbeb3524392ae76532198e9ee99dc7dcd59996629 (patch)
tree3353885a01ba8b57794a02266ce710f597e7bf48 /var
parent8ee5bf6d03d29274b012d9923a333b66a1dccbc1 (diff)
downloadspack-beb3524392ae76532198e9ee99dc7dcd59996629.tar.gz
spack-beb3524392ae76532198e9ee99dc7dcd59996629.tar.bz2
spack-beb3524392ae76532198e9ee99dc7dcd59996629.tar.xz
spack-beb3524392ae76532198e9ee99dc7dcd59996629.zip
[py-plotly] added version 5.2.2 (#25668)
* [py-plotly] added version 5.2.2 * [py-plotly] flake8 * [py-plotly] requests not required for new version
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-plotly/package.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-plotly/package.py b/var/spack/repos/builtin/packages/py-plotly/package.py
index 24666f278f..b103663130 100644
--- a/var/spack/repos/builtin/packages/py-plotly/package.py
+++ b/var/spack/repos/builtin/packages/py-plotly/package.py
@@ -12,11 +12,17 @@ class PyPlotly(PythonPackage):
homepage = "https://plot.ly/python/"
pypi = "plotly/plotly-2.2.0.tar.gz"
+ version('5.2.2', sha256='809f0674a7991daaf4f287964d617d24e9fa44463acd5a5352ebd874cfd98b07')
version('2.2.0', sha256='ca668911ffb4d11fed6d7fbb12236f8ecc6a7209db192326bcb64bdb41451a58')
+ depends_on('python@3.6:', when='@5.2.2:', type=('build', 'run'))
+
depends_on('py-setuptools', type='build')
- depends_on('py-decorator@4.0.6:', type=('build', 'run'))
- depends_on('py-nbformat@4.2.0:', type=('build', 'run'))
- depends_on('py-requests', type=('build', 'run'))
- depends_on('py-six', type=('build', 'run'))
- depends_on('py-pytz', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
+
+ depends_on('py-pytz', when='@:2.2.0', type=('build', 'run'))
+ depends_on('py-decorator@4.0.6:', when='@:2.2.0', type=('build', 'run'))
+ depends_on('py-nbformat@4.2.0:', when='@:2.2.0', type=('build', 'run'))
+ depends_on('py-requests', when='@:2.2.0', type=('build', 'run'))
+
+ depends_on('py-tenacity@6.2.0:', when='@5.2.2:', type=('build', 'run'))