Skip to content

fix: unblock PyPI release — format markdown for ruff 0.16, pin ruff, bump to 0.0.5 - #73

Merged
mingjerli merged 1 commit into
mainfrom
fix/ruff-markdown-format
Aug 1, 2026
Merged

fix: unblock PyPI release — format markdown for ruff 0.16, pin ruff, bump to 0.0.5#73
mingjerli merged 1 commit into
mainfrom
fix/ruff-markdown-format

Conversation

@mingjerli

Copy link
Copy Markdown
Owner

Summary

  • The v0.0.4 release workflow failed at ruff format --check .: the workflow installs ruff unpinned, and ruff ≥0.16 now formats Python code blocks embedded in Markdown — three docs files (README.md, clgraph-simple-diagram.md, examples/sql_files/README.md) predated that behavior. No publish occurred (PyPI still at 0.0.3).
  • Formats those code blocks with ruff 0.16.1 (no content changes, formatting only)
  • Pins ruff>=0.16.1,<0.17 in dev dependencies so local and CI resolve the same formatter (root cause of the drift)
  • Bumps version to 0.0.5 so the release gets a clean tag (v0.0.4 points at a commit that cannot pass its own workflow)

Test plan

  • uv run ruff format --check . clean with the pinned ruff (matches the workflow's exact command)
  • ruff check clean; pre-commit hooks passed (ty diagnostics are pre-existing and non-blocking)
  • After merge: tag v0.0.5 on main → publish workflow runs matrix + publishes 0.0.5

Unblocks the clgraph-studio Vercel deploy (drops its git pin once 0.0.5 is on PyPI).

Newer ruff (installed unpinned in the publish workflow) formats Python
code blocks embedded in Markdown; three docs files failed the release
format check for v0.0.4, blocking the PyPI publish. Formats those
blocks, pins ruff to >=0.16.1,<0.17 so local and CI resolve the same
formatter, and bumps to 0.0.5 for a clean release tag.
@mingjerli
mingjerli merged commit 337c745 into main Aug 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant