This commit is contained in:
Satwik Bankapur 2026-11-05 23:06:55 +00:00 • committed by GitHub
commit 5bb2bcc37f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 0 deletions

View file

@ -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",

View file

@ -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
View file

@ -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" },