8000 Switch to uv for dev workflow by lordmauve · Pull Request #360 · lordmauve/pgzero · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Switch to uv for dev workflow #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lordmauve
Copy link
Owner

Summary

  • add optional dev dependencies to pyproject.toml
  • use uv for tox and CI setup
  • document uv in contributing guide
  • drop old requirements files
  • allow uv commands in tox

Testing

  • pre-commit run --files .github/workflows/test.yml doc/contributing.rst pyproject.toml tox.ini
  • xvfb-run --auto-servernum tox -e py,flake8

https://chatgpt.com/codex/tasks/task_e_68416cc831488328b058abd42c32dee7

@Copilot Copilot AI review requested due to automatic review settings June 5, 2025 16:06
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the development workflow by switching from the old pip‐based commands to a new uv-based workflow. Key changes include:

  • Updating tox.ini to replace pip commands with uv commands.
  • Moving dev dependency definitions from requirements-dev.txt to pyproject.toml.
  • Modifying the contributing docs and CI workflow to reflect the new uv-based commands.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tox.ini Uses uv for installing dependencies and running tests, replacing legacy pip commands.
requirements-dev.txt Removed as dev dependencies are now managed via pyproject.toml dependency groups.
pyproject.toml Introduces a dev dependency group with tools like tox, pytest, and flake8.
doc/contributing.rst Updates instructions to use uv sync for locally-editable installs and test running command change.
.github/workflows/test.yml Incorporates steps for installing uv and syncing dependencies using uv in the CI workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0