From c860d743f9afc23bf55f7923317399d68dd25491 Mon Sep 17 00:00:00 2001 From: "Daryl W. Grunau" Date: Fri, 26 Apr 2019 05:28:35 -0600 Subject: [PATCH] py-dateutil: add missing dependency on py-setuptools-scm (#11282) Confirmed that versions before 2.7.5 do not require this dependency. --- var/spack/repos/builtin/packages/py-dateutil/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/var/spack/repos/builtin/packages/py-dateutil/package.py b/var/spack/repos/builtin/packages/py-dateutil/package.py index 74ca695fd5..52ec1df92e 100644 --- a/var/spack/repos/builtin/packages/py-dateutil/package.py +++ b/var/spack/repos/builtin/packages/py-dateutil/package.py @@ -18,4 +18,5 @@ class PyDateutil(PythonPackage): version('2.2', 'c1f654d0ff7e33999380a8ba9783fd5c') depends_on('py-setuptools', type='build') + depends_on('py-setuptools-scm', type='build', when='@2.7.5:') depends_on('py-six', type=('build', 'run'))