Simplify typing_extensions pin #728
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Summary
typing_extensions 4.7.0 didn't work on PyPy-3.7 and PyPy-3.8, which led you to (very reasonably!) add an upper bound to your typing_extensions dependency on PyPy. However, we've since fixed the PyPy issues in typing_extensions 4.7.1 by working around the bug in PyPy-3.7 and PyPy-3.8 that caused the breakage.
Since typing_extensions 4.7.1 should work fine on PyPy-3.7 and PyPy-3.8, it should be fine to get rid of the upper bound now.
Loosening the pin here will also give typing_extensions the option of running pydantic's tests with typing_extensions's main branch on more PyPy versions in CI as part of our third-party nightly workflow. Doing that should hopefully reduce the chance of breakages like this in the future :)
Related issue number
No issue number, but this is a followup to these PRs:
Checklist
pydantic-core
(except for expected changes)