Repository navigation
Release 2.1.6: accept pylibsparseir 0.11 and 0.12 - #93
Merged
Merged
Conversation
Widen the pylibsparseir range from <0.11.0 to <0.13.0 in pyproject.toml and .conda/meta.yaml. The C API of 0.11 and 0.12 only adds declarations (independent DLR, MiniPole, spir_pole_repr) relative to 0.10, so the existing ctypes calls are unchanged. No public API changed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
shinaoka
enabled auto-merge
October 7, 2026 23:10
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.
Widens the
pylibsparseirrange from>=0.8.3,<0.11.0to>=0.8.3,<0.13.0, in bothpyproject.tomland.conda/meta.yaml(check_libsparseir_version_consistency.pypasses). It also bumps the version to 2.1.6. No public API changed.Why the range can be widened
Between v0.10.0 and v0.12.0 the C header only adds declarations:
spir_dlr_new_independent, the MiniPole functions and thespir_pole_reprhandle. No declaration is removed or changed. The existingctypescall sites are therefore unaffected.The 0.12.0 backend changes only the default DLR accuracy of the independent DLR constructor (SpM-lab/sparse-ir-rs#324). This wrapper does not use that constructor.
Tests (
uv run --with pylibsparseir==V pytest tests/ -q)test_boundary.py::test_c_library_failure_surfaces_as_exception)The 0.8.3 failure does not come from this PR: 0.8.3 is already inside the current range, and nothing in the wrapper code changes here.
For the author
After merge: tag
v2.1.6on the merge commit. The tag startswheel.yml(PyPI) andconda.yml.🤖 Generated with Claude Code