git: 9d7f052842c9 - main - misc/py-langchain-google-genai: update 4.3.2 → 4.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Sep 2026 10:10:27 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9d7f052842c9e39af1a2fb54407accc9f74fe838
commit 9d7f052842c9e39af1a2fb54407accc9f74fe838
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-07 07:25:21 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-07 10:09:54 +0000
misc/py-langchain-google-genai: update 4.3.2 → 4.4.0
---
misc/py-langchain-google-genai/Makefile | 26 +++++++++++++++++++++-----
misc/py-langchain-google-genai/distinfo | 6 +++---
2 files changed, 24 insertions(+), 8 deletions(-)
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,5 +1,5 @@
PORTNAME= langchain-google-genai
-DISTVERSION= 4.3.2
+DISTVERSION= 4.4.0
CATEGORIES= misc python # machine-learning
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +15,14 @@ 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} \
@@ -37,7 +37,23 @@ 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 <bsd.port.mk>
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