python313Packages.mat2: fix broken test (#439328)
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
{
|
||||
# On Python 3.13, `tests/test_libmat2.py::TestCleaning::test_html` fails with
|
||||
#
|
||||
# ValueError: The closing tag title doesn't have a corresponding opening one in ./tests/data/clean.html.
|
||||
python312Packages,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
with python312Packages;
|
||||
with python3Packages;
|
||||
toPythonApplication mat2
|
||||
|
||||
@@ -41,6 +41,16 @@ buildPythonPackage rec {
|
||||
url = "https://0xacab.org/jvoisin/mat2/-/commit/473903b70e1b269a6110242a9c098a10c18554e2.patch";
|
||||
hash = "sha256-vxxjAFwiTDlcTT3ZlfhOG4rlzBJS+LhLoA++8y2hEok=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-test-on-python313.patch";
|
||||
url = "https://0xacab.org/jvoisin/mat2/-/commit/f07344444d6d2f04a1f93e2954f4910b194bee0c.patch";
|
||||
hash = "sha256-y756sKkjGO11A2lrRsXAwWgupOZ00u0cDypvkbsiNbY=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-test-on-python312.patch";
|
||||
url = "https://0xacab.org/jvoisin/mat2/-/commit/7a8ea224bc327b8ee929379d577c74968ea1c352.patch";
|
||||
hash = "sha256-pPiYhoql5WhjhLKvd6y3OnvxORSbXIGCsZMc7UH3i1Q=";
|
||||
})
|
||||
# hardcode paths to some binaries
|
||||
(replaceVars ./paths.patch {
|
||||
exiftool = lib.getExe exiftool;
|
||||
|
||||
Reference in New Issue
Block a user