Skip to content

[v3-2-test] Sync local virtualenv before mypy and freeze uv.lock hook (#65326)#65334

Merged
potiuk merged 1 commit into
v3-2-testfrom
backport-9b08d05-v3-2-test
Apr 18, 2026
Merged

[v3-2-test] Sync local virtualenv before mypy and freeze uv.lock hook (#65326)#65334
potiuk merged 1 commit into
v3-2-testfrom
backport-9b08d05-v3-2-test

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Mypy checks for non-provider projects now synchronize the local
virtualenv with uv.lock (uv sync --frozen) before running, so contributors
see the same dependency set CI uses and avoid results that drift from CI.

The update-uv-lock prek hook now runs with --frozen, so pyproject.toml
changes that would touch uv.lock fail the hook and require an explicit
uv lock + commit instead of silently rewriting the lock during a commit.
(cherry picked from commit 9b08d05)

Co-authored-by: Jarek Potiuk jarek@potiuk.com

…#65326)

Mypy checks for non-provider projects now synchronize the local
virtualenv with uv.lock (uv sync --frozen) before running, so contributors
see the same dependency set CI uses and avoid results that drift from CI.

The update-uv-lock prek hook now runs with --frozen, so pyproject.toml
changes that would touch uv.lock fail the hook and require an explicit
uv lock + commit instead of silently rewriting the lock during a commit.
(cherry picked from commit 9b08d05)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk potiuk force-pushed the backport-9b08d05-v3-2-test branch from ae69cbe to 6aa127a Compare April 18, 2026 07:26
@potiuk potiuk merged commit f0d96ec into v3-2-test Apr 18, 2026
71 checks passed
@potiuk potiuk deleted the backport-9b08d05-v3-2-test branch April 18, 2026 08:13
vatsrahul1001 pushed a commit that referenced this pull request Apr 20, 2026
…#65326) (#65334)

Mypy checks for non-provider projects now synchronize the local
virtualenv with uv.lock (uv sync --frozen) before running, so contributors
see the same dependency set CI uses and avoid results that drift from CI.

The update-uv-lock prek hook now runs with --frozen, so pyproject.toml
changes that would touch uv.lock fail the hook and require an explicit
uv lock + commit instead of silently rewriting the lock during a commit.
(cherry picked from commit 9b08d05)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 23, 2026
…#65326) (#65334)

Mypy checks for non-provider projects now synchronize the local
virtualenv with uv.lock (uv sync --frozen) before running, so contributors
see the same dependency set CI uses and avoid results that drift from CI.

The update-uv-lock prek hook now runs with --frozen, so pyproject.toml
changes that would touch uv.lock fail the hook and require an explicit
uv lock + commit instead of silently rewriting the lock during a commit.
(cherry picked from commit 9b08d05)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 27, 2026
…#65326) (#65334)

Mypy checks for non-provider projects now synchronize the local
virtualenv with uv.lock (uv sync --frozen) before running, so contributors
see the same dependency set CI uses and avoid results that drift from CI.

The update-uv-lock prek hook now runs with --frozen, so pyproject.toml
changes that would touch uv.lock fail the hook and require an explicit
uv lock + commit instead of silently rewriting the lock during a commit.
(cherry picked from commit 9b08d05)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@vatsrahul1001 vatsrahul1001 added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label May 19, 2026
vatsrahul1001 pushed a commit that referenced this pull request May 20, 2026
…#65326) (#65334)

Mypy checks for non-provider projects now synchronize the local
virtualenv with uv.lock (uv sync --frozen) before running, so contributors
see the same dependency set CI uses and avoid results that drift from CI.

The update-uv-lock prek hook now runs with --frozen, so pyproject.toml
changes that would touch uv.lock fail the hook and require an explicit
uv lock + commit instead of silently rewriting the lock during a commit.
(cherry picked from commit 9b08d05)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants