python3Packages.mat2: fix tests under python 3.14

This commit is contained in:
Harinn
2026-05-10 20:54:40 +07:00
parent 9f15025aa9
commit b4f3b3e04d
@@ -5,6 +5,7 @@
pytestCheckHook,
fetchFromGitHub,
fetchpatch,
fetchpatch2,
replaceVars,
exiftool,
ffmpeg,
@@ -55,6 +56,16 @@ buildPythonPackage rec {
url = "https://github.com/jvoisin/mat2/commit/00b4f110711754496932c59d5af3c0b2ed694484.patch";
hash = "sha256-5h/nM1dK8HmYtoIBVGOvUegMFBpGxcfpn5O6QrjLi9M=";
})
# Loosen test_climat2 assertions split across terminal-width boundaries.
(fetchpatch2 {
url = "https://github.com/jvoisin/mat2/commit/690e01d475117a4e0c85f26154b26ef332f036be.patch?full_index=1";
hash = "sha256-pDbY3E6BPp20orDOx7zxhCdAB+nAdpddTYjPYHStVLc=";
})
# Fix test_climat2 under Python 3.14+ argparse usage formatting.
(fetchpatch2 {
url = "https://github.com/jvoisin/mat2/commit/05f34a17695be65b1ad9782911f87e000de8fc8b.patch?full_index=1";
hash = "sha256-rIaXocT+LKM2De5iBPIPoBdFbdd17TJJPyFrPzNAJF0=";
})
];
postPatch = ''