git: 2bbd56f7ba87 - main - misc/py-langchain-aws: update 1.6.3 → 1.7.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Sep 2026 10:10:29 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2bbd56f7ba876730475e3dbfa50d14cb93fc1b23
commit 2bbd56f7ba876730475e3dbfa50d14cb93fc1b23
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-07 07:42:41 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-07 10:09:54 +0000
misc/py-langchain-aws: update 1.6.3 → 1.7.5
---
misc/py-langchain-aws/Makefile | 26 +++++++++++++++++++-------
misc/py-langchain-aws/distinfo | 6 +++---
2 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/misc/py-langchain-aws/Makefile b/misc/py-langchain-aws/Makefile
index bc78019ac0d4..7d6b68085742 100644
--- a/misc/py-langchain-aws/Makefile
+++ b/misc/py-langchain-aws/Makefile
@@ -1,5 +1,5 @@
PORTNAME= langchain-aws
-DISTVERSION= 1.6.3
+DISTVERSION= 1.7.5
CATEGORIES= misc python # machine-learning
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +15,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.43.32:www/py-boto3@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}langchain-core>=1.4.7:misc/py-langchain-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}langchain-core>=1.6.2:misc/py-langchain-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.0.0:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic2>=2.10.6:devel/py-pydantic2@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anthropic>0:misc/py-anthropic@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}langchain>=1.0.0:misc/py-langchain@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}langchain-anthropic>0:misc/py-langchain-anthropic@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}langchain>=1.4.0:misc/py-langchain@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}langchain-anthropic>=1.7.1:misc/py-langchain-anthropic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}langchain-tests>=1.1.3:misc/py-langchain-tests@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}langgraph-checkpoint>=4.1.0:misc/py-langgraph-checkpoint@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}langgraph-checkpoint>=4.2.0:misc/py-langgraph-checkpoint@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.20:devel/py-pytest-asyncio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-watcher>=0.4.3:devel/py-pytest-watcher@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.8.0:devel/py-pytest-xdist@${PY_FLAVOR} \
@@ -34,7 +34,19 @@ USE_PYTHON= pep517 autoplist pytest
NO_ARCH= yes
TEST_WRKSRC= ${WRKSRC}/tests/unit_tests
-
-# tests as of 1.6.3: 890 passed, 3 skipped, 1 xfailed, 3 warnings in 11.34s
+# botocore version drift and optional aws_bedrock_token_generator tests fail
+# in the package build environment.
+TEST_ARGS= --deselect=tests/unit_tests/chat_models/test_bedrock_converse.py::test__bedrock_content_block_keys_match_botocore \
+ --deselect=tests/unit_tests/chat_models/test_openai.py::test_installed_provider_mints_token_when_called \
+ --deselect=tests/unit_tests/test_utils.py::test_bedrock_api_key_provider_mandatory_failure_raises \
+ --deselect=tests/unit_tests/test_utils.py::test_bedrock_api_key_provider_default_chain_when_unresolvable \
+ --deselect=tests/unit_tests/test_utils.py::test_bedrock_api_key_provider_caps_ttl_to_cred_lifetime \
+ --deselect=tests/unit_tests/test_utils.py::test_bedrock_api_key_provider_async_call \
+ --deselect=tests/unit_tests/test_utils.py::test_bedrock_api_key_provider_refreshes_when_near_expiry \
+ --deselect=tests/unit_tests/test_utils.py::test_bedrock_api_key_provider_advisory_failure_keeps_token \
+ --deselect=tests/unit_tests/test_utils.py::test_bedrock_api_key_provider_profile_resolution \
+ --deselect=tests/unit_tests/test_utils.py::test_bedrock_api_key_provider_generates_and_caches
+
+# tests as of 1.7.5: 1157 passed, 5 skipped, 1 xpassed, 30 warnings in 17.55s
.include <bsd.port.mk>
diff --git a/misc/py-langchain-aws/distinfo b/misc/py-langchain-aws/distinfo
index a8eb743a03b9..abb5c07dec4f 100644
--- a/misc/py-langchain-aws/distinfo
+++ b/misc/py-langchain-aws/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1785089672
-SHA256 (langchain_aws-1.6.3.tar.gz) = f8574b23859c7a975c91cef98f9544f2c57ada1043be55449045824bf822f026
-SIZE (langchain_aws-1.6.3.tar.gz) = 581775
+TIMESTAMP = 1788718643
+SHA256 (langchain_aws-1.7.5.tar.gz) = 90f50d10c0e55ebbf0a5151304d121a39975cc3e099aad5526e0ee37ea2eeb14
+SIZE (langchain_aws-1.7.5.tar.gz) = 744688