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-30 03:53:07 +02:00
parent a9b867c25b
commit b8e8ef2793
@@ -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"