python313Packages.linearmodels: relax setuptools-scm

This commit is contained in:
Fabian Affolter
2025-09-27 17:24:35 +02:00
parent 84a03aa1c2
commit 231c50bfc2
@@ -27,6 +27,13 @@ buildPythonPackage rec {
hash = "sha256-oWVBsFSKnv/8AHYP5sxO6+u5+hsOw/uQlOetse5ue88=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace-fail "setuptools_scm[toml]>=8.0.0,<9.0.0" "setuptools_scm[toml]"
substituteInPlace pyproject.toml \
--replace-fail "setuptools_scm[toml]>=8,<9" "setuptools_scm[toml]"
'';
build-system = [
setuptools
setuptools-scm