summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-11-02 22:24:59 +0100
committerGitHub <noreply@github.com>2022-11-02 14:24:59 -0700
commitb652fe72d7a55150813c6ffbb68e9c724737fc0a (patch)
tree5ddfcc275079a9049ca790a855736ff17fe63fe3 /lib
parent4d5f2e3a37f3b871c0a6c17ac60274a2ce5529f3 (diff)
downloadspack-b652fe72d7a55150813c6ffbb68e9c724737fc0a.tar.gz
spack-b652fe72d7a55150813c6ffbb68e9c724737fc0a.tar.bz2
spack-b652fe72d7a55150813c6ffbb68e9c724737fc0a.tar.xz
spack-b652fe72d7a55150813c6ffbb68e9c724737fc0a.zip
remove `deptype_query` remnants and fix incorrect `deptypes` kwarg (#33670)
* remove deptype_query remnants * deptypes -> deptype These arguments haven't existed since 2017, but `traverse` now fails on unknown **kwargs, so they have finally popped up.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/lua.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/lua.py b/lib/spack/spack/build_systems/lua.py
index f1c3e43704..722e9153f9 100644
--- a/lib/spack/spack/build_systems/lua.py
+++ b/lib/spack/spack/build_systems/lua.py
@@ -76,7 +76,7 @@ class LuaBuilder(spack.builder.Builder):
def generate_luarocks_config(self, pkg, spec, prefix):
spec = self.pkg.spec
table_entries = []
- for d in spec.traverse(deptypes=("build", "run"), deptype_query="run"):
+ for d in spec.traverse(deptype=("build", "run")):
if d.package.extends(self.pkg.extendee_spec):
table_entries.append(self._generate_tree_line(d.name, d.prefix))