We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0523ca commit 7badd69Copy full SHA for 7badd69
lib/spack/spack/package.py
@@ -1262,7 +1262,10 @@ def content_hash(self, content=None):
1262
raise spack.error.SpackError(err_msg)
1263
1264
hash_content = list()
1265
- source_id = fs.for_package_version(self, self.version).source_id()
+ try:
1266
+ source_id = fs.for_package_version(self, self.version).source_id()
1267
+ except fs.ExtrapolationError:
1268
+ source_id = None
1269
if not source_id:
1270
# TODO? in cases where a digest or source_id isn't available,
1271
# should this attempt to download the source and set one? This
0 commit comments