chore(deps): refresh locked dependencies and setup-uv - #242
Merged
Merged
Conversation
Move the sherpa-onnx twin pins to 1.13.6, which exposes window_shift_ratio on OfflineSpeakerSegmentationPyannoteModelConfig in the Python binding. The effective segmentation shift is unchanged; the knob is now reachable for later tuning. Raise the rich ceiling to <16.0.0. rich 15.0.0 breaks only by dropping Python 3.8, which is below requires-python. The resolved version stays at 14.3.4 because instructor caps rich<15.0.0. Move setup-uv to v10.0.1. Its breaking change disables caching on pull_request_target, workflow_run, and release events; no workflow here uses those triggers. Refresh the remaining locked versions, including av 18.1.0, numpy 2.5.2, instructor 1.15.4, ruff 0.16.4, and ty 0.0.74, and raise the declared floors to match so the constraints track what resolves.
megabyde
force-pushed
the
chore/dependency-refresh
branch
from
August 23, 2026 00:09
98e593c to
8b7f6cd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Manual sweep of upstream releases since #239/#240, covering the three bumps Dependabot cannot reach on its own plus the routine lock refresh.
sherpa-onnx 1.13.4 -> 1.13.6
The reason this PR exists. 1.13.6 exposes
window_shift_ratioonOfflineSpeakerSegmentationPyannoteModelConfigin the Python binding (k2-fsa/sherpa-onnx#3870); it was CLI-only before. Verified against the installed wheel:The exact twin pins block Dependabot here, so they move by hand. No call site sets the knob yet, so segmentation behavior is unchanged. Benchmarked on 300 s of audio at 4 threads with the cached pyannote/titanet models:
Cost is inverse-linear in the ratio, so this is the largest lever on diarization wall clock. Tuning is deferred: the bench input was built by tiling a 3 s fixture, which measures cost correctly but says nothing about boundary accuracy. That needs real multi-speaker audio.
1.13.5 is nemotron/QNN/Android work and does not touch this project.
rich ceiling <15.0.0 -> <16.0.0
rich 15.0.0's only breaking change is dropping Python 3.8, which is far below
requires-python = ">=3.12"; the rest is four bug fixes. The ceiling was ours and stricter than it needed to be.Inert for now: instructor 1.15.4 caps
rich<15.0.0, so the lock still resolves 14.3.4. Removing our own redundant ceiling means the bump lands via Dependabot once instructor relaxes, with no second manual edit.setup-uv v9.0.0 -> v10.0.1
v10's breaking change disables caching by default on
pull_request_target,workflow_run, andreleaseevents (cache-poisoning hardening, astral-sh/setup-uv#984).ci.ymlandrelease.ymltrigger onpush,pull_request, tagpush, andworkflow_dispatch, none of which are affected, so caching behavior is unchanged.Lock and floors
uv lock --upgrademoved 27 packages, including av 18.1.0, numpy 2.5.2, instructor 1.15.4 (fixeslist[Model]response models crashing onmodel_json_schema), openai 2.54.0, ruff 0.16.4, ty 0.0.74, and pywhispercpp 1.5.1 (a CUDA 13.3 build fix, irrelevant to the macOS/CPU path). Declared floors were raised to match what resolves, following theversioning-strategy: increasethe Dependabot config already uses.tyjumped five pre-1.0 releases andruffthree patch releases with no new diagnostics against this tree.Deliberately excluded
anthropic1.0.0 shipped 2026-08-20 with the httpx2 migration. instructor 1.15.4 pinsanthropic==0.93.0exactly, so it is unreachable and should not be forced. Revisit when instructor moves.Verification
make checkpasses: mdformat, pymarkdown, ruff format, ruff check, ty, and 323 tests at 100% coverage.