Skip to content

Commit

Permalink
Pin pydantic to < 2.0.0 (#37000) (#37018)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwguo authored Jul 3, 2023
1 parent 2441e73 commit 879249b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ starlette
typer
fsspec
pandas>=1.3
pydantic
pydantic<2
py-spy>=0.2.0
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def get_packages(self):
"requests",
"gpustat >= 1.0.0", # for windows
"opencensus",
"pydantic",
"pydantic < 2", # 2.0.0 brings breaking changes
"prometheus_client >= 0.7.1",
"smart_open",
"virtualenv >=20.0.24, < 20.21.1", # For pip runtime env.
Expand Down

0 comments on commit 879249b

Please sign in to comment.