Skip to content

Commit ddb2abd

Browse files
dmealingclaude
andcommitted
fix(ci): add ruff to the python dev dependency-group (codegen format pass)
The last Python conformance failure (uncovered once the pydantic fix let the step reach it): tests/codegen/test_cli_registry runs codegen, whose format pass (src/metaobjects/codegen/format.py) shells out to `ruff` — but `ruff`, like pydantic, lived only in [project.optional-dependencies], not the [dependency-groups] that `uv run` installs. So CI failed with "No module named ruff". Add ruff to the group and relock. Verified via the full CI `uv run` sequence: conformance 267, validation 9, cli-registry 5 — all green. This was the 7th and final pre-existing red layer on main; with it, every required check passes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f5bab8c commit ddb2abd

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

server/python/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,8 @@ dev = [
9898
# imports pydantic to exercise the generated Pydantic models, so it must be here
9999
# or the CI `uv run pytest` collection fails with ModuleNotFoundError.
100100
"pydantic>=2",
101+
# ruff is the Python codegen format pass (src/metaobjects/codegen/format.py); the
102+
# cli-registry corpus runs codegen, so without ruff in the group `uv run pytest`
103+
# fails at format time with "No module named ruff".
104+
"ruff>=0.6",
101105
]

server/python/uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)