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:
@@ -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."
|
||||||
|
Reference in New Issue
Block a user