git: 627b734c3e79 - main - misc/py-ag2: update 1.0.0 → 1.0.1

Yuri Victorovich <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by yuri:

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

commit 627b734c3e79c003a88848160a2044d6f8023056
Author:     Yuri Victorovich <[email protected]>
AuthorDate: 2026-08-01 05:55:46 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-01 06:50:06 +0000

    misc/py-ag2: update 1.0.0 → 1.0.1
---
 misc/py-ag2/Makefile | 37 +++++++++++++------------------------
 misc/py-ag2/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 27 deletions(-)

diff --git a/misc/py-ag2/Makefile b/misc/py-ag2/Makefile
index 99870b7382d4..b29570d88eba 100644
--- a/misc/py-ag2/Makefile
+++ b/misc/py-ag2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ag2
-DISTVERSION=	1.0.0
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.1
 CATEGORIES=	misc python # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -22,9 +23,11 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyio>=4.0.0:devel/py-anyio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.2:devel/py-pyyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tiktoken>0:textproc/py-tiktoken@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dirty-equals>=0.11:devel/py-dirty-equals@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anthropic>0:misc/py-anthropic@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dirty-equals>=0.11:devel/py-dirty-equals@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}freezegun>=1.5.5:devel/py-freezegun@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=1.4.0:devel/py-pytest-asyncio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-timeout>=2.4.0:devel/py-pytest-timeout@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}respx>=0.23.0:www/py-respx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}websockets>=14.0:devel/py-websockets@${PY_FLAVOR}
@@ -35,40 +38,26 @@ USE_PYTHON=	autoplist concurrent pep517 pytest
 USE_GITHUB=	yes
 GH_ACCOUNT=	ag2ai
 GH_PROJECT=	ag2
-GH_TAGNAME=	v${DISTVERSION}
 
 NO_ARCH=	yes
 
 TEST_ENV=	${MAKE_ENV} PATH=${WRKDIR}/.bin:${PATH} \
 		PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:${WRKSRC}
-
 # The upstream test suite requires many optional providers and network access.
-# Run only the core tests for now that pass without optional extras.
+# Ignore directories that import un-packaged optional providers (mcp, a2a, mcp_ui)
+# and run the rest of the tree.  anthropic is added to TEST_DEPENDS because some
+# tests construct an AnthropicConfig as a representative model config.
 TEST_ARGS=	-p no:relaxed \
+		-p no:cov \
 		--ignore=test/mcp \
-		test/test_import_utils.py \
-		test/test_json_utils.py \
-		test/test_llm_config.py \
-		test/test_import.py \
-		test/test_graph_utils.py \
-		test/test_logger_redaction.py \
-		test/test_token_count.py \
-		test/test_browser_utils.py \
-		test/test_conftest.py \
-		test/io \
-		test/fast_depends \
-		test/messages/test_base_message.py \
-		test/messages/test_client_messages.py \
-		test/messages/test_print_message.py \
-		test/a2a \
-		test/ag_ui \
-		test/beta \
-		test/logger
+		--ignore=test/a2a \
+		--ignore=test/mcp_ui \
+		test
 
 pre-test:
 	@${MKDIR} ${WRKDIR}/.bin
 	@${LN} -sf ${PYTHON_CMD} ${WRKDIR}/.bin/python
 
-# tests as of 0.14.0: 3602 passed, 356 skipped, 2 xfailed, 36 warnings in 46.84s
+# tests as of 1.0.1: 2384 passed, 355 skipped, 1 xfailed, 3 warnings in 23.48s
 
 .include <bsd.port.mk>
diff --git a/misc/py-ag2/distinfo b/misc/py-ag2/distinfo
index 2289c056c2c9..3b22ffe66dc8 100644
--- a/misc/py-ag2/distinfo
+++ b/misc/py-ag2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1785130843
-SHA256 (ag2ai-ag2-1.0.0-v1.0.0_GH0.tar.gz) = d2f7107186bec9bc3dbbd03e9d71e4b7abcb49a079433df59b77b4cd7f69bba5
-SIZE (ag2ai-ag2-1.0.0-v1.0.0_GH0.tar.gz) = 2180521
+TIMESTAMP = 1785480641
+SHA256 (ag2ai-ag2-v1.0.1_GH0.tar.gz) = 5bf91d882865e7a5aac847cb2edfadfabeee8e3b9c52d7d98d5ab9915018a7bb
+SIZE (ag2ai-ag2-v1.0.1_GH0.tar.gz) = 2203999
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.