old concretizer: update deprecation warning (#30227)

This commit is contained in:
Greg Becker
2022-04-26 14:17:17 -07:00
committed by GitHub
parent c02e83092e
commit f99614be02

View File

@@ -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: