Don't check checksums on spack-develop packages (#46076)

Fix regression introduced in spack 0.22.1 where Spack would ask about checksums
on spack-develop packages.
This commit is contained in:
Jordan Galby 2024-08-28 19:07:30 +02:00 committed by GitHub
parent 6a1dfbda97
commit 4c91e6245c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1467,6 +1467,7 @@ def do_fetch(self, mirror_only=False):
checksum
and (self.version not in self.versions)
and (not isinstance(self.version, GitVersion))
and ("dev_path" not in self.spec.variants)
):
tty.warn(
"There is no checksum on file to fetch %s safely."