From 2b080788e2178808fbb42674fbef8daae9aedebe Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 15 Jun 2026 15:33:57 +0200 Subject: [PATCH] python3Packages.matplotlib: relax setuptools-scm constraint Per their upstream comment this is fine for downstream distributors, as it only breaks editable installs for them. --- pkgs/development/python-modules/matplotlib/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index eed032805c76..20a63ca43387 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -95,6 +95,9 @@ buildPythonPackage (finalAttrs: { '' + '' patchShebangs tools + + substituteInPlace pyproject.toml \ + --replace-fail "setuptools_scm>=7,<10" "setuptools_scm" '' + lib.optionalString (stdenv.hostPlatform.isLinux && interactive) '' # fix paths to libraries in dlopen calls (headless detection)