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 15:33:57 +02:00
commit 2b080788e2
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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)