Skip to content

Commit

Permalink
Manually install aifc and sunau libraries from python-deadlib github …
Browse files Browse the repository at this point in the history
…repo to prevent import errors on Python 3.13

Workaround for beetbox/audioread#144
  • Loading branch information
lucas42 committed Oct 25, 2024
1 parent cc5533d commit 88062b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/* ./

Expand Down

0 comments on commit 88062b9

Please sign in to comment.