summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-03-13 03:42:21 +0100
committerGitHub <noreply@github.com>2022-03-12 19:42:21 -0700
commit2c11d5f2a8185f74161d4d8cc5da945a3883ee25 (patch)
treec5d8ef3bf2f2fee2013fa0a7679f20ffde03d2bd /var
parent8adc6b7e8e6c861716e108b37e6098f347c8c08d (diff)
downloadspack-2c11d5f2a8185f74161d4d8cc5da945a3883ee25.tar.gz
spack-2c11d5f2a8185f74161d4d8cc5da945a3883ee25.tar.bz2
spack-2c11d5f2a8185f74161d4d8cc5da945a3883ee25.tar.xz
spack-2c11d5f2a8185f74161d4d8cc5da945a3883ee25.zip
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".
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/python/package.py2
1 files changed, 1 insertions, 1 deletions
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