Skip to content

Commit 972a7b7

Browse files
authored
Limit pydantic to v1 (#475)
It appears v2 has breaking changes which we need to adjust for later. This PR adds the fix to the v0.16.x branch, and also.
2 parents 4890ad3 + e1f7af9 commit 972a7b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"time-machine",
2222
"async-solipsism",
2323
]
24-
MYPY_DEPS = ["mypy==0.991", "pandas-stubs", "grpc-stubs"]
24+
MYPY_DEPS = ["mypy==0.991", "pandas-stubs", "grpc-stubs==1.24.12"]
2525

2626

2727
def _source_file_paths(session: nox.Session) -> List[str]:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"pandas >= 1.5.2, < 2",
3535
"protobuf >= 4.21, < 5",
3636
"pyarrow >= 10.0.1, < 11",
37-
"pydantic >= 1.9",
37+
"pydantic >= 1.9, < 2",
3838
"sympy >= 1.10.1, < 2",
3939
"toml >= 0.10",
4040
"tqdm >= 4.38.0, < 5",

0 commit comments

Comments
 (0)