Skip to content

Commit 83c860f

Browse files
committed
Pin typing_extenions version
1 parent 04be5f3 commit 83c860f

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
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==4.6.3',
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',

python/pydantic_core/core_schema.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ def dict_not_none(**kwargs: Any) -> Any:
3333

3434
ExtraBehavior = Literal['allow', 'forbid', 'ignore']
3535

36-
assert False, TypedDict
37-
3836

3937
class CoreConfig(TypedDict, total=False):
4038
"""

tests/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ pytest-pretty==1.1.1
99
pytest-timeout==2.1.0
1010
pydantic==1.10.4;python_version>="3.8"
1111
pytz==2022.7.1
12-
typing_extensions==4.6.3

0 commit comments

Comments
 (0)