Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

ci: install test environments from uv.lock; fix Dependabot uv and npm security updates (#437)

Ruben Lütke887681866c7b
diff --git a/.github/actions/install-locked/action.yml b/.github/actions/install-locked/action.yml
new file mode 100644
index 0000000000..0eeea2379c
--- /dev/null
+++ b/.github/actions/install-locked/action.yml
@@ -0,0 +1,64 @@
+name: Install from uv.lock
+description: >-
+ Install the app and its test dependencies from the committed uv.lock into the
+ interpreter set up by actions/setup-python, with hashes enforced. Versions
+ never float, so an upstream release cannot turn CI red with no code change,
+ and CI tests the dependency set the product ships.
+inputs:
+ extras:
+ description: Space-separated project extras to install (for example "dev telephony").
+ required: false
+ default: ""
+ with:
+ description: Space-separated test tools for a slim base install, pinned through the lock.
+ required: false
+ default: ""
+runs:
+ using: composite
+ steps:
+ # The cache location goes to the uv steps below as a step output, never
+ # through GITHUB_ENV: an environment file write would leak into every
+ # later step of the calling job.
+ - name: Install uv and locate its cache
+ id: uv
+ shell: bash
+ run: |
+ python -m pip install --disable-pip-version-check --quiet uv==0.11.19
+ cache_dir="$(python -c 'import pathlib; print(pathlib.Path.home() / ".cache" / "uv-locked")')"
+ echo "cache_dir=$cache_dir" >> "$GITHUB_OUTPUT"
+ echo "python=$(python -c 'import sys; print("%d.%d" % sys.version_info[:2])')" >> "$GITHUB_OUTPUT"
+ # After `uv cache prune --ci` the cache holds only wheels built from
+ # source (a handful of sdist-only packages), so it stays small; pre-built
+ # wheels download faster than a cache restore would unpack them.
+ - name: Restore the uv build cache
+ id: restore
+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
+ with:
+ path: ~/.cache/uv-locked
+ key: uv-locked-${{ runner.os }}-${{ runner.arch }}-py${{ steps.uv.outputs.python }}-${{ hashFiles('uv.lock') }}
+ restore-keys: |
+ uv-locked-${{ runner.os }}-${{ runner.arch }}-py${{ steps.uv.outputs.python }}-
+ - name: Install the locked set
+ shell: bash
+ env:
+ UV_CACHE_DIR: ${{ steps.uv.outputs.cache_dir }}
+ EXTRAS: ${{ inputs.extras }}
+ TOOLS: ${{ inputs.with }}
+ run: |
+ args=()
+ for extra in $EXTRAS; do args+=(--extra "$extra"); done
+ for tool in $TOOLS; do args+=(--with "$tool"); done
+ python scripts/ci/install_locked.py "${args[@]}"
+ - name: Prune the uv cache to source builds
+ if: steps.restore.outputs.cache-hit != 'true'
+ shell: bash
+ env:
+ UV_CACHE_DIR: ${{ steps.uv.outputs.cache_dir }}
+ run: python -m uv cache prune --ci
+ - name: Save the uv build cache
+ if: steps.restore.outputs.cache-hit != 'true'
+ continue-on-error: true
+ uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
+ with:
+ path: ~/.cache/uv-locked
+ key: ${{ steps.restore.outputs.cache-primary-key }}
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 349d17b295..d63a1ef45d 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -12,6 +12,24 @@
# procedure.
version: 2
+
+# Public PyPI, declared as the base index for the root `uv` entry below.
+# Dependabot builds its list of Python index URLs from the job credentials. With
+# no registry, the always-present GitHub `git_source` credential becomes an
+# EMPTY index URL next to the default one. When a security update has to fetch
+# hashes again (requirements.txt carries two pinned versions of av, numpy,
+# onnxruntime and scipy, one per platform split, so it always does), hashin
+# requests "/pypi/av/json" with no host and the job dies with
+# `ValueError: unknown url type`. Every uv security update failed that way
+# (multidict, urllib3, PyJWT in 2026-09/10). A base-replacing registry makes
+# this the only index URL, and urljoin() turns it into
+# https://pypi.org/pypi/<name>/json. It needs no credentials.
+registries:
+ pypi:
+ type: python-index
+ url: https://pypi.org/simple
+ replaces-base: true
+
updates:
# Build tooling is a separate small lock surface; do not recompile the
# platform-universal application lock when refreshing packaging tools.
@@ -93,6 +111,28 @@ updates:
prefix: deps
include: scope
+ # uv — the ecosystem Dependabot actually runs for the root since uv.lock
+ # exists: every root security update since 2026-09 is a "uv in /." job, which
+ # rewrites uv.lock and requirements.txt together. Version updates stay off for
+ # the reasons above (limit 0); this entry exists so security updates get the
+ # `pypi` registry (see the top of this file) and the project's labels.
+ - package-ecosystem: uv
+ directory: /
+ registries:
+ - pypi
+ schedule:
+ interval: weekly
+ day: monday
+ time: "07:00"
+ timezone: "Europe/Berlin"
+ open-pull-requests-limit: 0
+ labels:
+ - dependencies
+ - python
+ commit-message:
+ prefix: deps
+ include: scope
+
# Container base images are pinned by digest (multi-arch index) so a
# rebuilt image cannot silently change; this keeps those digests current.
- package-ecosystem: docker
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cfdcb6e9c4..3e1b524d9a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -274,16 +274,16 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.11"
- cache: pip
- cache-dependency-path: pyproject.toml
- - name: Install base + dev (no platform extras - the VPS/base install)
- run: python -m pip install -e ".[dev]"
+ - name: Install base + dev from uv.lock (no platform extras - the VPS/base install)
+ uses: ./.github/actions/install-locked
+ with:
+ extras: dev
- name: Import-cleanliness gate (the bare install imports clean)
run: python scripts/ci/check_import_clean.py
- name: Test-only system deps
run: |
sudo apt-get update -qq && sudo apt-get install -y -qq libportaudio2
- python -m pip install -e ".[telephony]"
+ python scripts/ci/install_locked.py --extra telephony
# Blocking and outside the ratchet on purpose: these pin contracts that
# are cheap to break and expensive to notice (ADR-0011 router, AP-11
# scrubber, AP-4 enum parity, the one turn-language resolver, skill
@@ -328,12 +328,12 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.11"
- cache: pip
- cache-dependency-path: pyproject.toml
+ - name: System libraries
+ run: sudo apt-get update -qq && sudo apt-get install -y -qq libportaudio2 libegl1 libopengl0
- name: Install
- run: |
- sudo apt-get update -qq && sudo apt-get install -y -qq libportaudio2 libegl1 libopengl0
- python -m pip install -e ".[dev,telephony]"
+ uses: ./.github/actions/install-locked
+ with:
+ extras: dev telephony
- name: Download the shared duration snapshot
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
@@ -380,8 +380,6 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.11"
- cache: pip
- cache-dependency-path: pyproject.toml
- name: Pick the tests (full run, or what this diff can reach)
id: pick
env:
@@ -400,7 +398,9 @@ jobs:
echo "total=$count" >> "$GITHUB_OUTPUT"
- name: Install
if: steps.pick.outputs.mode != 'none'
- run: python -m pip install -e ".[dev,telephony]"
+ uses: ./.github/actions/install-locked
+ with:
+ extras: dev telephony
- name: Download the shared duration snapshot
if: steps.pick.outputs.mode != 'none'
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
@@ -449,10 +449,10 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.11"
- cache: pip
- cache-dependency-path: pyproject.toml
- name: Install
- run: python -m pip install -e ".[dev,telephony]"
+ uses: ./.github/actions/install-locked
+ with:
+ extras: dev telephony
- name: Download the shared duration snapshot
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
@@ -562,12 +562,12 @@ jobs:
python -m pip install typer platformdirs click httpx rich pytest pytest-asyncio pyyaml pydantic loguru python-dotenv packaging
python -c "import jarvis.cli_ctl.__main__"
python -m jarvis.cli_ctl --help
- - name: Base install + jarvisctl unit suite
- shell: bash
- run: |
- python -m pip install -e .
- python -m pip install pytest pytest-asyncio hypothesis
- python -m pytest tests/unit/cli_ctl/ -q -p no:cacheprovider
+ - name: Base install from uv.lock
+ uses: ./.github/actions/install-locked
+ with:
+ with: pytest pytest-asyncio hypothesis
+ - name: jarvisctl unit suite
+ run: python -m pytest tests/unit/cli_ctl/ -q -p no:cacheprovider
deps:
name: deps-sync + portable install matrix
@@ -649,11 +649,10 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.11"
- - name: Portable base + focused runner
- shell: bash
- run: |
- python -m pip install -e .
- python -m pip install pytest pytest-asyncio
+ - name: Portable base + focused runner from uv.lock
+ uses: ./.github/actions/install-locked
+ with:
+ with: pytest pytest-asyncio
- name: Provider-neutral realtime contract
run: >-
python -m pytest
@@ -704,11 +703,10 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python }}
- - name: Portable base + focused runner
- shell: bash
- run: |
- python -m pip install -e .
- python -m pip install pytest pytest-asyncio
+ - name: Portable base + focused runner from uv.lock
+ uses: ./.github/actions/install-locked
+ with:
+ with: pytest pytest-asyncio
- name: Inno Setup for the real installer upgrade
if: runner.os == 'Windows' && matrix.python == '3.12'
shell: pwsh
@@ -758,10 +756,10 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- - name: Base install without system audio
- run: |
- python -m pip install -e .
- python -m pip install pytest pytest-asyncio
+ - name: Base install without system audio, from uv.lock
+ uses: ./.github/actions/install-locked
+ with:
+ with: pytest pytest-asyncio
- name: The container really has no usable PortAudio
run: |
python - <<'PY'
@@ -804,7 +802,8 @@ jobs:
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.11"
- - run: python -m pip install -e .
+ - name: Base install from uv.lock
+ uses: ./.github/actions/install-locked
- run: python scripts/realtime_reliability_gate.py --contract-soak
dragdrop:
diff --git a/jarvis/ui/web/frontend/package-lock.json b/jarvis/ui/web/frontend/package-lock.json
index e903a85102..8b0e825962 100644
--- a/jarvis/ui/web/frontend/package-lock.json
+++ b/jarvis/ui/web/frontend/package-lock.json
@@ -4208,9 +4208,9 @@
"license": "MIT"
},
"node_modules/dompurify": {
- "version": "3.4.15",
- "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.15.tgz",
- "integrity": "sha512-EUBjM+B+lkDE41iE82DDSCfkoPGfXx8IxFxPMjNzm/Uk4xDet77rTN9wqlxlVg71kK7XGuUMv6wUxJUwwv+Xyw==",
+ "version": "3.4.16",
+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.16.tgz",
+ "integrity": "sha512-sqo+pNp3qRhCIpbgRi1y8Tgk27Bo2Ry7w0dC1NBeNTdZChWjz9Xb/KOoZbRP/R6pQZ80Qw8YhXw13hWWBbMRnQ==",
"license": "(MPL-2.0 OR Apache-2.0)",
"optionalDependencies": {
"@types/trusted-types": "^2.0.7"
diff --git a/jarvis/ui/web/frontend/package.json b/jarvis/ui/web/frontend/package.json
index 4ccb993e2f..f8bd173a89 100644
--- a/jarvis/ui/web/frontend/package.json
+++ b/jarvis/ui/web/frontend/package.json
@@ -78,5 +78,8 @@
"typescript": "^5.6.2",
"vite": "^6.4.3",
"vitest": "^4.1.11"
+ },
+ "overrides": {
+ "dompurify": "3.4.16"
}
}
diff --git a/packaging/native-crypto-uv.toml b/packaging/native-crypto-uv.toml
index 71f94015df..76dc694d36 100644
--- a/packaging/native-crypto-uv.toml
+++ b/packaging/native-crypto-uv.toml
@@ -5,3 +5,11 @@
name = "native-crypto"
url = "https://personaljarvis.github.io/PersonalJarvis/native-crypto/50.0.2-1/simple/"
explicit = true
+
+# A --config-file replaces pyproject's [tool.uv] settings, so this mirrors the
+# sherpa-onnx metadata fix there: every sherpa-onnx wheel except linux_armv7l
+# requires sherpa-onnx-core, and the universal lock must keep the core package.
+[[dependency-metadata]]
+name = "sherpa-onnx"
+version = "1.13.4"
+requires-dist = ["sherpa-onnx-core==1.13.4"]
diff --git a/pyproject.toml b/pyproject.toml
index 7c1756e800..61842cc6af 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -975,3 +975,14 @@ explicit = true
[tool.uv.sources]
cryptography = { index = "native-crypto" }
+
+# sherpa-onnx wheels disagree on their metadata: the linux_armv7l wheel bundles
+# the native core, every other wheel requires sherpa-onnx-core of the same
+# version. The universal lock read the armv7l metadata and dropped the core, so
+# an install from uv.lock left the speech runtime without its native library.
+# CI installs from the lock (scripts/ci/install_locked.py) and refuses the
+# unpinned core, so a sherpa-onnx bump without updating this entry fails loudly.
+[[tool.uv.dependency-metadata]]
+name = "sherpa-onnx"
+version = "1.13.4"
+requires-dist = ["sherpa-onnx-core==1.13.4"]
diff --git a/scripts/ci/install_locked.py b/scripts/ci/install_locked.py
new file mode 100644
index 0000000000..03c2d8e47c
--- /dev/null
+++ b/scripts/ci/install_locked.py
@@ -0,0 +1,160 @@
+#!/usr/bin/env python3
+"""Install a CI test environment from the committed ``uv.lock``.
+
+``pip install -e ".[dev,telephony]"`` resolves every version range again on
+each run. An upstream release could then turn main red with no code change,
+and CI never tested the dependency set the product ships. This script installs
+exactly the locked set instead:
+
+1. ``uv export --frozen`` writes the requested extras from ``uv.lock`` as a
+ hashed, platform-universal requirements file. ``--frozen`` never resolves;
+ the deps lane (``check_portable_install_matrix.py``) proves the lock is
+ current.
+2. ``uv pip install --require-hashes`` installs that file into the running
+ interpreter. On the two architectures without an upstream cryptography
+ wheel the reviewed native wheel page is added, as the product installer
+ does (``scripts/native_crypto_index.py``).
+3. The project itself is added as an editable install without dependencies.
+4. ``--with`` installs extra test tools (``pytest`` ...) for jobs that keep a
+ slim base install. Their versions, and every dependency they pull, are
+ constrained to the lock; a tool that is not in the lock is refused.
+
+Usage::
+
+ python scripts/ci/install_locked.py --extra dev --extra telephony
+ python scripts/ci/install_locked.py --with pytest --with pytest-asyncio
+ python scripts/ci/install_locked.py --extra dev --dry-run
+"""
+
+from __future__ import annotations
+
+import argparse
+import re
+import shlex
+import subprocess
+import sys
+import tempfile
+from collections.abc import Sequence
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[2]
+sys.path.insert(0, str(ROOT))
+
+from jarvis.core.process_utils import NO_WINDOW_CREATIONFLAGS # noqa: E402
+from scripts.native_crypto_index import pip_options # noqa: E402
+
+_PINNED = re.compile(r"^([A-Za-z0-9][A-Za-z0-9._-]*)==", re.MULTILINE)
+
+
+def _canonical(name: str) -> str:
+ return re.sub(r"[-_.]+", "-", name).lower()
+
+
+def _uv(python: str, *args: str) -> list[str]:
+ return [python, "-m", "uv", *args]
+
+
+def export_command(
+ python: str, output: Path, *, extras: Sequence[str] = (), all_extras: bool = False
+) -> list[str]:
+ """The lock export: never re-resolves, never emits the project itself."""
+ command = _uv(
+ python,
+ "export",
+ "--frozen",
+ "--no-emit-project",
+ "--format",
+ "requirements.txt",
+ "--output-file",
+ str(output),
+ "--quiet",
+ )
+ if all_extras:
+ command += ["--all-extras", "--no-hashes"]
+ for extra in extras:
+ command += ["--extra", extra]
+ return command
+
+
+def install_commands(
+ python: str,
+ locked: Path,
+ *,
+ find_links: Sequence[str] = (),
+ tools: Sequence[str] = (),
+ constraints: Path | None = None,
+) -> list[list[str]]:
+ """Locked set with hashes enforced, then the editable project, then tools."""
+ commands = [
+ _uv(python, "pip", "install", "--python", python, "--require-hashes", "-r", str(locked))
+ + list(find_links),
+ _uv(python, "pip", "install", "--python", python, "--no-deps", "-e", str(ROOT)),
+ ]
+ if tools:
+ if constraints is None:
+ raise ValueError("test tools need the lock as constraints")
+ commands.append(
+ _uv(python, "pip", "install", "--python", python, "-c", str(constraints))
+ + list(find_links)
+ + list(tools)
+ )
+ return commands
+
+
+def unlocked_tools(tools: Sequence[str], constraints_text: str) -> list[str]:
+ """Tools the lock does not pin; installing them would resolve fresh."""
+ pinned = {_canonical(name) for name in _PINNED.findall(constraints_text)}
+ return [tool for tool in tools if _canonical(tool) not in pinned]
+
+
+def _run(command: list[str], dry_run: bool) -> None:
+ print("+ " + shlex.join(command), flush=True)
+ if dry_run:
+ return
+ result = subprocess.run(
+ command,
+ cwd=ROOT,
+ encoding="utf-8",
+ errors="replace",
+ creationflags=NO_WINDOW_CREATIONFLAGS,
+ check=False,
+ )
+ if result.returncode:
+ raise SystemExit(result.returncode)
+
+
+def main(argv: Sequence[str] | None = None) -> int:
+ parser = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])
+ parser.add_argument("--extra", action="append", default=[], help="project extra to install")
+ parser.add_argument(
+ "--with",
+ dest="tools",
+ action="append",
+ default=[],
+ help="extra test tool, pinned through the lock",
+ )
+ parser.add_argument("--dry-run", action="store_true", help="print the commands only")
+ args = parser.parse_args(argv)
+
+ python = sys.executable
+ find_links = pip_options()
+ with tempfile.TemporaryDirectory(prefix="locked-install-") as tmp:
+ locked = Path(tmp) / "locked.txt"
+ constraints = Path(tmp) / "constraints.txt" if args.tools else None
+ _run(export_command(python, locked, extras=args.extra), args.dry_run)
+ if constraints is not None:
+ _run(export_command(python, constraints, all_extras=True), args.dry_run)
+ if not args.dry_run:
+ missing = unlocked_tools(args.tools, constraints.read_text(encoding="utf-8"))
+ if missing:
+ print(f"error: not pinned by uv.lock: {', '.join(missing)}", file=sys.stderr)
+ return 1
+ for command in install_commands(
+ python, locked, find_links=find_links, tools=args.tools, constraints=constraints
+ ):
+ _run(command, args.dry_run)
+ return 0
+
+
+if __name__ == "__main__":
+ raise SystemExit(main())
diff --git a/tests/unit/ci/test_install_locked.py b/tests/unit/ci/test_install_locked.py
new file mode 100644
index 0000000000..8fa3814e74
--- /dev/null
+++ b/tests/unit/ci/test_install_locked.py
@@ -0,0 +1,76 @@
+"""The locked CI install: frozen export, enforced hashes, tools pinned via the lock."""
+
+from __future__ import annotations
+
+from pathlib import Path
+
+import pytest
+import yaml
+
+from scripts.ci import install_locked
+
+ROOT = Path(__file__).resolve().parents[3]
+
+
+def test_export_never_resolves_and_leaves_the_project_out(tmp_path):
+ command = install_locked.export_command("py", tmp_path / "out.txt", extras=["dev", "telephony"])
+ assert command[:4] == ["py", "-m", "uv", "export"]
+ assert "--frozen" in command and "--no-emit-project" in command
+ assert "--locked" not in command # the deps lane owns lock freshness
+ assert command[-4:] == ["--extra", "dev", "--extra", "telephony"]
+ assert "--no-hashes" not in command
+
+
+def test_constraint_export_covers_every_extra_without_hashes(tmp_path):
+ command = install_locked.export_command("py", tmp_path / "c.txt", all_extras=True)
+ assert "--all-extras" in command and "--no-hashes" in command
+
+
+def test_locked_set_requires_hashes_and_project_has_no_deps(tmp_path):
+ locked = tmp_path / "locked.txt"
+ first, editable = install_locked.install_commands(
+ "py", locked, find_links=["--find-links", "https://example.invalid/c/"]
+ )
+ assert first[3:] == [
+ "pip",
+ "install",
+ "--python",
+ "py",
+ "--require-hashes",
+ "-r",
+ str(locked),
+ "--find-links",
+ "https://example.invalid/c/",
+ ]
+ assert editable[-3:] == ["--no-deps", "-e", str(install_locked.ROOT)]
+
+
+def test_tools_install_against_the_lock_as_constraints(tmp_path):
+ constraints = tmp_path / "constraints.txt"
+ commands = install_locked.install_commands(
+ "py", tmp_path / "locked.txt", tools=["pytest"], constraints=constraints
+ )
+ assert commands[-1][-3:] == ["-c", str(constraints), "pytest"]
+ with pytest.raises(ValueError):
+ install_locked.install_commands("py", tmp_path / "locked.txt", tools=["pytest"])
+
+
+def test_a_tool_outside_the_lock_is_refused():
+ constraints = (
+ "pytest==9.1.1\n"
+ " # via personal-jarvis\n"
+ "pytest-asyncio==1.4.0 ; python_version >= '3.11'\n"
+ )
+ assert install_locked.unlocked_tools(["pytest", "Pytest_Asyncio"], constraints) == []
+ assert install_locked.unlocked_tools(["hypothesis"], constraints) == ["hypothesis"]
+
+
+def test_ci_test_jobs_install_from_the_lock():
+ """No CI job that runs the test suite resolves version ranges fresh."""
+ workflow = yaml.safe_load((ROOT / ".github/workflows/ci.yml").read_text(encoding="utf-8"))
+ jobs = workflow["jobs"]
+ for name in ("tests-linux", "tests-windows", "tests-macos", "python-fast"):
+ steps = jobs[name]["steps"]
+ assert any(step.get("uses") == "./.github/actions/install-locked" for step in steps), name
+ for step in steps:
+ assert 'pip install -e ".[' not in step.get("run", ""), name
diff --git a/uv.lock b/uv.lock
index 38d4aa3ed0..63068cb27e 100644
--- a/uv.lock
+++ b/uv.lock
@@ -29,6 +29,13 @@ resolution-markers = [
"python_full_version < '3.12' and platform_machine != 'x86_64' and sys_platform == 'linux'",
]
+[manifest]
+
+[[manifest.dependency-metadata]]
+name = "sherpa-onnx"
+version = "1.13.4"
+requires-dist = ["sherpa-onnx-core==1.13.4"]
+
[[package]]
name = "aio-pika"
version = "9.6.2"
@@ -4823,6 +4830,9 @@ wheels = [
name = "sherpa-onnx"
version = "1.13.4"
source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "sherpa-onnx-core", marker = "platform_machine != 'ARM64' or sys_platform != 'win32'" },
+]
sdist = { url = "https://files.pythonhosted.org/packages/ca/f8/735244770b4bc63f85fabdad0e46d6ec1f4cc24e64f6e082c2e0fea92b8c/sherpa_onnx-1.13.4.tar.gz", hash = "sha256:29547692418513ad88034c2b5f98985e33042b2351e4ab375469f19a8de18c5f", size = 982750, upload-time = "2026-07-07T13:04:55.145Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/2a/4f/6ab541c5b2a4b2a6e9970edc4b558f270f7b6624c861eccb85126ccd279c/sherpa_onnx-1.13.4-cp311-cp311-linux_armv7l.whl", hash = "sha256:8e1cdbd53b432630a81ea479ce5bad6aa8192eb4a458d8c9432c54052cb9cc7d", size = 11930819, upload-time = "2026-07-07T14:22:29.536Z" },
@@ -4859,6 +4869,21 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/89/02/1e10f71be635a3f9ef793b07ab88ddb7afa82ab722f3ea275a4877da1bcb/sherpa_onnx-1.13.4-cp314-cp314-win_amd64.whl", hash = "sha256:cb1834182c4047b8edb1dceeed8d5cf7d6e10295a4079e5e0fea674b4314db06", size = 2308592, upload-time = "2026-07-07T13:03:09.057Z" },
]
+[[package]]
+name = "sherpa-onnx-core"
+version = "1.13.4"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ad/69/ae33a8cb1ecc30e0c4638d76772e56161162d57bef748380790e1257841f/sherpa_onnx_core-1.13.4-py3-none-macosx_10_15_universal2.whl", hash = "sha256:737099a817998e4d74379dcd44d8d1b332a3fa1822780be174334c3d1d1e2451", size = 36025264, upload-time = "2026-07-07T11:41:37.506Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/8c/a1336beab226d228f62bdbe1cacf1439a2f6cf8714baac98f1f031dd2f60/sherpa_onnx_core-1.13.4-py3-none-macosx_10_15_x86_64.whl", hash = "sha256:674ea57eb6458002dab4e39749d21a7364b2f962f4a4958a3ee4c351b093cafd", size = 19325474, upload-time = "2026-07-07T11:31:03.394Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/26/d0d6bebea4ef8b7de6eed1a335235d1acce9197425c08eecb57ef107904d/sherpa_onnx_core-1.13.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:7820183581b711a68e30281a4fb36c0af8ef5615bfc789234fb259439824a014", size = 16897650, upload-time = "2026-07-07T11:42:28.755Z" },
+ { url = "https://files.pythonhosted.org/packages/81/29/15859e896574230d5377738ef27e8647cbd19fa325d75b1a00074791798d/sherpa_onnx_core-1.13.4-py3-none-manylinux2014_aarch64.whl", hash = "sha256:b4e4d17eb0d5c569bf4c9effcbc3daef57cf7e2b8418e07ae90f90c9b60b35d5", size = 13023017, upload-time = "2026-07-07T11:41:30.935Z" },
+ { url = "https://files.pythonhosted.org/packages/41/be/38c57721d71ee74d984b1ca21720a8ca8477d6d341026af24ff658866ef9/sherpa_onnx_core-1.13.4-py3-none-manylinux2014_x86_64.whl", hash = "sha256:367aa06cee90b3fd7959d4e071d6fc821710b859af399b4987e5c3119ee6ae2a", size = 10338839, upload-time = "2026-07-07T12:21:33.627Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/17/949ee6d5cff4ec9e2dcda014276a798b814e2eb80d35d820884e6e0614ff/sherpa_onnx_core-1.13.4-py3-none-manylinux_2_35_armv7l.whl", hash = "sha256:3b9cc7da5ce4a2333a9ae211f39c34dee981b13f2c9c8680fbf2d9636e87d617", size = 9889942, upload-time = "2026-07-07T14:25:04.94Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/71/e2fb4b965b86bd3ee6ca35d81999e9edad47c20d2c8fc4e03db8083494bc/sherpa_onnx_core-1.13.4-py3-none-win32.whl", hash = "sha256:ba9de2f463ae67ee2947f1bd9b981a1e39e6b831e281bf5088068251b8ec4dde", size = 13832564, upload-time = "2026-07-07T11:49:11.781Z" },
+ { url = "https://files.pythonhosted.org/packages/95/b0/c3d59ac76f3db873e41bd0cb4fc30b352a278da3289217985aaae3650211/sherpa_onnx_core-1.13.4-py3-none-win_amd64.whl", hash = "sha256:0a6949cf0fd83adb9fbcfdf5c27b8907a57f7b48626db703c7f6037be9b61764", size = 16450053, upload-time = "2026-07-07T12:03:05.196Z" },
+]
+
[[package]]
name = "shiboken6"
version = "6.11.1"