summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJordan Galby <67924449+Jordan474@users.noreply.github.com>2024-08-28 19:07:30 +0200
committerGitHub <noreply@github.com>2024-08-28 17:07:30 +0000
commit4c91e6245c523c7feb5d1b7a3fdbde69b51fff35 (patch)
treea7eebe9f24a8c6f9462c372fd0bd7f53c5ec8c1d /lib
parent6a1dfbda9723c81b3454a172d861d9c2cab04b7b (diff)
downloadspack-4c91e6245c523c7feb5d1b7a3fdbde69b51fff35.tar.gz
spack-4c91e6245c523c7feb5d1b7a3fdbde69b51fff35.tar.bz2
spack-4c91e6245c523c7feb5d1b7a3fdbde69b51fff35.tar.xz
spack-4c91e6245c523c7feb5d1b7a3fdbde69b51fff35.zip
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/package_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/package_base.py b/lib/spack/spack/package_base.py
index 137c7f0645..681b079706 100644
--- a/lib/spack/spack/package_base.py
+++ b/lib/spack/spack/package_base.py
@@ -1467,6 +1467,7 @@ class PackageBase(WindowsRPath, PackageViewMixin, RedistributionMixin, metaclass
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."