Remove the warning that Spack prints at each spec (#30872)

Add instead a warning box in the documentation
This commit is contained in:
Massimiliano Culpo
2022-05-26 16:35:20 +02:00
committed by GitHub
parent 85e13260cf
commit 0636fdbfef
2 changed files with 7 additions and 3 deletions

View File

@@ -1600,9 +1600,6 @@ def extract_tarball(spec, download_result, allow_root=False, unsigned=False,
# Handle the older buildcache layout where the .spack file
# contains a spec json/yaml, maybe an .asc file (signature),
# and another tarball containing the actual install tree.
tty.warn("This binary package uses a deprecated layout, "
"and support for it will eventually be removed "
"from spack.")
tmpdir = tempfile.mkdtemp()
try:
tarfile_path = _extract_inner_tarball(