Skip to content

Fix stubtest's tests to work with the latest typing_extensions release#16588

Merged
JelleZijlstra merged 1 commit into
python:masterfrom
AlexWaygood:typing-extensions-fix
Nov 30, 2023
Merged

Fix stubtest's tests to work with the latest typing_extensions release#16588
JelleZijlstra merged 1 commit into
python:masterfrom
AlexWaygood:typing-extensions-fix

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

@AlexWaygood AlexWaygood commented Nov 29, 2023

Stubtest's tests will start failing when typing_extensions==4.9.0 comes out, due to some new ClassVars on typing_extensions.TypedDict. This PR fixes that.

Fixes python/typing_extensions#309

@AlexWaygood
Copy link
Copy Markdown
Member Author

(I've verified locally that this fixes the stubtest CI errors we saw in python/typing_extensions#307)

@srittau
Copy link
Copy Markdown
Contributor

srittau commented Nov 30, 2023

Could this be considered for 1.7.2, @hauntsaninja ?

@AlexWaygood
Copy link
Copy Markdown
Member Author

AlexWaygood commented Nov 30, 2023

Could this be considered for 1.7.2, @hauntsaninja ?

It doesn't need to be; all we need to get the daily test passing at typing_extensions is for this to be merged into the mypy master branch. The daily workflow at typing_extensions just checks out the mypy master branch and runs the stubtest tests with that.

@JelleZijlstra JelleZijlstra merged commit 95e7fcb into python:master Nov 30, 2023
@AlexWaygood AlexWaygood deleted the typing-extensions-fix branch November 30, 2023 17:47
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.

Third-party tests failed on Thu Nov 30 2023

4 participants