git: b7e1cea1d0cd - main - misc/py-langchain-huggingface: update 1.2.2 → 1.2.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 11 Oct 2026 05:04:06 UTC
The branch main has been updated by yuri:

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

commit b7e1cea1d0cdf32e7a75e148f7a89c4a7781e34e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-11 04:11:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-11 05:03:36 +0000

    misc/py-langchain-huggingface: update 1.2.2 → 1.2.3
---
 misc/py-langchain-huggingface/Makefile | 10 +++++++---
 misc/py-langchain-huggingface/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/misc/py-langchain-huggingface/Makefile b/misc/py-langchain-huggingface/Makefile
index 34b3828c2a94..f477a502de0e 100644
--- a/misc/py-langchain-huggingface/Makefile
+++ b/misc/py-langchain-huggingface/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	langchain-huggingface
-DISTVERSION=	1.2.2
+DISTVERSION=	1.2.3
 CATEGORIES=	misc python # machine-learning
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0.33.4:misc/py-huggingface-hub@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}langchain-core>=1.2.31:misc/py-langchain-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}langchain-core>=1.6.6:misc/py-langchain-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tokenizers>=0.19.1:textproc/py-tokenizers@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=1.3.0:devel/py-pytest-asyncio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-socket>=0.7.0:devel/py-pytest-socket@${PY_FLAVOR} \
@@ -29,7 +29,11 @@ NO_ARCH=	yes
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 TEST_WRKSRC=	${WRKSRC}/tests/unit_tests
+# test_from_model_id_uses_torch_accelerator_device_count fails with accelerate
+# because the accelerated model cannot be moved to a specific device in the
+# test environment.
+TEST_ARGS=	--deselect=test_huggingface_pipeline.py::test_from_model_id_uses_torch_accelerator_device_count
 
-# tests as of 1.2.2: 20 passed, 17 skipped, 19 warnings in 8.68s
+# tests as of 1.2.3: 43 passed, 1 deselected, 19 warnings
 
 .include <bsd.port.mk>
diff --git a/misc/py-langchain-huggingface/distinfo b/misc/py-langchain-huggingface/distinfo
index 2ee6d76aafff..4f315ea96daa 100644
--- a/misc/py-langchain-huggingface/distinfo
+++ b/misc/py-langchain-huggingface/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1784051084
-SHA256 (langchain_huggingface-1.2.2.tar.gz) = 1dd91ec415190d2704e93ec149618e3145075863ba37e74afc9080d685dc2743
-SIZE (langchain_huggingface-1.2.2.tar.gz) = 255513
+TIMESTAMP = 1791664190
+SHA256 (langchain_huggingface-1.2.3.tar.gz) = 9848339ce197d48dd95668c2aac32a4523ca879840a31ebcef59a5b616315826
+SIZE (langchain_huggingface-1.2.3.tar.gz) = 282933