Skip to content

Commit b548366

Browse files
authored
Simplify typing_extensions pin
We fixed the PyPy issues in [typing_extensions 4.7.1](https://github.com/python/typing_extensions/releases/tag/4.7.1) by working around [the bug in PyPy-3.7 and PyPy-3.8](https://foss.heptapod.net/pypy/pypy/-/issues/3958). Loosening the pin here will give us 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](https://github.com/python/typing_extensions/blob/main/.github/workflows/third_party.yml). Doing that should hopefully reduce the chance of breakages like this in the future :)
1 parent 3796409 commit b548366

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[build-system]
22
requires = [
33
'maturin>=1,<2',
4-
'typing-extensions >=4.6.0; platform_python_implementation != "PyPy" or python_version >= "3.9"',
5-
'typing-extensions >=4.6.0,<4.7.0; platform_python_implementation == "PyPy" and python_version < "3.9"'
4+
'typing-extensions >=4.6.0,!=4.7.0'
65
]
76
build-backend = 'maturin'
87

@@ -33,8 +32,7 @@ classifiers = [
3332
'Typing :: Typed',
3433
]
3534
dependencies = [
36-
'typing-extensions >=4.6.0; platform_python_implementation != "PyPy" or python_version >= "3.9"',
37-
'typing-extensions >=4.6.0,<4.7.0; platform_python_implementation == "PyPy" and python_version < "3.9"'
35+
'typing-extensions >=4.6.0,!=4.7.0'
3836
]
3937
dynamic = [
4038
'description',

0 commit comments

Comments
 (0)