Skip to content

Commit 0d12efd

Browse files
authored
allow typing-extensions-4.7.0+ on pypy3.9+ (#723)
1 parent 7da65c4 commit 0d12efd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build-system]
22
requires = [
33
'maturin>=1,<2',
4-
'typing-extensions >=4.6.0; platform_python_implementation != "PyPy"',
5-
'typing-extensions >=4.6.0,<4.7.0; platform_python_implementation == "PyPy"'
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"'
66
]
77
build-backend = 'maturin'
88

@@ -33,8 +33,8 @@ classifiers = [
3333
'Typing :: Typed',
3434
]
3535
dependencies = [
36-
'typing-extensions >=4.6.0; platform_python_implementation != "PyPy"',
37-
'typing-extensions >=4.6.0,<4.7.0; platform_python_implementation == "PyPy"'
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"'
3838
]
3939
dynamic = [
4040
'description',

0 commit comments

Comments
 (0)