From a3f5b712d30a902481f668090c4bdf7faddfd427 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Fri, 7 Jan 2022 15:08:02 -0600 Subject: py-pyzmq: adjust constraints for python-3.9 (#28264) Version 18.1 builds with python-3.9 --- var/spack/repos/builtin/packages/py-pyzmq/package.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-pyzmq/package.py b/var/spack/repos/builtin/packages/py-pyzmq/package.py index 44f66bc81d..ca39960c5b 100644 --- a/var/spack/repos/builtin/packages/py-pyzmq/package.py +++ b/var/spack/repos/builtin/packages/py-pyzmq/package.py @@ -26,9 +26,10 @@ class PyPyzmq(PythonPackage): version('16.0.2', sha256='0322543fff5ab6f87d11a8a099c4c07dd8a1719040084b6ce9162bcdf5c45c9d') version('14.7.0', sha256='77994f80360488e7153e64e5959dc5471531d1648e3a4bff14a714d074a38cc2') + depends_on('python@3.6:', type=('build', 'run'), when='@22:') + depends_on('python@2.7,3.3:', type=('build', 'run'), when='@18.1') # Python 3.9 build issues - depends_on('python@3.6:3.8', type=('build', 'run'), when='@22:') - depends_on('python@2.7,3.3:3.8', type=('build', 'run'), when='@16:18') + depends_on('python@2.7,3.3:3.8', type=('build', 'run'), when='@16:18.0') depends_on('python@2.6:2.7,3.2:3.8', type=('build', 'run'), when='@:14') depends_on('py-cython@0.16:', type='build') depends_on('py-cython@0.20:', type='build', when='@18:') -- cgit v1.2.3-70-g09d2