bastibe / python-soundfile

SoundFile is an audio library based on libsndfile, CFFI, and NumPy
BSD 3-Clause "New" or "Revised" License
717 stars 111 forks source link

Build Failure for linux-aarch64 Due to Soundfile Platform Tag Support #445

Open psteyer opened 1 month ago

psteyer commented 1 month ago

Hi!

I encountered an issue while building the package for linux-aarch64. The build process failed with the following error message:

import: 'soundfile'
import: 'soundfile'
+ pip check
soundfile 0.12.1 is not supported on this platform
WARNING: Tests failed for pysoundfile-0.12.1-py39hd43f75c_0.tar.bz2 - moving package to /opt/conda/conda-bld/broken
TESTS FAILED: pysoundfile-0.12.1-py39hd43f75c_0.tar.bz2
bash-4.2# pip check pysound
No broken requirements found.
bash-4.2# pip check soundfile
No broken requirements found.

Possible Cause:

I believe this issue is related to the platform tags defined in the setup.py file. Specifically, lines 65-89 may be causing pip check to consider the package unsupported on this architecture.

Related Information:

Additionally, this might be tied to a more stringent check introduced in recent versions of pip, as discussed in this issue.

Could you please investigate if the platform tags can be adjusted to ensure compatibility with linux-aarch64? This change would help facilitate building and testing on this architecture.

Thank you!

bastibe commented 1 month ago

If you could share your suggestions in a pull request, I'd be most grateful. We can run and debug things from there together.