mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-21 08:26:34 +00:00
[Release - 02/10/2026] v1.81.10-nightly
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import pkg_resources
|
||||
|
||||
import requests
|
||||
from packaging.requirements import Requirement
|
||||
from pathlib import Path
|
||||
import json
|
||||
from typing import Dict, List, Optional, Set, Tuple
|
||||
@@ -213,7 +214,7 @@ class LicenseChecker:
|
||||
try:
|
||||
with open(requirements_file) as f:
|
||||
requirements = [
|
||||
pkg_resources.Requirement.parse(line)
|
||||
Requirement(line.strip())
|
||||
for line in f
|
||||
if line.strip() and not line.startswith("#")
|
||||
]
|
||||
@@ -225,8 +226,10 @@ class LicenseChecker:
|
||||
|
||||
for req in requirements:
|
||||
try:
|
||||
version = next(iter(req.specs))[1] if req.specs else None
|
||||
except Exception:
|
||||
version = (
|
||||
next(iter(req.specifier)).version if req.specifier else None
|
||||
)
|
||||
except StopIteration:
|
||||
version = None
|
||||
|
||||
if not self.check_package(req.name, version):
|
||||
|
||||
@@ -111,6 +111,7 @@ ddtrace: >=2.19.0 # Unknown license
|
||||
orjson: >=3.10.12 # Unknown license
|
||||
apscheduler: >=3.10.4 # Unknown license
|
||||
fastapi-sso: >=0.16.0 # Unknown license
|
||||
filelock: >=3.20.0 # Unlicense (public domain) - https://unlicense.org / https://github.com/tox-dev/filelock
|
||||
pyjwt: >=2.9.0 # Unknown license
|
||||
python-multipart: >=0.0.18 # Unknown license
|
||||
pillow: >=11.0.0 # Unknown license
|
||||
@@ -123,6 +124,7 @@ opentelemetry-exporter-otlp: >=1.25.0 # Unknown license
|
||||
sentry_sdk: >=2.21.0 # Unknown license
|
||||
cryptography: >=43.0.1 # Unknown license
|
||||
tzdata: >=2025.1 # Unknown license
|
||||
urllib3: >=2.0.0 # MIT license - https://github.com/urllib3/urllib3
|
||||
python-dotenv: >=1.0.0 # Unknown license
|
||||
tiktoken: >=0.8.0 # Unknown license
|
||||
click: >=8.1.7 # Unknown license
|
||||
|
||||
@@ -42,6 +42,7 @@ IGNORE_FUNCTIONS = [
|
||||
"_validate_inheritance_chain", # max depth set (default 100) to prevent infinite recursion in policy inheritance validation.
|
||||
"_basic_json_schema_validate", # max depth set.
|
||||
"extract_text_from_a2a_message", # max depth set (default 10) to prevent infinite recursion in A2A message parsing.
|
||||
"_convert_to_json_serializable_dict", # max depth set (default 20) and circular reference protection to prevent infinite recursion.
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user