From 59a54905eabc2c601217621fab457a13b32b29ce Mon Sep 17 00:00:00 2001 From: Andrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com> Date: Tue, 2 Feb 2021 12:21:58 -0500 Subject: [PATCH] py-dictdiffer: fix offline dependencies (#21345) * py-dictdiffer: fix offline dependencies * Update var/spack/repos/builtin/packages/py-dictdiffer/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/py-dictdiffer/package.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-dictdiffer/package.py b/var/spack/repos/builtin/packages/py-dictdiffer/package.py index 075cfbb2a0..3d7fd248f3 100644 --- a/var/spack/repos/builtin/packages/py-dictdiffer/package.py +++ b/var/spack/repos/builtin/packages/py-dictdiffer/package.py @@ -14,6 +14,7 @@ class PyDictdiffer(PythonPackage): version('0.8.1', sha256='1adec0d67cdf6166bda96ae2934ddb5e54433998ceab63c984574d187cc563d2') - depends_on('python@3.4:', type=('build', 'run')) + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) depends_on('py-setuptools', type=('build', 'run')) - depends_on('py-setuptools-scm@3.1.0:', type=('build')) + depends_on('py-setuptools-scm@3.1.0:', type='build') + depends_on('py-pytest-runner@2.7:', type='build')