python313Packages.schema-salad: update postPatch

This commit is contained in:
Fabian Affolter
2025-08-18 20:09:37 +02:00
parent 383b7f3615
commit e39d4e6c16
@@ -36,8 +36,11 @@ buildPythonPackage rec {
pythonRelaxDeps = [ "mistune" ];
postPatch = ''
substituteInPlace setup.py \
--replace-fail 'pytest_runner + ["setuptools_scm>=8.0.4,<9"]' '["setuptools_scm"]'
substituteInPlace pyproject.toml \
--replace-fail "mypy[mypyc]==1.15.0" "mypy"
--replace-fail '"setuptools_scm[toml]>=8.0.4,<9"' '"setuptools_scm[toml]"' \
--replace-fail "mypy[mypyc]==1.17.0" "mypy"
sed -i "/black>=/d" pyproject.toml
'';