Skip to content

Track Cargo.lock to fix ndarray version conflict in CI#13

Merged
cpetersen merged 4 commits intomainfrom
versioning
Jan 28, 2026
Merged

Track Cargo.lock to fix ndarray version conflict in CI#13
cpetersen merged 4 commits intomainfrom
versioning

Conversation

@cpetersen
Copy link
Member

Summary

  • Commit Cargo.lock by removing it from .gitignore. Without a committed lock file, CI resolves dependencies fresh and picks up sprs 0.11.4 (which depends on ndarray 0.17.1), while annembed uses ndarray 0.16. This two-version conflict causes compilation failures.
  • Version bump to 0.2.4.

Committing Cargo.lock is the standard practice for Magnus-based gems (cdylib crates) and matches what the overwhelming majority of the ecosystem does.

Test plan

  • Verify CI build passes with the committed Cargo.lock
  • Confirm cargo tree -d shows no duplicate ndarray versions

🤖 Generated with Claude Code

@cpetersen cpetersen merged commit 83ced35 into main Jan 28, 2026
1 of 2 checks passed
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