Deprecate Spec.concretize/Spec.concretized in favor of spack.concretize.concretize_one (#47971)

The methods spack.spec.Spec.concretize and spack.spec.Spec.concretized
are deprecated in favor of spack.concretize.concretize_one.

This will resolve a circular dependency between the spack.spec and
spack.concretize in the next Spack release.
This commit is contained in:
Greg Becker
2025-01-15 01:13:19 -08:00
committed by GitHub
parent f3522cba74
commit e7c591a8b8
90 changed files with 1038 additions and 1034 deletions

View File

@@ -543,10 +543,10 @@ With either interpreter you can run a single command:
.. code-block:: console
$ spack python -c 'from spack.spec import Spec; Spec("python").concretized()'
$ spack python -c 'from spack.concretize import concretize_one; concretize_one("python")'
...
$ spack python -i ipython -c 'from spack.spec import Spec; Spec("python").concretized()'
$ spack python -i ipython -c 'from spack.concretize import concretize_one; concretize_one("python")'
Out[1]: ...
or a file: