python3Packages.marisa-trie: fix tests with marisa 0.3.1

This commit is contained in:
Robert Schütz
2026-05-21 08:53:57 -07:00
parent e3721159a3
commit 5792087ba6
@@ -28,6 +28,12 @@ buildPythonPackage rec {
})
];
postPatch = ''
# https://github.com/pytries/marisa-trie/issues/132
substituteInPlace tests/test_binary_trie.py tests/test_trie.py \
--replace-fail MARISA_FORMAT_ERROR std::runtime_error
'';
build-system = [
cython
setuptools