From 952df640ab18e0e75908b4ce263d5606fd79a4c8 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Fri, 29 Dec 2023 10:01:11 +0100 Subject: py-pyzmq: fix import tests (#41869) --- .../repos/builtin/packages/py-pyzmq/package.py | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-pyzmq/package.py b/var/spack/repos/builtin/packages/py-pyzmq/package.py index 5461811104..3eb0ec338f 100644 --- a/var/spack/repos/builtin/packages/py-pyzmq/package.py +++ b/var/spack/repos/builtin/packages/py-pyzmq/package.py @@ -12,24 +12,14 @@ class PyPyzmq(PythonPackage): homepage = "https://github.com/zeromq/pyzmq" pypi = "pyzmq/pyzmq-22.3.0.tar.gz" - import_modules = [ - "zmq", - "zmq.green", - "zmq.green.eventloop", - "zmq.sugar", - "zmq.auth", - "zmq.auth.asyncio", - "zmq.utils", - "zmq.backend", + skip_modules = [ + # Requires zmq.backend.cffi._cffi "zmq.backend.cffi", - "zmq.backend.cython", - "zmq.ssh", + # Requires tornado "zmq.eventloop", - "zmq.eventloop.minitornado", - "zmq.eventloop.minitornado.platform", - "zmq.log", - "zmq.asyncio", - "zmq.devices", + "zmq.green.eventloop", + # Requires pytest + "zmq.tests", ] license("BSD-3-Clause") -- cgit v1.2.3-70-g09d2