python3Packages.matplotlib: relax setuptools-scm constraint

Per their upstream comment this is fine for downstream distributors, as
it only breaks editable installs for them.
This commit is contained in:
Martin Weinelt
2026-06-15 16:13:54 +02:00
parent 28e20e77fc
commit 2b080788e2
@@ -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)