mirror of https://github.com/pyodide/pyodide.git
Report wrong checksum when there is a checksum mismatch in a package build (#2943)
This commit is contained in:
parent
14708295cd
commit
4c8d99451b
|
@ -209,7 +209,7 @@ def check_checksum(archive: Path, source_metadata: dict[str, Any]) -> None:
|
|||
if len(chunk) < CHUNK_SIZE:
|
||||
break
|
||||
if h.hexdigest() != checksum:
|
||||
raise ValueError(f"Invalid {checksum_algorithm} checksum")
|
||||
raise ValueError(f"Invalid {checksum_algorithm} checksum: {h.hexdigest()}")
|
||||
|
||||
|
||||
def trim_archive_extension(tarballname: str) -> str:
|
||||
|
|
Loading…
Reference in New Issue