Conversation
luhenry
added a commit
that referenced
this pull request
Sep 8, 2026
…y 2.5 hmmlearn 0.3.3's own hmm.py/utils.py assign a.shape in place, which numpy 2.5 deprecates; this project's pytest config promotes that DeprecationWarning to a hard error, failing nearly every test. Reproduces with numpy>=2.5 on any architecture, not just riscv64.
_hmmc has no Py_mod_gil slot, so cp314t re-enables the GIL at import and warns; hmmlearn's own filterwarnings=["error", ...] turns that into a collection error. -X gil=1 rather than PYTHON_GIL=1, since -I (already in the test command) ignores PYTHON* env vars.
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.
hmmlearn0.3.3Builds the
hmmlearn._hmmcpybind11 C++ extension (Hidden Markov Models with a scikit-learn-like API). Upstream publishes no riscv64 wheel.Mirrors upstream's
build.yml.Differs from upstream
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_HMMLEARN- the tag checkout has no history forsetuptools_scmto derive a version from.Matrix: cp312/cp313/cp314/cp314t only - hard runtime dependency
scikit-learn>=0.16only has riscv64 wheels on pypi.riseproject.dev for those interpreters.Testing
License: OK
Built on cp312 equivalent (macOS/cp39, local); 295 passed, 21 xfailed, 5 xpassed.