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

View File

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