From c7e3c8706890671b6b75304e923fc93ffc76acb7 Mon Sep 17 00:00:00 2001 From: Galib Sarayev Date: Sun, 15 Nov 2026 21:36:14 +0000 Subject: [PATCH] Bound malachite-bigint to one minor (0.14) 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. --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index af7fa13..7bd34de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,11 @@ num-complex = { version = "0.4", optional = true } num-bigint = { version = "0.4", optional = true } num-traits = { version = "0.2", optional = true } num-integer = { version = "0.1", optional = true } -malachite-bigint = { version = "0", optional = true } # malachite upgrades minor version a lot +# Bounded to ONE malachite minor: 0.x minors are semver-incompatible, so `"0"` lets a fresh +# build pick a newer malachite-bigint than the RustPython release depending on this crate, +# and the two copies' BigInt types do not unify. Bump this together with RustPython's own +# malachite-bigint requirement, as a new minor of this crate. +malachite-bigint = { version = "0.14", optional = true } [dev-dependencies] divan = { version = "5.0.1", package = "codspeed-divan-compat" }