summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2021-05-17 19:47:20 +0200
committerGitHub <noreply@github.com>2021-05-17 12:47:20 -0500
commit58751ac2e84fb23718d67d4867354917eb4c562d (patch)
treeb2a4c113ec4b51659e6ba1ecf5b5fff7bf440fb8
parent401f61c0940f2d109d6089e83f5e3ad7dd3f16a6 (diff)
downloadspack-58751ac2e84fb23718d67d4867354917eb4c562d.tar.gz
spack-58751ac2e84fb23718d67d4867354917eb4c562d.tar.bz2
spack-58751ac2e84fb23718d67d4867354917eb4c562d.tar.xz
spack-58751ac2e84fb23718d67d4867354917eb4c562d.zip
py-jsonpickle: restrict importlib dependency to appropriate python (#23699)
Change-Id: I538d72eb97d3cc91e2e6854b40c5b91b39df6f62
-rw-r--r--var/spack/repos/builtin/packages/py-jsonpickle/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-jsonpickle/package.py b/var/spack/repos/builtin/packages/py-jsonpickle/package.py
index d86ec9f5d5..858743b658 100644
--- a/var/spack/repos/builtin/packages/py-jsonpickle/package.py
+++ b/var/spack/repos/builtin/packages/py-jsonpickle/package.py
@@ -15,4 +15,4 @@ class PyJsonpickle(PythonPackage):
depends_on('python@2.7:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-setuptools-scm@3.4.1:+toml', type='build')
- depends_on('py-importlib-metadata', type=('build', 'run'))
+ depends_on("py-importlib-metadata", when="^python@:3.7.99", type=('build', 'run'))