python313Packages.mat2: fix broken test (#439328)

authored by

Sandro and committed by
GitHub
d11bc709 94040095

+12 -5
+2 -5
pkgs/by-name/ma/mat2/package.nix
··· 1 1 { 2 - # On Python 3.13, `tests/test_libmat2.py::TestCleaning::test_html` fails with 3 - # 4 - # ValueError: The closing tag title doesn't have a corresponding opening one in ./tests/data/clean.html. 5 - python312Packages, 2 + python3Packages, 6 3 }: 7 4 8 - with python312Packages; 5 + with python3Packages; 9 6 toPythonApplication mat2
+10
pkgs/development/python-modules/mat2/default.nix
··· 41 41 url = "https://0xacab.org/jvoisin/mat2/-/commit/473903b70e1b269a6110242a9c098a10c18554e2.patch"; 42 42 hash = "sha256-vxxjAFwiTDlcTT3ZlfhOG4rlzBJS+LhLoA++8y2hEok="; 43 43 }) 44 + (fetchpatch { 45 + name = "fix-test-on-python313.patch"; 46 + url = "https://0xacab.org/jvoisin/mat2/-/commit/f07344444d6d2f04a1f93e2954f4910b194bee0c.patch"; 47 + hash = "sha256-y756sKkjGO11A2lrRsXAwWgupOZ00u0cDypvkbsiNbY="; 48 + }) 49 + (fetchpatch { 50 + name = "fix-test-on-python312.patch"; 51 + url = "https://0xacab.org/jvoisin/mat2/-/commit/7a8ea224bc327b8ee929379d577c74968ea1c352.patch"; 52 + hash = "sha256-pPiYhoql5WhjhLKvd6y3OnvxORSbXIGCsZMc7UH3i1Q="; 53 + }) 44 54 # hardcode paths to some binaries 45 55 (replaceVars ./paths.patch { 46 56 exiftool = lib.getExe exiftool;