git: ab4dd428983e - main - misc/py-accelerate: update 1.14.0 → 1.15.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 20 Sep 2026 18:17:01 UTC
The branch main has been updated by yuri:

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

commit ab4dd428983e612b556ebce0cefa46f0c82ebb01
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-20 17:43:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-20 18:16:45 +0000

    misc/py-accelerate: update 1.14.0 → 1.15.0
---
 misc/py-accelerate/Makefile | 20 ++++++++++++++++++--
 misc/py-accelerate/distinfo |  6 +++---
 2 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/misc/py-accelerate/Makefile b/misc/py-accelerate/Makefile
index 863a279ca483..48f3a983a93f 100644
--- a/misc/py-accelerate/Makefile
+++ b/misc/py-accelerate/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	accelerate
-DISTVERSION=	1.14.0
+DISTVERSION=	1.15.0
 CATEGORIES=	misc # machine-learning
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -26,6 +26,10 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bitsandbytes>=0:misc/py-bitsandbytes@${PY_F
 		${PYTHON_PKGNAMEPREFIX}diffusers>=0:misc/py-diffusers@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}evaluate>=0:misc/py-evaluate@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}peft>=0:misc/py-peft@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-order>=0:devel/py-pytest-order@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-subtests>=0:devel/py-pytest-subtests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0:science/py-scikit-learn@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}timm>=0:misc/py-timm@${PY_FLAVOR} \
@@ -35,8 +39,20 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bitsandbytes>=0:misc/py-bitsandbytes@${PY_F
 		${PYTHON_PKGNAMEPREFIX}transformers>=0:misc/py-transformers@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	pep517 autoplist pytest # tests fail because they depend on the module 'transformers' that depends on 'accelerate' and isn't yet ported
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
+TEST_ENV=	${MAKE_ENV} MLFLOW_ALLOW_FILE_STORE=true MPLBACKEND=Agg
+TEST_ARGS=	--disable-plugin-autoload -p pytest_order \
+		--deselect tests/test_utils.py::UtilsTester::test_patch_environment_key_exists \
+		--ignore src/accelerate/test_utils/scripts \
+		--ignore tests/test_cli.py \
+		--ignore tests/test_cpu.py \
+		--ignore tests/test_examples.py \
+		--ignore tests/test_grad_sync.py \
+		--ignore tests/test_scheduler.py \
+		--ignore src/accelerate/test_utils/scripts/external_deps
+
+# tests as of 1.15.0: 277 passed, 144 skipped, 1 deselected, 335 warnings, 4 subtests passed in 85.94s
 
 .include <bsd.port.mk>
diff --git a/misc/py-accelerate/distinfo b/misc/py-accelerate/distinfo
index e1a7460edf66..aef4c3229771 100644
--- a/misc/py-accelerate/distinfo
+++ b/misc/py-accelerate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1785699944
-SHA256 (accelerate-1.14.0.tar.gz) = 41b9c4377a54e0b460a959b0defa1b736e4ca0a2373252d9a539964c2afe3c8d
-SIZE (accelerate-1.14.0.tar.gz) = 412167
+TIMESTAMP = 1789892462
+SHA256 (accelerate-1.15.0.tar.gz) = 5654f8c5eaa0d4fa68b33e287a97765da6849bf6d51dcac874e73fbbddfb6134
+SIZE (accelerate-1.15.0.tar.gz) = 422615