Skip to content

chore: declare pytest as uv dev dependency and switch CI to uv (fixes #885)#1069

Open
adityachaudhary99 wants to merge 2 commits into
safishamsi:v8from
adityachaudhary99:fix/pytest-uv-dev-deps
Open

chore: declare pytest as uv dev dependency and switch CI to uv (fixes #885)#1069
adityachaudhary99 wants to merge 2 commits into
safishamsi:v8from
adityachaudhary99:fix/pytest-uv-dev-deps

Conversation

@adityachaudhary99
Copy link
Copy Markdown
Contributor

Problem

CI used actions/setup-python@v5 + manual pip install, but pytest was an implicit dependency without explicit version pinning.

Fix

  • CI migrated to actions/checkout@v6 + astral-sh/setup-uv@v8.1.0 + uv sync --dev --all-extras + uv run pytest
  • README contributing section updated to show uv sync --dev --all-extras as recommended install and uv run pytest for tests
  • No pyproject.toml changes needed — [dependency-groups] dev already had pytest>=9.0.3 and pytest-cov>=7.1.0

- CI: use astral-sh/setup-uv@v5 + uv sync --dev + uv run pytest
- README: update contributing section with uv sync workflow
- pyproject.toml: already has [dependency-groups] dev with pytest

Closes safishamsi#885
@adityachaudhary99 adityachaudhary99 force-pushed the fix/pytest-uv-dev-deps branch from 2a6ef38 to 5cf5702 Compare May 28, 2026 17:16
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