python314Packages.dissect-evidence: disable broken test; python3Packages.dissect-target: disable under Python 3.14 (#478225)

This commit is contained in:
Gaétan Lepage
2026-01-12 13:24:21 +00:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -7,6 +7,7 @@
setuptools,
setuptools-scm,
pytestCheckHook,
pythonAtLeast,
}:
buildPythonPackage rec {
@@ -33,6 +34,11 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = lib.optionals (pythonAtLeast "3.14") [
# https://github.com/fox-it/dissect.evidence/issues/46
"test_ewf"
];
pythonImportsCheck = [ "dissect.evidence" ];
meta = {
@@ -34,6 +34,7 @@
paho-mqtt,
pycryptodome,
pytestCheckHook,
pythonAtLeast,
ruamel-yaml,
setuptools,
setuptools-scm,
@@ -55,6 +56,8 @@ buildPythonPackage rec {
fetchLFS = true;
};
disabled = pythonAtLeast "3.14";
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "flow.record~=" "flow.record>="