soundfile: Add version 0.14.0 - #2049
Draft
github-actions[bot] wants to merge 5 commits into
Draft
github-actions[bot] wants to merge 5 commits into
github-actions[bot] wants to merge 5 commits into
Conversation
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Migrated from the GitLab wheel_builder: no riscv64 libsndfile exists, so it is built from source against the image's codecs and bundled, with their sources published alongside. Only the manylinux tag patch is carried; 0.14.0 ships the licensing one itself.
Contributor
Author
|
The manylinux_2_39_riscv64 image's cmake (3.31.8) enforces CMake 4's removal of policy compatibility below 3.5. libsndfile 1.2.2's CMakeLists.txt declares a minimum below that floor, so the configure step failed with "Compatibility with CMake < 3.5 has been removed from CMake." (CLAUDE.md gotcha 207). Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to the configure line to unblock it; it is a no-op for anything already declaring 3.5+. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011RwtHNpuiuiCk4MstTLu8m
The build uses `python -m build --wheel --no-isolation`, which skips fetching build-system requirements and relies entirely on packages already installed. soundfile ships only a setup.py (no pyproject.toml), so the build backend is setuptools' legacy build_meta, and its custom bdist_wheel command imports the `wheel` package too. Neither was explicitly installed, so the manylinux image's cp312 env (which does not preinstall setuptools) failed with: "BackendUnavailable: Cannot import 'setuptools.build_meta'". Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011RwtHNpuiuiCk4MstTLu8m
_soundfile_data is a git submodule (bastibe/libsndfile-binaries) that
provides _soundfile_data/__init__.py; without it, `import
_soundfile_data` succeeds as a namespace package whose __file__ is
None, so soundfile.py can never locate the bundled libsndfile and
falls through to a failing ctypes.util.find_library / dlopen('libsndfile.so'),
crashing pytest collection. Upstream's own CI (.github/workflows/python-package.yml)
checks out with submodules: true for the same reason.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RwtHNpuiuiCk4MstTLu8m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automatically generated by the nightly
check_versions.pyrun.soundfile v0.13.1 -> v0.14.0
Every
- version:entry added todocs/packages/soundfile.yamlis built by this PR's ownbuild-soundfile.ymlrun; merging publishes the wheels.