py-pyzmq: fix order of decorators (#40157)

This commit is contained in:
Adam J. Stewart 2023-09-22 10:20:56 -05:00 committed by GitHub
parent 783e253f7d
commit 480a5e0848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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