mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
Merge 13d852e718 into 7f1b0a4633
This commit is contained in:
commit
5bb2bcc37f
3 changed files with 11 additions and 0 deletions
|
|
@ -72,6 +72,9 @@ proxy = [
|
|||
"hiredis>=3.0.0,<4.0; python_version < '3.15'",
|
||||
"hiredis>=3.5.0,<4.0; python_version >= '3.15'",
|
||||
"apscheduler>=3.11.2,<4.0",
|
||||
# apscheduler resolves the local zone through tzlocal and zoneinfo; tzdata lets that work for
|
||||
# TZ values the OS zone database lacks, such as Asia/Calcutta on Ubuntu 24.04+.
|
||||
"tzdata>=2024.1",
|
||||
"fastapi-sso>=0.19.0,<1.0",
|
||||
"PyJWT>=2.13.0,<3.0",
|
||||
"python-multipart>=0.0.27,<1.0",
|
||||
|
|
|
|||
|
|
@ -79,6 +79,12 @@ def test_cli_extra_is_a_thin_client_install() -> None:
|
|||
assert cli & PROXY_SERVER_ONLY_DEPENDENCIES == frozenset()
|
||||
|
||||
|
||||
def test_proxy_extra_ships_tzdata_for_its_scheduler() -> None:
|
||||
proxy: Final = _requirement_names(OPTIONAL_DEPENDENCIES["proxy"])
|
||||
assert canonicalize_name("apscheduler") in proxy
|
||||
assert canonicalize_name("tzdata") in proxy
|
||||
|
||||
|
||||
def test_declared_aiohttp_floor_excludes_pool_poisoning_releases() -> None:
|
||||
declared: Final = tuple(
|
||||
Requirement(requirement)
|
||||
|
|
|
|||
2
uv.lock
generated
2
uv.lock
generated
|
|
@ -5101,6 +5101,7 @@ proxy = [
|
|||
{ name = "soundfile" },
|
||||
{ name = "starlette" },
|
||||
{ name = "tomlkit" },
|
||||
{ name = "tzdata" },
|
||||
{ name = "uvicorn" },
|
||||
{ name = "uvloop", marker = "sys_platform != 'win32'" },
|
||||
{ name = "websockets" },
|
||||
|
|
@ -5379,6 +5380,7 @@ requires-dist = [
|
|||
{ name = "tomlkit", marker = "extra == 'cli'", specifier = ">=0.13.3,<1.0" },
|
||||
{ name = "tomlkit", marker = "extra == 'proxy'", specifier = ">=0.13.3,<1.0" },
|
||||
{ name = "typing-extensions", specifier = ">=4.13.0,<5.0" },
|
||||
{ name = "tzdata", marker = "extra == 'proxy'", specifier = ">=2024.1" },
|
||||
{ name = "uvicorn", marker = "extra == 'proxy'", specifier = ">=0.33.0,<1.0" },
|
||||
{ name = "uvloop", marker = "sys_platform != 'win32' and extra == 'proxy'", specifier = ">=0.22.1,<1.0" },
|
||||
{ name = "websockets", marker = "extra == 'proxy'", specifier = ">=15.0.1,<16.0" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue