git: 4e082fcad103 - main - misc/py-langgraph: Add tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 30 Jun 2026 07:12:40 UTC
The branch main has been updated by yuri:

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

commit 4e082fcad103fc55f095e14f921c1c3800cb4f77
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-30 06:55:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-30 07:12:15 +0000

    misc/py-langgraph: Add tests
---
 misc/py-langgraph/Makefile | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/misc/py-langgraph/Makefile b/misc/py-langgraph/Makefile
index 324979010b58..a2e1a3c6f75e 100644
--- a/misc/py-langgraph/Makefile
+++ b/misc/py-langgraph/Makefile
@@ -20,6 +20,23 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}langchain-core>=1.4.7:misc/py-langchain-core
 		${PYTHON_PKGNAMEPREFIX}langgraph-sdk>=0.4.2:misc/py-langgraph-sdk@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.7.4:devel/py-pydantic2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}xxhash>=3.5.0:devel/py-xxhash@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}langchain-core>=1.0.0:misc/py-langchain-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}langgraph-checkpoint>=0:misc/py-langgraph-checkpoint@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}langgraph-prebuilt>=0:misc/py-langgraph-prebuilt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}langgraph-sdk>=0:misc/py-langgraph-sdk@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}py-spy>=0:devel/py-py-spy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyperf>=0:devel/py-pyperf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-dotenv>=0:devel/py-pytest-dotenv@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-repeat>=0:devel/py-pytest-repeat@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-watcher>=0:devel/py-pytest-watcher@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}syrupy>=0:devel/py-syrupy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}uvloop>=0:devel/py-uvloop@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	pep517 autoplist pytest
@@ -28,4 +45,8 @@ NO_ARCH=	yes
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
+# tests as of 1.2.6: not run - fails with ModuleNotFoundError: langgraph.cache.sqlite
+# (langgraph-checkpoint-sqlite, langgraph-checkpoint-postgres, langgraph-cli and
+# psycopg-binary are not ported)
+
 .include <bsd.port.mk>