Skip to content

Restore CI compatibility gates - #59

Merged
rsasaki0109 merged 1 commit into
mainfrom
agent/ci-green
Jul 16, 2026
Merged

Restore CI compatibility gates#59
rsasaki0109 merged 1 commit into
mainfrom
agent/ci-green

Conversation

@rsasaki0109

Copy link
Copy Markdown
Owner

What changed

  • apply workspace-wide rustfmt output required by the Rustfmt gate
  • resolve current stable Clippy errors in camera, scene, distribute, Arrow, and AI tests
  • add explicit legacy DLPack export/import ownership support for NumPy 1.x while retaining versioned DLPack for NumPy 2.x
  • cover the legacy zero-copy tensor path and accept both protocol versions in Python tests

Root cause

Main accumulated formatting drift and new stable-Clippy lints. Python 3.8 resolves to NumPy 1.x, whose DLPack protocol uses the legacy dltensor capsule and does not accept max_version; the binding previously emitted and required only dltensor_versioned.

Validation

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo clippy --workspace --all-features --lib -- -D warnings
  • RUSTFLAGS="-D warnings" cargo test --workspace --all-features --no-run
  • RUSTFLAGS="-D warnings" cargo bench --workspace --no-run
  • cargo test -p spatialrust-tensor --features dlpack
  • Python binding tests with NumPy 1.26.4: 81 passed, 1 skipped

@rsasaki0109
rsasaki0109 merged commit d17c5f1 into main Jul 16, 2026
92 checks passed
@rsasaki0109
rsasaki0109 deleted the agent/ci-green branch July 16, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant