git: f3934957b937 - main - misc/py-openai: update 1.35.3 → 1.35.9

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 05 Jul 2024 09:01:51 UTC
The branch main has been updated by yuri:

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

commit f3934957b937bb421913f65347212b9358ec4513
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-05 01:57:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-05 09:01:47 +0000

    misc/py-openai: update 1.35.3 → 1.35.9
    
    Reported by:    portscout
---
 misc/py-openai/Makefile | 17 +++++++++++++++--
 misc/py-openai/distinfo |  6 +++---
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/misc/py-openai/Makefile b/misc/py-openai/Makefile
index 36f86d6b6f7c..119cc51ad5e6 100644
--- a/misc/py-openai/Makefile
+++ b/misc/py-openai/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openai
-DISTVERSION=	1.35.3
+DISTVERSION=	1.35.9
 CATEGORIES=	misc # machine-learning
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -24,9 +24,22 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyio>=3.5.0:devel/py-anyio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.7:devel/py-typing-extensions@${PY_FLAVOR}
 RUN_DEPENDS+=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}pandas>=1.2.3:math/py-pandas@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}azure-identity>0:devel/py-azure-identity@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dirty-equals>=0.6.0:devel/py-dirty-equals@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}importlib-metadata>=6.7.0:devel/py-importlib-metadata@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyright>=1.1.359:devel/py-pyright@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}respx>0:www/py-respx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rich>=13.7.1:textproc/py-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ruff>0:devel/py-ruff@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}time-machine>=0:devel/py-time-machine@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}trio>=0.22.2:net/py-trio@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	pep517 concurrent autoplist
+USE_PYTHON=	pep517 concurrent autoplist pytest # tests fail because api_key needs to be set
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 NO_ARCH=	yes
 
diff --git a/misc/py-openai/distinfo b/misc/py-openai/distinfo
index ce789cba6e5b..4611c87b1333 100644
--- a/misc/py-openai/distinfo
+++ b/misc/py-openai/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1719137616
-SHA256 (openai-1.35.3.tar.gz) = d6177087f150b381d49499be782d764213fdf638d391b29ca692b84dd675a389
-SIZE (openai-1.35.3.tar.gz) = 183106
+TIMESTAMP = 1720134810
+SHA256 (openai-1.35.9.tar.gz) = 4f5c1b90526cf48eaedac7b32d11b5c92fa7064b82617ad8f5f3279cd9ef090d
+SIZE (openai-1.35.9.tar.gz) = 255000