Skip to content

Update malachite crates to 0.13.0 - #9003

Merged
youknowone merged 1 commit into
RustPython:mainfrom
youknowone:bump-malachite-0.13
Oct 8, 2026
Merged

youknowone merged 1 commit into
RustPython:mainfrom
youknowone:bump-malachite-0.13

Conversation

@youknowone

@youknowone youknowone commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

pymath 0.2.0 depends on malachite-bigint = "^0", so the example projects, which build without a lock file, now resolve it to the newly released 0.13.0. The workspace still pins 0.12.0, so crates/stdlib/src/math.rs sees two different BigInt types and "Build example projects" fails on main.

This updates malachite-bigint, malachite-q and malachite-base to 0.13.0 (malachite-nz follows in the lock file). No source changes were needed.

Checked locally: release build, both example projects, workspace clippy and cargo test, crates/capi tests, and test_int, test_long, test_math, test_fractions, test_decimal, test_float, test_complex, test_statistics, test_random, test_cmath, test_builtin, test_json, test_struct, test_bigmem.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the underlying components used for numeric calculations. No changes to user-facing features or behavior were reported.

Assisted-by: Claude Code:claude-opus-5-5
@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: RustPython/RustPython/.coderabbit.yml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 46cb8195-b3ba-4ce8-bac0-0dbcba824c77
📥 Commits

Reviewing files that changed from the base of the PR and between 1dcdec4 and 9ddab59.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • Cargo.toml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The workspace dependency versions for malachite-bigint, malachite-q, and malachite-base changed from 0.12.0 to 0.13.0.

Changes

Malachite dependencies

Layer / File(s) Summary
Update workspace dependency versions
Cargo.toml
The workspace versions of malachite-bigint, malachite-q, and malachite-base changed from 0.12.0 to 0.13.0.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Suggested reviewers: joshuamegnauth54

Merge Risk: ⚪ Minimal · up to 9ddab

The dependency update aligns the workspace and lockfile versions, with no remaining direct-version conflict identified for the examples. No material merge risk is apparent.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: updating the Malachite crates from 0.12.0 to 0.13.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codspeed

codspeed Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 62 untouched benchmarks
⏩ 4 skipped benchmarks1


Comparing youknowone:bump-malachite-0.13 (9ddab59) with main (1dcdec4)

Open in CodSpeed

Footnotes

  1. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@youknowone
youknowone merged commit 1e72b22 into RustPython:main Oct 8, 2026
31 checks passed
@youknowone
youknowone deleted the bump-malachite-0.13 branch October 8, 2026 02:23
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