python3Packages.clnrest: use --replace-fail

This commit is contained in:
Erik Arvstedt 2024-12-13 23:21:28 +01:00
parent dc8f969eea
commit b78116b0da
No known key found for this signature in database
GPG key ID: 33312B944DD97846

View file

@ -26,8 +26,8 @@ let
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'gevent = "^23.9.0.post1"' 'gevent = "24.2.1"' \
--replace 'flask = "^2.3.3"' 'flask = "3.0.3"'
--replace-fail 'gevent = "^23.9.0.post1"' 'gevent = "24.2.1"' \
--replace-fail 'flask = "^2.3.3"' 'flask = "3.0.3"'
# Add extra required src files that are missing in pyproject.toml
sed -i '/authors/a include = [ { path = "utilities", format = ["sdist", "wheel"] } ]' pyproject.toml