From da7666a967d2e48c4c192ce9acf48e3b7b0747b4 Mon Sep 17 00:00:00 2001 From: bernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com> Date: Fri, 1 Oct 2021 16:04:36 +0200 Subject: [PATCH] py-pyside: restrict version of dependency on v1.2.2 (#26396) Restrict @:1.2.2 to older sphinx versions to not fail the build --- var/spack/repos/builtin/packages/py-pyside/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-pyside/package.py b/var/spack/repos/builtin/packages/py-pyside/package.py index 4e267c781d..9e14889cf5 100644 --- a/var/spack/repos/builtin/packages/py-pyside/package.py +++ b/var/spack/repos/builtin/packages/py-pyside/package.py @@ -29,7 +29,8 @@ class PyPyside(PythonPackage): depends_on('cmake', type='build') depends_on('py-setuptools', type='build') - depends_on('py-sphinx', type=('build', 'run')) + depends_on('py-sphinx', type=('build', 'run')) + depends_on('py-sphinx@:3.5.0', type=('build', 'run'), when='@:1.2.2') depends_on('qt@4.5:4.9') depends_on('libxml2@2.6.32:') depends_on('libxslt@1.1.19:')