Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Pin vermin: 1.9.0 fails the backend floor lint on valid 3.5 syntax (#13818)

Daniel Han8116dd21609c
diff --git a/.github/workflows/workflow-trigger-lint.yml b/.github/workflows/workflow-trigger-lint.yml
index 9bd4f52685a..ec339cbb3a2 100644
--- a/.github/workflows/workflow-trigger-lint.yml
+++ b/.github/workflows/workflow-trigger-lint.yml
@@ -72,8 +72,12 @@ jobs:
# to when `pytest tests/security` lived there. That suite exercises
# scripts/lint_workflow_triggers.py as a SUBPROCESS and asserts on its exit
# semantics, so a pytest or PyYAML that resolves differently changes what it is
- # asserting against. xdist and vermin stay unpinned: neither is under test.
- run: pip install pyyaml==6.0.2 pytest==9.0.3 pytest-xdist vermin
+ # asserting against. xdist stays unpinned: it is not under test. vermin is
+ # pinned because its answer IS the floor gate's verdict: 1.9.0 (2026-10-15)
+ # reads a starred element in a tuple inside a comprehension, valid since 3.5
+ # (`[p for p in (a, *rest)]`), as PEP 798 and fails 79 backend files at 3.15.
+ # Move the pin deliberately, after the floor step passes on main with it.
+ run: pip install pyyaml==6.0.2 pytest==9.0.3 pytest-xdist vermin==1.8.0
- name: Lint workflow triggers + cache keys
run: python3 scripts/lint_workflow_triggers.py
diff --git a/tests/studio/test_backend_ci_matrix.py b/tests/studio/test_backend_ci_matrix.py
index 5b2d39fdd9d..4264c8eac2c 100644
--- a/tests/studio/test_backend_ci_matrix.py
+++ b/tests/studio/test_backend_ci_matrix.py
@@ -161,6 +161,16 @@ def test_the_floor_is_linted_on_every_pull_request():
f"install line rather than the file, because the first version of this check "
f"looked for 'vermin' anywhere and was satisfied by a comment mentioning it."
)
+ # vermin's answer is the gate's verdict, so a release that changes it must not move the gate
+ # on its own: 1.9.0 failed 79 unchanged files on every pull request the morning it shipped.
+ unpinned = [
+ line for line in installs if not re.search(r"\bvermin==\d+(?:\.\d+)*(?=\s|$)", line)
+ ]
+ assert not unpinned, (
+ f"{trigger_lint.name} installs vermin without an exact pin: {unpinned}. A range or a "
+ f"wildcard (vermin==1.*) is not one either. A new vermin "
+ f"release then decides the floor check by itself; pin it and move the pin deliberately."
+ )
def test_the_floor_lint_reads_stdlib_availability_not_just_syntax():