Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

soundfile 0.12.1 contains out of date libsndfile library on x86_64 macs #448

Open
cjpearce opened this issue Nov 19, 2024 · 1 comment
Open

Comments

@cjpearce
Copy link

Hi,

The latest released version of soundfile contains different versions of libsndfile on x86_84 and arm64.

I've been able to reproduce #349 on the most recent version of soundfile available through pip. The issues on github lead me to believe that the bug was meant to be fixed, so I investigated further.

It appears that the x86_64 wheels were not shipped with the fixed version of libsndfile (1.2.0), and were instead shipped with libsndfile 1.1.0

I've downloaded the wheels off pypy to double check this. In the arm wheel we have the correct version of libsndfile:

strings soundfile-0.12.1-py2.py3-none-macosx_11_0_arm64/_soundfile_data/libsndfile_arm64.dylib | grep libsndfile-

libsndfile-1.2.0
MATLAB 5.0 MAT-file, written by libsndfile-1.2.0, 
libsndfile-1.2.0   

While the x86_64 wheel contains the previous version:

strings soundfile-0.12.1-py2.py3-none-macosx_10_9_x86_64/_soundfile_data/libsndfile_x86_64.dylib | grep libsndfile-
libsndfile-1.1.0
MATLAB 5.0 MAT-file, written by libsndfile-1.1.0, 
libsndfile-1.1.0

I'm new to python packaging so sure there was probably a faster way of checking this, but hopefully someone with more knowledge on how soundfile is packaged will be able to track down the cause.

@bastibe
Copy link
Owner

bastibe commented Nov 22, 2024

Thank you for the bug report. No idea how that one slipped by, as I'm building these automatically on the CI. I'll have to investigate how that happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants