fix ci checks#5
Merged
Merged
Conversation
Fix Clippy failures across core tests and Python bindings so the workspace passes with `-D warnings`. - Replace mechanical lint patterns in tests such as bool comparisons, needless range loops, redundant closures, unnecessary clones/casts, and assign-op patterns - Avoid approximate PI constants in tests where arbitrary numeric literals are sufficient - Move Python standard gate tests after all items to satisfy item ordering lint - Allow high-arity Python visualization wrappers locally to preserve the public Python API - Format affected visualization layout code
Upgrade pyo3 and numpy to 0.29 to resolve RustSec advisories for pyo3 0.27. Update Cargo.lock with compatible dependency versions, including memmap2 0.9.11.
Explicitly link the native libraries required by the Rust staticlib when building the C example through CMake. - Use the C++ linker and link libc++ on macOS for Rust/libc++ symbols - Link ntdll and Rust std related system libraries on Windows MSVC - Keep Linux native library linkage scoped to non-Apple Unix platforms
Add explicit `from_py_object` or `skip_from_py_object` options to Clone-backed Python binding classes for PyO3 0.29. Types that are accepted as owned Python API arguments or extracted via `FromPyObject` keep the previous behavior with `from_py_object`. Types that are only returned, borrowed, or used as Python-side handles now use `skip_from_py_object` to avoid unnecessary implicit extraction and clone semantics. This resolves the PyO3 deprecation warnings promoted by `-D warnings` under clippy.
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.
No description provided.