forked from phoenix/litellm-mirror
build(pyproject.toml): require pydantic v2
https://github.com/BerriAI/litellm/pull/3670 moved to pydantic v2. This created issues for people using sdk with pydantic v1. Move to requiring pydantic v2
This commit is contained in:
parent
c059352908
commit
ffea0a2aed
2 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ click = "*"
|
||||||
jinja2 = "^3.1.2"
|
jinja2 = "^3.1.2"
|
||||||
aiohttp = "*"
|
aiohttp = "*"
|
||||||
requests = "^2.31.0"
|
requests = "^2.31.0"
|
||||||
|
pydantic = "^2.0.0"
|
||||||
|
|
||||||
uvicorn = {version = "^0.22.0", optional = true}
|
uvicorn = {version = "^0.22.0", optional = true}
|
||||||
gunicorn = {version = "^22.0.0", optional = true}
|
gunicorn = {version = "^22.0.0", optional = true}
|
||||||
|
|
|
@ -43,5 +43,5 @@ certifi==2023.7.22 # [TODO] clean up
|
||||||
aiohttp==3.9.0 # for network calls
|
aiohttp==3.9.0 # for network calls
|
||||||
aioboto3==12.3.0 # for async sagemaker calls
|
aioboto3==12.3.0 # for async sagemaker calls
|
||||||
tenacity==8.2.3 # for retrying requests, when litellm.num_retries set
|
tenacity==8.2.3 # for retrying requests, when litellm.num_retries set
|
||||||
pydantic==2.7.1 # openai req.
|
pydantic==2.7.1 # proxy + openai req.
|
||||||
####
|
####
|
Loading…
Add table
Add a link
Reference in a new issue