Skip to content

Commit 35fb5d5

Browse files
authored
Fix build break (microsoft#634)
* fix: update bindings and builtins for breaking dependency upgrades - Update rand 0.10 API: use RngExt trait instead of removed Rng trait - Update jsonschema 0.45 API: replace removed BasicOutput/apply with iter_errors for schema validation - Update jni 0.22 API: migrate from deprecated JNIEnv to EnvUnowned with_env pattern, replace deprecated get_string/new_string/throw methods with their modern equivalents - Update pyo3 0.28 API: replace removed PyObject with Py<PyAny>, deprecated downcast with cast, and removed with_gil with attach Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com> * ci(dependabot): create per-dependency PRs for Cargo updates Remove the groups.rust-dependencies catch-all group so Dependabot opens a separate PR for each Cargo dependency update instead of bundling them all into a single PR. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com> * fix: enable getrandom wasm_js feature for wasm32-unknown-unknown builds Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com> * fix: address PR review comments - Stream iter_errors directly into BTreeSet without intermediate Vec - Use JNI_TRUE/JNI_FALSE for jboolean instead of bool coercion Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com> --------- Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
1 parent 296b341 commit 35fb5d5

7 files changed

Lines changed: 155 additions & 120 deletions

File tree

.github/dependabot.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
version: 2
99
updates:
1010
# All Rust/Cargo directories are grouped into a single entry so that
11-
# when a dependency is updated, Dependabot creates ONE PR that bumps it
12-
# across the root workspace AND every binding, preventing version skew.
11+
# when a dependency is updated, Dependabot bumps it across the root
12+
# workspace AND every binding, preventing version skew.
1313
- package-ecosystem: "cargo"
1414
directories:
1515
- "/"
@@ -22,10 +22,6 @@ updates:
2222
interval: "weekly"
2323
commit-message:
2424
prefix: "build(deps)"
25-
groups:
26-
rust-dependencies:
27-
patterns:
28-
- "*"
2925
# Ignore vendored mimalloc crates; updates are managed manually.
3026
ignore:
3127
- dependency-name: "regorus-mimalloc"

0 commit comments

Comments
 (0)