Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
With "0", a fresh build resolves malachite-bigint to the newest 0.x while the RustPython release depending on this crate stays on its own minor, and the two BigInt types do not unify. Bound it to the minor RustPython main uses.
333b98b to
c7e3c87
Compare
|
Thanks, malachite upgrades the version frequently, which usually doesn't affect pymath. I am looking for better way to release this. |
|
Thanks for looking into it @youknowone , and no worries! We use it as a library: The reason I went for a narrower bound: with Happy to go with whatever release approach you prefer. If another approach works better for you, I can update the PR. |
|
Hi @youknowone , did you have a chance to check this actually? Thanks! |
Replaces
malachite-bigint = "0"with"0.14", the minor RustPythonmainuses.With
"0", a fresh build of a published RustPython release resolvespymath'smalachite-bigintto the newest 0.x while RustPython stays on its own minor, and the twoBigInttypes don't unify (see #22). With one malachite minor perpymathminor, a published release always resolves to a singlemalachite-bigint, andcargo publishcatches a mismatch before release.Narrowing the bound is a breaking change for anyone on another malachite minor, so this needs a new minor when released. I've left the version for you to set.
Testing:
cargo test --features malachite-bigintpasses (188/188) against Python 3.14.mainwith this branch via[patch.crates-io]:cargo check -p rustpython-vm -p rustpython-stdlibcompiles with onlymalachite-bigint0.14.0 in the lock.