From 2c11d5f2a8185f74161d4d8cc5da945a3883ee25 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Sun, 13 Mar 2022 03:42:21 +0100 Subject: python: fix build after change in Spec.dependencies signature (#29480) fixes #29478 As was written Python was looking for dependencies named "link" rather than dependencies of type "link". --- var/spack/repos/builtin/packages/python/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 222b3f97a9..b7e0a27703 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -443,7 +443,7 @@ class Python(AutotoolsPackage): # setup.py needs to be able to read the CPPFLAGS and LDFLAGS # as it scans for the library and headers to build - link_deps = spec.dependencies('link') + link_deps = spec.dependencies(deptype='link') if link_deps: # Header files are often included assuming they reside in a -- cgit v1.2.3-70-g09d2