diff --git a/misc/py-openai/Makefile b/misc/py-openai/Makefile index 333b255f3a1f..aae0251f5e87 100644 --- a/misc/py-openai/Makefile +++ b/misc/py-openai/Makefile @@ -1,46 +1,47 @@ PORTNAME= openai -DISTVERSION= 1.38.0 +DISTVERSION= 1.42.0 CATEGORIES= misc # machine-learning MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python client library for the OpenAI API WWW= https://github.com/openai/openai-python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.5.0:devel/py-anyio@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.5.0<5:devel/py-anyio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>=1.7.0<2.0.0:sysutils/py-distro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0<1:www/py-httpx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>=1.9.0<3:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sniffio>0:devel/py-sniffio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>4:misc/py-tqdm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.7:devel/py-typing-extensions@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.11<5:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jiter>=0.4.0<1:textproc/py-jiter@${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 pytest # tests fail because api_key needs to be set TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes .include diff --git a/misc/py-openai/distinfo b/misc/py-openai/distinfo index b51cd8160c6d..b3064e204015 100644 --- a/misc/py-openai/distinfo +++ b/misc/py-openai/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1722665443 -SHA256 (openai-1.38.0.tar.gz) = 30fb324bf452ecb1194ca7dbc64566a4d7aa054c6a5da857937ede7d517a220b -SIZE (openai-1.38.0.tar.gz) = 257665 +TIMESTAMP = 1724292790 +SHA256 (openai-1.42.0.tar.gz) = c9d31853b4e0bc2dc8bd08003b462a006035655a701471695d0bfdc08529cde3 +SIZE (openai-1.42.0.tar.gz) = 290549