Repository navigation
Bump PyO3/numpy to 0.29 and release 0.4.6 - #66
Merged
Merged
Conversation
Update sagepy-connector to pyo3 0.29 and numpy 0.29 (from 0.27). The 0.29 release makes the automatic FromPyObject derive for Clone-able #[pyclass] types opt-in, so annotate the 39 affected classes with #[pyclass(from_py_object)] to preserve existing extraction behavior. Bump sagepy-connector and sagepy to 0.4.6.
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.
Summary
Updates
sagepy-connectorfrom PyO3/numpy 0.27 → 0.29 and cuts a0.4.6release.Changes
pyo3andnumpy0.27→0.29(kept in lockstep — numpy 0.29 requires pyo3 0.29).FromPyObjectderive forClone-able#[pyclass]types opt-in (it hard-breaks at 0.30). Annotated the 39 affected classes with#[pyclass(from_py_object)]to preserve existing argument-extraction behavior. No other code changes were needed — the connector was already on the modernBound/IntoPyObjectAPI.sagepy-connectorandsagepy0.4.5→0.4.6(including thesagepy-connectordependency pin inpyproject.toml).qfdrustandunimoddon't use PyO3 and were untouched.Verification
cargo build— zero errors, zero warningsmaturin develop— extension builds and loads under pyo3 0.29pytest— 104/104 tests pass