Conversation
luhenry
added a commit
that referenced
this pull request
Sep 11, 2026
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.
pyamg5.3.0Compiles pyamg's
amg_corepybind11 C++ extensions (algebraic multigrid solver kernels) into per-interpreter wheels. Upstream publishes no riscv64 wheel.Mirrors upstream's
wheels.yml.Differs from upstream
-I- the checked-outpyamg/source tree otherwise shadows the installed wheel, andamg_core/__init__.pyhas no pure-Python fallback so the shadowed import fails collection outright.Testing
pytest, run via--pyargs pyamgagainst the installed wheel. Reproduces on any platform (confirmed on macOS/arm64 too), not riscv64-specific.License: OK
Patches
0001-fix-util-utils-duplicate-zeros-in-filter_operator.patch- Backport [upstream9f8299b]. Without it,filter_operatorreturns wrong values under scipy>=1.17 (a stalehas_canonical_formatflag skips deduplication of an explicit-zero entry).0002-fix-util-linalg-condest-non-symmetric-matvec-overri.patch- To upstream (can't file against pyamg/pyamg from this project). Without it,condest(symmetric=False)silently ignores its matvec override under scipy>=1.17, returning roughly sqrt of the true condition number.Built on cp312; 269 passed, 1 skipped.