diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-03-13 16:51:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 11:51:55 -0400 |
commit | a6eed4a7c7cbf067c061f982b9ae6c2675c990bc (patch) | |
tree | 0db53736cae0155146917748d0fa54e8de827f1a /var/spack/repos/builtin.mock/packages/hash-test1/package.py | |
parent | 406939f485b4f5c09b73f53c9d4ffc4019b8319a (diff) | |
download | spack-a6eed4a7c7cbf067c061f982b9ae6c2675c990bc.tar.gz spack-a6eed4a7c7cbf067c061f982b9ae6c2675c990bc.tar.bz2 spack-a6eed4a7c7cbf067c061f982b9ae6c2675c990bc.tar.xz spack-a6eed4a7c7cbf067c061f982b9ae6c2675c990bc.zip |
Remove "setup_environment" and "setup_dependent_environment" (#29463)
fixes #29446
The new setup_*_environment functions have been falling back
to calling the old functions and warn the user since #11115.
This commit removes the fallback behavior and any use of:
- setup_environment
- setup_dependent_environment
in the codebase
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/hash-test1/package.py')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/hash-test1/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin.mock/packages/hash-test1/package.py b/var/spack/repos/builtin.mock/packages/hash-test1/package.py index ec9a10091f..22ffae43d1 100644 --- a/var/spack/repos/builtin.mock/packages/hash-test1/package.py +++ b/var/spack/repos/builtin.mock/packages/hash-test1/package.py @@ -29,7 +29,7 @@ class HashTest1(Package): variant('variantx', default=False, description='Test variant X') variant('varianty', default=False, description='Test variant Y') - def setup_dependent_environment(self, spack_env, run_env, dependent_spec): + def setup_dependent_build_environment(self, env, dependent_spec): pass @when('@:1.4') |