Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 07:06:01 GMT
From:      Hiroki Tagato <tagattie@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 43ab73da0485 - main - misc/py-litellm: update to 1.56.4
Message-ID:  <202412310706.4BV761Mg076895@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=43ab73da0485ad1fc64a0f5869878990f6b22fef

commit 43ab73da0485ad1fc64a0f5869878990f6b22fef
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2024-12-31 07:04:48 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2024-12-31 07:05:56 +0000

    misc/py-litellm: update to 1.56.4
    
    While here, relax upper version spec for py-httpx.
    
    Changelog: https://github.com/BerriAI/litellm/releases
    
    Reported by:    portscout
---
 misc/py-litellm/Makefile                   |  5 ++---
 misc/py-litellm/distinfo                   |  6 +++---
 misc/py-litellm/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/misc/py-litellm/Makefile b/misc/py-litellm/Makefile
index eaa4972f522f..dcf1366ac008 100644
--- a/misc/py-litellm/Makefile
+++ b/misc/py-litellm/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	litellm
-DISTVERSION=	1.55.9
+DISTVERSION=	1.56.4
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0<0.28.0:www/py-httpx@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0<1.0.0:www/py-httpx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}openai>=1.55.3:misc/py-openai@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.2.0:www/py-python-dotenv@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tiktoken>=0.7.0:textproc/py-tiktoken@${PY_FLAVOR} \
@@ -22,7 +22,6 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0<0.28.0:www/py-httpx@${PY_FLAVO
 		${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2<4.0.0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.31.0<3.0.0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0<3.0.0:devel/py-pydantic2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jsonschema>=4.22.0<5.0.0:devel/py-jsonschema@${PY_FLAVOR}
 
diff --git a/misc/py-litellm/distinfo b/misc/py-litellm/distinfo
index 205891aa6df5..aba485c01448 100644
--- a/misc/py-litellm/distinfo
+++ b/misc/py-litellm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735005168
-SHA256 (litellm-1.55.9.tar.gz) = 861be3447552db32da05abff8af4945d1dd84df2f4b10985f97120dca5c07a42
-SIZE (litellm-1.55.9.tar.gz) = 6203068
+TIMESTAMP = 1735627243
+SHA256 (litellm-1.56.4.tar.gz) = 2808ca21878d200f7676a3d11e5bf2b5e3349ae504628f279cd7297c7dbd2038
+SIZE (litellm-1.56.4.tar.gz) = 6284983
diff --git a/misc/py-litellm/files/patch-pyproject.toml b/misc/py-litellm/files/patch-pyproject.toml
new file mode 100644
index 000000000000..6ad19ac96f63
--- /dev/null
+++ b/misc/py-litellm/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-12-31 06:42:16 UTC
++++ pyproject.toml
+@@ -17,7 +17,7 @@ python = ">=3.8.1,<4.0, !=3.9.7"
+ 
+ [tool.poetry.dependencies]
+ python = ">=3.8.1,<4.0, !=3.9.7"
+-httpx = ">=0.23.0,<0.28.0"
++httpx = ">=0.23.0,<1.0.0"
+ openai = ">=1.55.3"
+ python-dotenv = ">=0.2.0"
+ tiktoken = ">=0.7.0"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412310706.4BV761Mg076895>