diff --git a/misc/py-langchain-google-genai/Makefile b/misc/py-langchain-google-genai/Makefile index 1912528caf68..650d74e59e0b 100644 --- a/misc/py-langchain-google-genai/Makefile +++ b/misc/py-langchain-google-genai/Makefile @@ -1,43 +1,59 @@ PORTNAME= langchain-google-genai -DISTVERSION= 4.3.2 +DISTVERSION= 4.4.0 CATEGORIES= misc python # machine-learning MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Integration package connecting Google's genai package and LangChain WWW= https://github.com/langchain-ai/langchain-google LICENSE= MIT BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}filetype>=1.2.0:devel/py-filetype@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}google-genai>=1.65.0:misc/py-google-genai@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}langchain-core>=1.5.1:misc/py-langchain-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}langchain-core>=1.6.2:misc/py-langchain-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2:devel/py-pydantic2@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>=1.5.0:devel/py-freezegun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}langchain-tests>=1.1.4:misc/py-langchain-tests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.26.4:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=6.33.5:devel/py-protobuf@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>=8.4.0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.21.0:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>0:devel/py-pytest-benchmark@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=3.14.0:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-retry>=1.7.0:devel/py-pytest-retry@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-socket>=0.7.0:devel/py-pytest-socket@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=2.3.1:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-watcher>=0.4.0:devel/py-pytest-watcher@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.8.0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}syrupy>=4.9.0:devel/py-syrupy@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} - -# tests as of 4.3.2: 88 failed, 381 passed, 16 skipped, 6 xfailed, 124 errors in 11.01s +# Integration tests require a GOOGLE_API_KEY and network access. +TEST_ARGS= --ignore=${WRKSRC}/tests/integration_tests \ + --disable-plugin-autoload \ + -p pytest_benchmark \ + -p pytest_benchmark.plugin \ + -p freezegun \ + -p langchain_tests \ + -p pytest_asyncio \ + -p pytest_asyncio.plugin \ + --asyncio-mode=auto \ + -p pytest_mock \ + -p pytest_retry \ + -p socket \ + -p timeout \ + -p xdist \ + -p syrupy + +# tests as of 4.4.0: 528 passed, 3 warnings in 4.74s .include diff --git a/misc/py-langchain-google-genai/distinfo b/misc/py-langchain-google-genai/distinfo index fdaa173fe6a5..3b062f819ecf 100644 --- a/misc/py-langchain-google-genai/distinfo +++ b/misc/py-langchain-google-genai/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1785187628 -SHA256 (langchain_google_genai-4.3.2.tar.gz) = 6471769a4463fedb10d2d19a9b56c31de1cde505edf7fffd8cdbf98af8c1d7da -SIZE (langchain_google_genai-4.3.2.tar.gz) = 286018 +TIMESTAMP = 1788718644 +SHA256 (langchain_google_genai-4.4.0.tar.gz) = 7871beec56ac07b719f77c46997845db6ff2267b817bffb0f97877053b0895d7 +SIZE (langchain_google_genai-4.4.0.tar.gz) = 378415