From 88062b90064ac6821a4ddb83aaffef4062619df5 Mon Sep 17 00:00:00 2001 From: Luke Blaney Date: Sat, 26 Oct 2024 00:38:51 +0100 Subject: [PATCH] Manually install aifc and sunau libraries from python-deadlib github repo to prevent import errors on Python 3.13 Workaround for https://github.com/beetbox/audioread/issues/144 --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 829848a..83604a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,10 @@ RUN pip install pipenv COPY Pipfile* ./ RUN pipenv install +# Workaround for https://github.com/beetbox/audioread/issues/144 to enable running on python 3.13 +RUN pipenv install -e "git+https://github.com/youknowone/python-deadlib.git#egg=standard-aifc&subdirectory=aifc" +RUN pipenv install -e "git+https://github.com/youknowone/python-deadlib.git#egg=standard-sunau&subdirectory=sunau" + COPY test_tracks ./test_tracks COPY src/* ./