old concretizer: update deprecation warning (#30227)
This commit is contained in:
parent
c02e83092e
commit
f99614be02
@ -2687,11 +2687,11 @@ def _old_concretize(self, tests=False, deprecation_warning=True):
|
|||||||
import spack.concretize
|
import spack.concretize
|
||||||
|
|
||||||
# Add a warning message to inform users that the original concretizer
|
# Add a warning message to inform users that the original concretizer
|
||||||
# will be removed in v0.18.0
|
# will be removed
|
||||||
if deprecation_warning:
|
if deprecation_warning:
|
||||||
msg = ('the original concretizer is currently being used.\n\tUpgrade to '
|
msg = ('the original concretizer is currently being used.\n\tUpgrade to '
|
||||||
'"clingo" at your earliest convenience. The original concretizer '
|
'"clingo" at your earliest convenience. The original concretizer '
|
||||||
'will be removed from Spack starting at v0.18.0')
|
'will be removed from Spack in a future version.')
|
||||||
warnings.warn(msg)
|
warnings.warn(msg)
|
||||||
|
|
||||||
if not self.name:
|
if not self.name:
|
||||||
|
Loading…
Reference in New Issue
Block a user