Skip to content

Commit

Permalink
add std_pip_args global to the audit list (spack#47320)
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie authored Oct 30, 2024
1 parent 8bc0b2e commit cbf4d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spack/spack/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ def _uses_deprecated_globals(pkgs, error_cls):

file = spack.repo.PATH.filename_for_package_name(pkg_name)
tree = ast.parse(open(file).read())
visitor = DeprecatedMagicGlobals(("std_cmake_args", "std_meson_args"))
visitor = DeprecatedMagicGlobals(("std_cmake_args", "std_meson_args", "std_pip_args"))
visitor.visit(tree)
if visitor.references_to_globals:
errors.append(
Expand Down

0 comments on commit cbf4d39

Please sign in to comment.