Skip to content

Conversation

bastibe
Copy link
Owner

@bastibe bastibe commented Feb 16, 2022

A new release for soundfile.

Thank you, tennies, Hannes Helmholz, Christoph Boeddeker, Matt
Vollrath, Matthias Geier, Jacek Konieczny, Boris Verkhovskiy,
Jonas Haag, Eduardo Moguillansky, Panos Laganakos, Jarvy Jarvison,
Domingo Ramirez, Tim Chagnon, Kyle Benesch

  • Adds binary wheels for macOS M1
  • Improves compatibility with macOS, specifically for M1 machines
  • Fixes file descriptor open for binary wheels on Windows and Python 3.5+
  • Updates libsndfile to v1.0.31
  • Adds get_strings method for retrieving all metadata at once
  • Improves documentation, error messages and tests
  • Displays length of very short files in samples
  • Supports the file system path protocol (pathlib et al)

_soundfile_data now contains up-to-date binaries for Windows 32/64 and macOS intel/arm.
build scripts have been amended to use the new binaries

changelog is not yet updated
windows binaries use different C runtime than python, do not support file descriptors
replaces @pytest.yield_fixture with @pytest.fixture, which is equivalent.
- no longer leaks soundfile.egg-info directory, or environment
  variables.
- builds a clean sdist without _soundfile_data.
@bastibe bastibe marked this pull request as ready for review February 16, 2022 09:34
the provided Windows libsndfile now uses Visual C++ 14.x, which is
fully compatible with Python 3.5+. Older versions of Python will not
be able to open file descriptors.
msuch and others added 4 commits February 20, 2022 18:33
Fix NameError for _machine reference when loading 'sndfile' library on darwin
release target is now 10.9, for 64bit intel and arm. Older versions of
macOS may or may not work. 32bit certainly does not work with the
provided binaries.
bastibe and others added 8 commits March 2, 2022 09:50
hopefully correctly, this time. I really wish there was any sort of
documentation on this stuff.
No longer assumes *.MP3 files to have the *.MPEG file extension
M1 binaries should correctly support MP3 this time (thank you @faroit!)
@bastibe bastibe merged commit 7deb23a into master Sep 27, 2022
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

Successfully merging this pull request may close these issues.

3 participants