py-jsonpickle: restrict importlib dependency to appropriate python (#23699)

Change-Id: I538d72eb97d3cc91e2e6854b40c5b91b39df6f62
This commit is contained in:
Andreas Baumbach 2021-05-17 19:47:20 +02:00 committed by GitHub
parent 401f61c094
commit 58751ac2e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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