Skip to content

Conversation

@ankith26
Copy link
Member

@ankith26 ankith26 commented Oct 6, 2024

To catch issues like #3149

@ankith26 ankith26 requested a review from a team as a code owner October 6, 2024 20:22
@damusss damusss added tests tests (module) typing pygame.typing labels Oct 6, 2024
@damusss damusss added this to the 2.5.2 milestone Oct 6, 2024
Copy link
Member

@damusss damusss left a comment

Choose a reason for hiding this comment

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

Yeah, good idea. LGTM!

@ankith26
Copy link
Member Author

I have implemented a commit fixing the issue in this PR.

For now, the best fix seems to be reverting the TypeAlias changes entirely. And when our minimum supported python version becomes 3.12 (which should about 3 years from now), we can consider using the new type keyword and the other fancy new typing stuff.

@ankith26 ankith26 linked an issue Oct 10, 2024 that may be closed by this pull request
Copy link
Member

@damusss damusss left a comment

Choose a reason for hiding this comment

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

I agree. Still looking good to me

@ankith26 ankith26 changed the title Add basic pygame.typing unit test Add basic pygame.typing unit test, remove problematic TypeAlias usage Oct 11, 2024
Copy link
Member

@Starbuck5 Starbuck5 left a comment

Choose a reason for hiding this comment

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

Thanks!

@ankith26 ankith26 merged commit dd3df52 into main Oct 12, 2024
@ankith26 ankith26 deleted the ankith26-typing-test branch October 12, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests tests (module) typing pygame.typing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to fix the recent TypeAlias addition

4 participants