Fix CI using unpinned deps by switching to uv sync#8
Merged
Conversation
CI was using `uv pip install -e .[dev]` which resolves fresh from PyPI, ignoring the lockfile. This caused black 26.1.0 (2026 stable style) to be picked up in CI while local had 25.9.0, breaking formatting checks. - Switch CI to `uv sync --extra dev` to respect uv.lock - Upgrade black 25.9.0 -> 26.1.0 in lockfile - Reformat test_e2e.py for black 26.1.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR fixes a CI dependency management issue where uv pip install -e .[dev] was resolving dependencies fresh from PyPI, ignoring the lockfile. This caused CI to pick up black 26.1.0 while local development had 25.9.0, leading to formatting check failures.
Changes:
- Switch CI from
uv pip install -e .[dev]touv sync --extra devto respect the lockfile - Upgrade black from 25.9.0 to 26.1.0 in the lockfile
- Reformat test_e2e.py to comply with black 26.1.0's formatting style
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/ci.yml | Updated dependency installation to use uv sync --extra dev instead of uv venv + uv pip install -e .[dev] to ensure lockfile is respected |
| uv.lock | Upgraded black from 25.9.0 to 26.1.0, along with its dependencies (pathspec 0.12.1 -> 1.0.4, pytokens 0.1.10 -> 0.4.1), and bumped package version from 1.0.0 to 1.0.1 |
| tests/test_e2e.py | Reformatted all write_text() calls to match black 26.1.0's style (triple-quoted strings now on same line as opening parenthesis) |
| pyproject.toml | Bumped version from 1.0.0 to 1.0.1 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
CI was using
uv pip install -e .[dev]which resolves fresh from PyPI, ignoring the lockfile. This caused black 26.1.0 (2026 stable style) to be picked up in CI while local had 25.9.0, breaking formatting checks.uv sync --extra devto respect uv.lock