Skip to content

Commit 88062b9

Browse files
committed
Manually install aifc and sunau libraries from python-deadlib github repo to prevent import errors on Python 3.13
Workaround for beetbox/audioread#144
1 parent cc5533d commit 88062b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ RUN pip install pipenv
2424
COPY Pipfile* ./
2525
RUN pipenv install
2626

27+
# Workaround for https://github.com/beetbox/audioread/issues/144 to enable running on python 3.13
28+
RUN pipenv install -e "git+https://github.com/youknowone/python-deadlib.git#egg=standard-aifc&subdirectory=aifc"
29+
RUN pipenv install -e "git+https://github.com/youknowone/python-deadlib.git#egg=standard-sunau&subdirectory=sunau"
30+
2731
COPY test_tracks ./test_tracks
2832
COPY src/* ./
2933

0 commit comments

Comments
 (0)