python3Packages.curio: fix flaky test due to slow moving time
This commit is contained in:
parent
dca9fa5ede
commit
62e729bf88
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, sphinx
|
, sphinx
|
||||||
|
@ -16,6 +17,15 @@ buildPythonPackage rec {
|
||||||
sha256 = "57edce81c837f3c2cf42fbb346dee26e537d1659e6605269fb13bd179e068744";
|
sha256 = "57edce81c837f3c2cf42fbb346dee26e537d1659e6605269fb13bd179e068744";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix the flaky test due to slow moving time on Apple Silicon chips.
|
||||||
|
# Remove when https://github.com/dabeaz/curio/pull/339 is in the next release.
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/dabeaz/curio/commit/132376724bbfaa0a52d3d63d0791aa4ac1eb6f5f.patch";
|
||||||
|
sha256 = "sha256-AxO0xRcR9l9/NKEJFwyZIoYcyZxpqOhpdNaeaYokVb4=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook sphinx ];
|
checkInputs = [ pytestCheckHook sphinx ];
|
||||||
|
|
Loading…
Reference in New Issue