git: 9798955f1455 - main - misc/py-litellm: Update to 1.97.0

Hiroki Tagato <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9798955f14557203ff8a93462dde7e9753254882

commit 9798955f14557203ff8a93462dde7e9753254882
Author:     Hiroki Tagato <[email protected]>
AuthorDate: 2026-08-18 01:51:18 +0000
Commit:     Hiroki Tagato <[email protected]>
CommitDate: 2026-08-18 02:03:27 +0000

    misc/py-litellm: Update to 1.97.0
    
    While here, add USE_PYTHON=pytest.
    
    Changelog: https://github.com/BerriAI/litellm/releases/tag/v1.97.0
    
    Reported by:    portscout
---
 misc/py-litellm/Makefile                   | 9 +++++----
 misc/py-litellm/distinfo                   | 6 +++---
 misc/py-litellm/files/patch-pyproject.toml | 4 ++--
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/misc/py-litellm/Makefile b/misc/py-litellm/Makefile
index f719a1d49503..0832d2a7f530 100644
--- a/misc/py-litellm/Makefile
+++ b/misc/py-litellm/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	litellm
-DISTVERSION=	1.96.2
+DISTVERSION=	1.97.0
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -28,7 +28,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fastuuid>=0.14.0<1.0:devel/py-fastuuid@${PY_
 		${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.0<5.0:devel/py-jsonschema@${PY_FLAVOR}
 
 USES=		cargo python shebangfix
-USE_PYTHON=	autoplist concurrent pep517
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 SHEBANG_FILES=	litellm/proxy/start.sh
 bash_CMD=	${SH}
@@ -37,6 +37,7 @@ CARGO_CARGOTOML=${WRKSRC}/litellm-rust/Cargo.toml
 CARGO_CARGOLOCK=${WRKSRC}/litellm-rust/Cargo.lock
 CARGO_BUILD=	no
 CARGO_INSTALL=	no
+CARGO_TEST=	no
 
 MAKE_ENV=	${CARGO_ENV}
 
@@ -61,6 +62,7 @@ PROXY_RUN_DEPENDS=	\
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.3<7.0:devel/py-pyyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rq>=2.7.0<3.0:devel/py-rq@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}orjson>=3.11.6<4.0:devel/py-orjson@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hiredis>=3.0.0<4.0:databases/py-hiredis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}APScheduler>=3.11.2<4.0:devel/py-apscheduler@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}fastapi-sso>=0.19.0<1.0:www/py-fastapi-sso@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyjwt>=2.13.0<3.0:www/py-pyjwt@${PY_FLAVOR} \
@@ -71,14 +73,13 @@ PROXY_RUN_DEPENDS=	\
 		${PYTHON_PKGNAMEPREFIX}azure-identity>=1.25.2<2.0:devel/py-azure-identity@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}azure-storage-blob>=12.28.0<13.0:devel/py-azure-storage-blob@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mcp>=1.28.1<3.0:misc/py-mcp@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}litellm-proxy-extras>=0.4.81:misc/py-litellm-proxy-extras@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}litellm-proxy-extras>=0.4.84:misc/py-litellm-proxy-extras@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=13.9.4<16.0:textproc/py-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}polars>=1.38.1<2.0:misc/py-polars@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}soundfile>=0.12.1<1.0:audio/py-SoundFile@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}expression>=5.6.0<6.0:devel/py-expression@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.32.0<3.0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}prisma>=0.11.0<1.0:databases/py-prisma@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}azure-identity>=1.25.2<2.0:devel/py-azure-identity@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}azure-keyvault-secrets>=4.10.0<5.0:security/py-azure-keyvault-secrets@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}google-cloud-kms>=2.24.2<4.0:security/py-google-cloud-kms@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}google-cloud-iam>=2.19.1<3.0:devel/py-google-cloud-iam@${PY_FLAVOR} \
diff --git a/misc/py-litellm/distinfo b/misc/py-litellm/distinfo
index 0dca1ccaca1c..1234605f2ced 100644
--- a/misc/py-litellm/distinfo
+++ b/misc/py-litellm/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1786598024
-SHA256 (litellm-1.96.2.tar.gz) = 80d477ae092b05ce023b5084542cb3cb75999b52b1dd2e4d834fb348effc9399
-SIZE (litellm-1.96.2.tar.gz) = 17682558
+TIMESTAMP = 1787011043
+SHA256 (litellm-1.97.0.tar.gz) = 6f7ce326a2e5385ef850e0b0768d41f502ec79278860090a838511cea067b067
+SIZE (litellm-1.97.0.tar.gz) = 17762282
 SHA256 (rust/crates/arc-swap-1.9.2.crate) = c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b
 SIZE (rust/crates/arc-swap-1.9.2.crate) = 81495
 SHA256 (rust/crates/async-trait-0.1.91.crate) = ae36dc4177970ef04fde5178d3e2429882def40e57a451f919c098f72baa6cec
diff --git a/misc/py-litellm/files/patch-pyproject.toml b/misc/py-litellm/files/patch-pyproject.toml
index dcbe6ef4b48b..b2648aefb141 100644
--- a/misc/py-litellm/files/patch-pyproject.toml
+++ b/misc/py-litellm/files/patch-pyproject.toml
@@ -1,6 +1,6 @@
---- pyproject.toml.orig	2026-08-09 01:21:15 UTC
+--- pyproject.toml.orig	2026-08-15 23:56:31 UTC
 +++ pyproject.toml
-@@ -254,7 +254,7 @@ healthcheck = [
+@@ -256,7 +256,7 @@ healthcheck = [
  ]
  
  [build-system]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.