Merge pull request #211184 from ivan/no-parsimonious-benchmarks

python3Packages.parsimonious: disable benchmark tests that may fail
This commit is contained in:
Fabian Affolter 2023-03-13 11:33:32 +01:00 committed by GitHub
commit 03d53acaf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,14 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = [
# test_benchmarks.py tests are actually benchmarks and may fail due to
# something being unexpectedly slow on a heavily loaded build machine
"test_lists_vs_dicts"
"test_call_vs_inline"
"test_startswith_vs_regex"
];
postPatch = ''
substituteInPlace setup.py \
--replace "regex>=2022.3.15" "regex"