Skip to content

remove std_cmake_args, std_pip_args, std_meson_args#50462

Merged
haampie merged 1 commit intodevelopfrom
hs/fix/remove-some-deprecated-globals
May 14, 2025
Merged

remove std_cmake_args, std_pip_args, std_meson_args#50462
haampie merged 1 commit intodevelopfrom
hs/fix/remove-some-deprecated-globals

Conversation

@haampie
Copy link
Copy Markdown
Member

@haampie haampie commented May 14, 2025

The "magic" globals std_cmake_args, std_pip_args and std_meson_args were deprecated in Spack 0.23 and removed in this commit, because they are no longer static and don't make sense to be defined for packages that do not depend on cmake, pip or meson.

Additionally, removing them ensures that build_environment.py no longer depends on builders, which will soon be moved out of spack into the spack_repo package.

The audit that scans whether these globals are used is not removed.

@spackbot-app spackbot-app bot added build-environment core PR affects Spack core functionality documentation Improvements or additions to documentation labels May 14, 2025
alalazo
alalazo previously approved these changes May 14, 2025
@alalazo alalazo self-assigned this May 14, 2025
@alalazo
Copy link
Copy Markdown
Member

alalazo commented May 14, 2025

It seems we need to remove a unit test more 🙂

@haampie haampie force-pushed the hs/fix/remove-some-deprecated-globals branch from e38895c to e4a4ff7 Compare May 14, 2025 07:46
@spackbot-app spackbot-app bot added the tests General test capability(ies) label May 14, 2025
@haampie haampie merged commit 00d65b7 into develop May 14, 2025
9 of 10 checks passed
@haampie haampie deleted the hs/fix/remove-some-deprecated-globals branch May 14, 2025 07:51
climbfuji pushed a commit to climbfuji/spack that referenced this pull request May 15, 2025
The "magic" globals `std_cmake_args`, `std_pip_args` and `std_meson_args` were deprecated in Spack 0.23 and removed in this commit, because they are no longer static and don't make sense to be defined for packages that do not depend on cmake, pip or meson.

Additionally, removing them ensures that `build_environment.py` no longer depends on builders, which will soon be moved out of `spack` into the `spack_repo` package.

The audit that scans whether these globals are used is not removed.
jezwilkinson pushed a commit to jezwilkinson/spack that referenced this pull request May 20, 2025
The "magic" globals `std_cmake_args`, `std_pip_args` and `std_meson_args` were deprecated in Spack 0.23 and removed in this commit, because they are no longer static and don't make sense to be defined for packages that do not depend on cmake, pip or meson.

Additionally, removing them ensures that `build_environment.py` no longer depends on builders, which will soon be moved out of `spack` into the `spack_repo` package.

The audit that scans whether these globals are used is not removed.
abhishek1297 pushed a commit to abhishek1297/spack-melissa that referenced this pull request May 22, 2025
The "magic" globals `std_cmake_args`, `std_pip_args` and `std_meson_args` were deprecated in Spack 0.23 and removed in this commit, because they are no longer static and don't make sense to be defined for packages that do not depend on cmake, pip or meson.

Additionally, removing them ensures that `build_environment.py` no longer depends on builders, which will soon be moved out of `spack` into the `spack_repo` package.

The audit that scans whether these globals are used is not removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-environment core PR affects Spack core functionality documentation Improvements or additions to documentation tests General test capability(ies)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants