Merge pull request #282737 from wegank/safe-pysha3-fix
python312Packages.safe-pysha3: fix build
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -16,6 +15,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-5CkUax7dGYssqTSiBGplZWxdMbDsiUu9YFUSf03q/xc=";
|
||||
};
|
||||
|
||||
# AttributeError: 'Keccak_224Tests' object has no attribute 'failIf'.
|
||||
postPatch = ''
|
||||
substituteInPlace tests.py \
|
||||
--replace "failIf" "assertFalse"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sha3"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user