From 15fad33a2715884a3082ab277949b191571eeaa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 24 Aug 2025 14:17:00 -0700 Subject: [PATCH] mat2: use python312 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. --- pkgs/by-name/ma/mat2/package.nix | 9 +++++++++ pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 pkgs/by-name/ma/mat2/package.nix diff --git a/pkgs/by-name/ma/mat2/package.nix b/pkgs/by-name/ma/mat2/package.nix new file mode 100644 index 000000000000..ac4f59620916 --- /dev/null +++ b/pkgs/by-name/ma/mat2/package.nix @@ -0,0 +1,9 @@ +{ + # 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, +}: + +with python312Packages; +toPythonApplication mat2 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b6d8b2a70fa6..b549f107d024 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2228,8 +2228,6 @@ with pkgs; maliit-keyboard = libsForQt5.callPackage ../applications/misc/maliit-keyboard { }; - mat2 = with python3.pkgs; toPythonApplication mat2; - materialx = with python3Packages; toPythonApplication materialx; # while building documentation meson may want to run binaries for host