Skip to content

Commit 12073b8

Browse files
adriangbdmontagu
andauthored
Fix installation with pypy3.7 and pypy3.8 (#716)
Co-authored-by: David Montague <[email protected]>
1 parent 081cf31 commit 12073b8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pyproject.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[build-system]
2-
requires = ['maturin>=1,<2', 'typing_extensions']
2+
requires = [
3+
'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"'
6+
]
37
build-backend = 'maturin'
48

59
[project]
@@ -29,7 +33,8 @@ classifiers = [
2933
'Typing :: Typed',
3034
]
3135
dependencies = [
32-
'typing_extensions; python_version < "3.11.0"'
36+
'typing-extensions >=4.6.0; platform_python_implementation != "PyPy"',
37+
'typing-extensions >=4.6.0,<4.7.0; platform_python_implementation == "PyPy"'
3338
]
3439
dynamic = [
3540
'description',

0 commit comments

Comments
 (0)