mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-07 04:24:12 +00:00
fix: add Python 3.14 support via grpcio version constraints (#17666)
* fix: add Python 3.14 support via grpcio version constraints Updates grpcio dependency to support Python 3.14 while maintaining backward compatibility: - Python <3.14: grpcio >=1.62.3,<1.68.0 (avoids buggy 1.68.x versions) - Python >=3.14: grpcio >=1.75.0 (has cp314 wheels + bug fix) The grpc/grpc#38290 bug was fixed in grpcio 1.75.0+, which also added Python 3.14 wheel support. Fixes #15504 Fixes #17374 * chore: regenerate poetry.lock Update lock file to match pyproject.toml changes for grpcio Python 3.14 conditional dependency.
This commit is contained in:
Generated
+1642
-564
File diff suppressed because it is too large
Load Diff
+8
-1
@@ -67,7 +67,14 @@ polars = {version = "^1.31.0", optional = true, python = ">=3.10"}
|
||||
semantic-router = {version = ">=0.1.12", optional = true, python = ">=3.9,<3.14"}
|
||||
mlflow = {version = ">3.1.4", optional = true, python = ">=3.10"}
|
||||
soundfile = {version = "^0.12.1", optional = true}
|
||||
grpcio = ">=1.62.3,<1.68.0" # Constrain to < 1.68.0 to avoid resource exhausted bug (https://github.com/grpc/grpc/issues/38290). Minimum 1.62.3 required by grpcio-status.
|
||||
# grpcio constraints:
|
||||
# - 1.62.3+ required by grpcio-status
|
||||
# - 1.68.0-1.68.1 has reconnect bug (https://github.com/grpc/grpc/issues/38290)
|
||||
# - 1.75.0+ has Python 3.14 wheels and bug fix
|
||||
grpcio = [
|
||||
{version = ">=1.62.3,<1.68.0", python = "<3.14"},
|
||||
{version = ">=1.75.0", python = ">=3.14"},
|
||||
]
|
||||
|
||||
[tool.poetry.extras]
|
||||
proxy = [
|
||||
|
||||
+3
-1
@@ -39,7 +39,9 @@ azure-storage-file-datalake==12.20.0 # for azure buck storage logging
|
||||
opentelemetry-api==1.25.0
|
||||
opentelemetry-sdk==1.25.0
|
||||
opentelemetry-exporter-otlp==1.25.0
|
||||
grpcio>=1.62.3,<1.68.0 # Constraint for opentelemetry-exporter-otlp-proto-grpc to avoid resource exhausted bug (https://github.com/grpc/grpc/issues/38290)
|
||||
# grpcio: 1.68.0-1.68.1 has reconnect bug (#38290), 1.75+ has Python 3.14 wheels + fix
|
||||
grpcio>=1.62.3,<1.68.0; python_version < "3.14"
|
||||
grpcio>=1.75.0; python_version >= "3.14"
|
||||
sentry_sdk==2.21.0 # for sentry error handling
|
||||
detect-secrets==1.5.0 # Enterprise - secret detection / masking in LLM requests
|
||||
cryptography==44.0.1
|
||||
|
||||
Reference in New Issue
Block a user