CI: disable vermin check for deprecated hash (#19612)

Spack has a fallback for hash checking with m55sums that may not be
supported in earlier versions of Python 3.x. The comments in the
Spack code acknowledge that this is best effort and may fail, but
recent vermin checks (running as part of our CI) reject this. This
disables vermin checks for that fallback.
This commit is contained in:
Peter Scheibel 2020-10-29 22:23:36 -07:00 committed by GitHub
parent 52379d87fe
commit 3a863020f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,8 @@ def __call__(self, disable_alert=False):
" supported in future Spack releases."
.format(self.hash_alg))
if self.disable_security_check:
return hashlib.new(self.hash_alg, usedforsecurity=False)
return hashlib.new( # novermin
self.hash_alg, usedforsecurity=False)
else:
return hashlib.new(self.hash_alg)