Skip to content

Avoid using typing.Self in stub files pre-Python 3.11#14230

Merged
charliermarsh merged 1 commit intomainfrom
charlie/self
Nov 9, 2024
Merged

Avoid using typing.Self in stub files pre-Python 3.11#14230
charliermarsh merged 1 commit intomainfrom
charlie/self

Conversation

@charliermarsh
Copy link
Member

Summary

See: #14217 (comment).

This means we're recommending typing_extensions in non-stubs pre-3.11, which may not be a valid project dependency, but that's a separate issue (#9761).

@charliermarsh charliermarsh added the bug Something isn't working label Nov 9, 2024
@charliermarsh charliermarsh requested review from AlexWaygood and removed request for AlexWaygood November 9, 2024 17:49
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@AlexWaygood
Copy link
Member

Thanks!

@charliermarsh charliermarsh merged commit 1279c20 into main Nov 9, 2024
@charliermarsh charliermarsh deleted the charlie/self branch November 9, 2024 18:17
@charliermarsh
Copy link
Member Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants