summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-01 03:00:53 -0500
committerGitHub <noreply@github.com>2021-06-01 10:00:53 +0200
commitab254e7d86aa1cdc35359ad4b99e5460c1e5e8ba (patch)
tree1972bd9ee378a57dcc1848d51944766971ae287f /var
parentc596dba0395b6242c6362140341f46f57a363712 (diff)
downloadspack-ab254e7d86aa1cdc35359ad4b99e5460c1e5e8ba.tar.gz
spack-ab254e7d86aa1cdc35359ad4b99e5460c1e5e8ba.tar.bz2
spack-ab254e7d86aa1cdc35359ad4b99e5460c1e5e8ba.tar.xz
spack-ab254e7d86aa1cdc35359ad4b99e5460c1e5e8ba.zip
py-numcodecs: fix import_modules tests (#24015)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-numcodecs/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-numcodecs/package.py b/var/spack/repos/builtin/packages/py-numcodecs/package.py
index d3b4c647f3..3a788b981c 100644
--- a/var/spack/repos/builtin/packages/py-numcodecs/package.py
+++ b/var/spack/repos/builtin/packages/py-numcodecs/package.py
@@ -16,6 +16,10 @@ class PyNumcodecs(PythonPackage):
pypi = "numcodecs/numcodecs-0.6.4.tar.gz"
git = "https://github.com/zarr-developers/numcodecs.git"
+ # 'numcodecs.tests' excluded from 'import_modules' because it requires
+ # an additional dependency on 'pytest'
+ import_modules = ['numcodecs']
+
version('master', branch='master', submodules=True)
version('0.7.3', sha256='022b12ad83eb623ec53f154859d49f6ec43b15c36052fa864eaf2d9ee786dd85')
version('0.6.4', sha256='ef4843d5db4d074e607e9b85156835c10d006afc10e175bda62ff5412fca6e4d')