From df77922d22c9cc8c39601e0fc316799e8badc665 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Tue, 13 Jul 2021 23:05:14 +0200 Subject: py-jupyterlab, py-jupyter-server: fix version range (#24864) Using the original concretizer, trying to concretize py-jupyterlab fails with ``` ==> Error: Invalid Version range: 6.1.0:6.1 ``` because py-tornado does not have a 6.1.0 version but only a 6.1 one. --- var/spack/repos/builtin/packages/py-jupyter-server/package.py | 2 +- var/spack/repos/builtin/packages/py-jupyterlab/package.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-jupyter-server/package.py b/var/spack/repos/builtin/packages/py-jupyter-server/package.py index b63cd6ae39..3301cf8205 100644 --- a/var/spack/repos/builtin/packages/py-jupyter-server/package.py +++ b/var/spack/repos/builtin/packages/py-jupyter-server/package.py @@ -19,7 +19,7 @@ class PyJupyterServer(PythonPackage): depends_on('python@3.6:', type=('build', 'run')) depends_on('py-setuptools', type='build') depends_on('py-jinja2', type=('build', 'run')) - depends_on('py-tornado@6.1.0:', type=('build', 'run')) + depends_on('py-tornado@6.1:', type=('build', 'run')) depends_on('py-pyzmq@17:', type=('build', 'run')) depends_on('py-argon2-cffi', type=('build', 'run')) depends_on('py-ipython-genutils', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-jupyterlab/package.py b/var/spack/repos/builtin/packages/py-jupyterlab/package.py index e431f17693..2cd581cae3 100644 --- a/var/spack/repos/builtin/packages/py-jupyterlab/package.py +++ b/var/spack/repos/builtin/packages/py-jupyterlab/package.py @@ -27,7 +27,7 @@ class PyJupyterlab(PythonPackage): # @3: depends_on('py-ipython', when='@3:', type=('build', 'run')) depends_on('py-packaging', when='@3:', type=('build', 'run')) - depends_on('py-tornado@6.1.0:', when='@3:', type=('build', 'run')) + depends_on('py-tornado@6.1:', when='@3:', type=('build', 'run')) depends_on('py-jupyter-core', when='@3:', type=('build', 'run')) depends_on('py-jupyterlab-server@2.3:2.999', when='@3.0.9:', type=('build', 'run')) depends_on('py-jupyterlab-server@2.0:2.999', when='@3.0.0:3.0.8', type=('build', 'run')) -- cgit v1.2.3-70-g09d2