Open
Conversation
EVWorth
commented
Mar 15, 2026
Introduces pyproject.toml defining the project's dependency groups (zensical under [docs]) and uv configuration. Adds uv.lock to .gitignore.
Replace actions/setup-python + manual pip install uv steps with the astral-sh/setup-uv@v7 action in both CI workflows. Drop explicit --python 3.12 flags now that pyproject.toml pins requires-python. Fix workflow_dispatch boolean defaults (string -> bool). Update run instructions in tool docstrings to use `uv run python`.
There was a problem hiding this comment.
Pull request overview
Refactors the repo’s Python usage in CI and tooling to follow a uv-managed project model, moving dependency/spec configuration into pyproject.toml and updating workflows and tool instructions accordingly.
Changes:
- Adds a
pyproject.tomldefining Python requirements and adocsdependency group forzensical. - Updates CI workflows to use
astral-sh/setup-uv@v7and run commands viauv run(including--group docsfor doc builds). - Updates tool/test docstrings to recommend running via
uv run, and ignoresuv.lock.
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
pyproject.toml |
Introduces uv project metadata, Python requirement, and docs dependency group. |
.github/workflows/build-docs.yml |
Switches doc build job setup to setup-uv and runs build via uv run --group docs. |
.github/workflows/sync-docs-discourse.yml |
Switches test/sync jobs to setup-uv, updates workflow_dispatch boolean defaults, and runs tools via uv run. |
.gitignore |
Adds uv.lock to ignored files. |
tools/sync_to_discourse.py |
Updates usage instructions to remove explicit --python 3.12 flags. |
tools/test_converter.py |
Updates run instructions to uv run python .... |
tools/test_discourse_client.py |
Updates run instructions to uv run python .... |
tools/test_nav_parser.py |
Updates run instructions to uv run python .... |
tools/test_content_cache.py |
Updates run instructions to uv run python .... |
tools/test_sync_to_discourse.py |
Updates run instructions to uv run python .... |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.