fix(deps): export and cap every engine extra (#828)

* fix(deps): export and cap every engine extra

* fix(deps): docstring main and tighten export pairing tests

Give check_exports.main the required public docstring, annotate the
dependency export test helpers, and require --extra to sit with its -o
on the same just lock line (whisper pip-compile stays special-cased).

---------

Co-authored-by: Jatin K Malik <jatinkrmalik@gmail.com>
This commit is contained in:
Sergey Silaev
2026-09-15 22:41:26 -07:00
committed by GitHub
co-authored by Jatin K Malik
parent 092dde105e
commit b90bdb075d
11 changed files with 2389 additions and 21 deletions
+13
View File
@@ -51,6 +51,10 @@ jobs:
- 'vocalinux.desktop'
- 'resources/**'
- 'justfile'
# scripts/ is guarded by tests/ and one of them is executed by the
# lint job: a scripts-only change that skipped this filter would
# skip both the checker and the tests that validate it.
- 'scripts/**'
- '.pre-commit-config.yaml'
- '.github/workflows/unified-pipeline.yml'
# The AUR gate builds packaging/aur/vocalinux/PKGBUILD from this
@@ -111,6 +115,15 @@ jobs:
run: |
uv run --locked --only-group lint isort --check-only --diff --profile black src/ tests/
# --locked above fails when uv.lock drifts from pyproject.toml; nothing
# covered the step after that one. The exports are hash-pinned copies of
# the lock written by `just lock`, and no workflow ever re-ran it, so one
# could sit behind the lock indefinitely. `uv export` reads the lock and
# nothing else, so this needs neither the network nor the system headers
# the test matrix installs, which is why it rides here.
- name: Exports match uv.lock
run: python3 scripts/check_exports.py
python-test:
name: 🧪 Test Python ${{ matrix.python-version }}
runs-on: ubuntu-latest