Skip to content

Fix CI using unpinned deps by switching to uv sync#8

Merged
ofekby merged 1 commit intomainfrom
fix/ci-lockfile-sync
Feb 16, 2026
Merged

Fix CI using unpinned deps by switching to uv sync#8
ofekby merged 1 commit intomainfrom
fix/ci-lockfile-sync

Conversation

@ofekby
Copy link
Collaborator

@ofekby ofekby commented Feb 16, 2026

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

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>
Copilot AI review requested due to automatic review settings February 16, 2026 09:54
@ofekby ofekby merged commit bc5b9fc into main Feb 16, 2026
12 checks passed
Copy link

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 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] to uv sync --extra dev to 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.

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.

2 participants