python3Packages.cryptography: disable problematic test

Depending on the overcommit setting of the host system this test tries
to allocate up to 1 TiB of virtual memory.
This commit is contained in:
Martin Weinelt 2026-05-12 13:33:47 +02:00
commit b8e8ef2793

View file

@ -71,6 +71,12 @@ buildPythonPackage rec {
pytestFlags = [ "--disable-pytest-warnings" ];
disabledTests = [
# Tries to allocate 1 TiB with vm.overcommit_memory=1
# https://github.com/pyca/cryptography/pull/14782
"test_argon2_malloc_failure"
];
disabledTestPaths = [
# save compute time by not running benchmarks
"tests/bench"