From 480a5e084829afb3bd7793018f1a22da75fa9c7e Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Fri, 22 Sep 2023 10:20:56 -0500 Subject: [PATCH] py-pyzmq: fix order of decorators (#40157) --- var/spack/repos/builtin/packages/py-pyzmq/package.py | 3 +-- 1 file changed, 1 insertion(+), 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 e1031fb659..4850dddc08 100644 --- a/var/spack/repos/builtin/packages/py-pyzmq/package.py +++ b/var/spack/repos/builtin/packages/py-pyzmq/package.py @@ -60,8 +60,7 @@ class PyPyzmq(PythonPackage): # Undocumented dependencies depends_on("py-gevent", type=("build", "run")) - @run_before("install") - @when("@15:19") + @run_before("install", when="@15:19") def remove_cythonized_files(self): # Before v20.0.0 an ancient cythonize API was used, for which we cannot # force re-cythonization. Re-cythonizing v14.x fails in general, so