summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-12-29 10:01:11 +0100
committerGitHub <noreply@github.com>2023-12-29 10:01:11 +0100
commit952df640ab18e0e75908b4ce263d5606fd79a4c8 (patch)
treeaf9d684454d905c88266bab910625e831bc695e7 /var
parent6420e5ce79c89f4d12d303fd9ebfb45dff3ce23b (diff)
downloadspack-952df640ab18e0e75908b4ce263d5606fd79a4c8.tar.gz
spack-952df640ab18e0e75908b4ce263d5606fd79a4c8.tar.bz2
spack-952df640ab18e0e75908b4ce263d5606fd79a4c8.tar.xz
spack-952df640ab18e0e75908b4ce263d5606fd79a4c8.zip
py-pyzmq: fix import tests (#41869)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pyzmq/package.py22
1 files 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")