music-assistant: remove patches for python 3.13 compatibility

This commit is contained in:
Sandro Jäckel
2026-07-08 12:51:18 +02:00
parent f0f5b87e9c
commit 8d7e677516
@@ -88,11 +88,6 @@ pythonPackages.buildPythonApplication (finalAttrs: {
];
postPatch = ''
# Undo Python 3.14 only syntax
substituteInPlace music_assistant/controllers/streams/controller.py \
--replace-fail "except BrokenPipeError, ConnectionResetError, ConnectionError:" "except (BrokenPipeError, ConnectionResetError, ConnectionError):" \
--replace-fail "except BrokenPipeError, ConnectionResetError:" "except (BrokenPipeError, ConnectionResetError):"
substituteInPlace pyproject.toml \
--replace-fail "0.0.0" "${finalAttrs.version}" \
--replace-fail "==" ">="