Skip to content

Core: fix Set import#6235

Open
beauxq wants to merge 1 commit into
ArchipelagoMW:mainfrom
beauxq:fix-base-set
Open

Core: fix Set import#6235
beauxq wants to merge 1 commit into
ArchipelagoMW:mainfrom
beauxq:fix-base-set

Conversation

@beauxq

@beauxq beauxq commented May 30, 2026

Copy link
Copy Markdown
Collaborator

What is this fixing or adding?

mistake made in pr #5048

#5048 (comment)

Also see https://docs.astral.sh/ruff/rules/unaliased-collections-abc-set-import/ for more information.

How was this tested?

just looking at type checking a little bit
counting on CI tests

@github-actions github-actions Bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels May 30, 2026
@beauxq beauxq mentioned this pull request May 30, 2026

@duckboycool duckboycool left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might make more sense to just revert to importing AbstractSet from typing for now instead of manually aliasing collections.abc.Set, but I can confirm the mistake here and that this resolves the type checker errors caused by this.

@Jouramie Jouramie added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects: core Issues/PRs that touch core and may need additional validation. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants