Skip to content

Fix pyrefly 1.2.0 type-check failure - #1811

Merged
evroon merged 1 commit into
dependabot/uv/backend/pyrefly-1.2.0from
copilot/fix-github-actions-job-failure-again
Sep 1, 2026
Merged

Fix pyrefly 1.2.0 type-check failure#1811
evroon merged 1 commit into
dependabot/uv/backend/pyrefly-1.2.0from
copilot/fix-github-actions-job-failure-again

Conversation

Copilot AI commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

The backend Actions job failed after upgrading Pyrefly to 1.2.0, which rejected NewType identifiers as keys in the foreign-key validation lookup.

  • Typing: Update the lookup annotation to accept runtime NewType keys without changing behavior.
check_lookup: dict[Any, CheckCallableT] = {
    StageId: check_stage_belongs_to_tournament,
    TeamId: check_team_belongs_to_tournament,
}

Co-authored-by: evroon <11857441+evroon@users.noreply.github.com>
@evroon
evroon marked this pull request as ready for review September 1, 2026 06:08
@evroon
evroon merged commit 2e311fd into dependabot/uv/backend/pyrefly-1.2.0 Sep 1, 2026
3 checks passed
@evroon
evroon deleted the copilot/fix-github-actions-job-failure-again branch September 1, 2026 06:09
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