From 449e8b9d11ec1723a21f9db4802f9952fff83327 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 20 Jan 2025 02:45:57 +0100 Subject: [PATCH] python313Packages.matptloblib: relax meson-python and bump the minimal version to 3.10. --- pkgs/development/python-modules/matplotlib/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index b7c35d59a93c..06078a2b9b4f 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -93,7 +93,7 @@ buildPythonPackage rec { pname = "matplotlib"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; @@ -110,6 +110,9 @@ buildPythonPackage rec { # script. postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "meson-python>=0.13.1,<0.17.0" meson-python + patchShebangs tools '' + lib.optionalString (stdenv.hostPlatform.isLinux && interactive) ''