git: eb109fd39e2d - main - misc/py-timm: update 1.0.22 → 1.0.28

Yuri Victorovich <[email protected]> Thu, 06 Aug 2026 02:19:01 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <6a73ef15.3db81.61b77bf5__19183.778709133$1785982902$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by yuri:

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

commit eb109fd39e2da3dbd82a3fe2be0ff8b3ab7773a9
Author:     Yuri Victorovich <[email protected]>
AuthorDate: 2026-08-06 00:59:42 +0000
Commit:     Yuri Victorovich <[email protected]>
CommitDate: 2026-08-06 02:18:50 +0000

    misc/py-timm: update 1.0.22 → 1.0.28
---
 misc/py-timm/Makefile | 16 ++++++++++++++--
 misc/py-timm/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/misc/py-timm/Makefile b/misc/py-timm/Makefile
index 9d34b9d926e1..70b849f131fa 100644
--- a/misc/py-timm/Makefile
+++ b/misc/py-timm/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	timm
-DISTVERSION=	1.0.22
+DISTVERSION=	1.0.28
 CATEGORIES=	misc python # machine-learning
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -24,8 +24,20 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}expecttest>0:devel/py-expecttest@${PY_FLAVO
 		${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	pep517 autoplist pytest # some tests fail, tests consume gigabytes of disk space
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
+TEST_ARGS=	-p no:black -p no:mypy -p no:cov -p no:benchmark \
+		tests/test_checkpoint_loading.py tests/test_dataset_info.py \
+		tests/test_layers.py tests/test_layers_drop.py \
+		tests/test_layers_pool.py tests/test_optim.py \
+		tests/test_scheduler.py tests/test_task.py tests/test_utils.py
+PYTEST_IGNORED_TESTS=	test_kron
+
+# tests as of 1.0.28: 356 passed in 30.79s
+# test_models.py is excluded because it downloads large pretrained model
+# weights and consumes gigabytes of disk space.
+# test_kron is ignored because torch.compile/inductor fails on FreeBSD.
+
 .include <bsd.port.mk>
diff --git a/misc/py-timm/distinfo b/misc/py-timm/distinfo
index d33992cf3382..c444ae1e6396 100644
--- a/misc/py-timm/distinfo
+++ b/misc/py-timm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1762420596
-SHA256 (timm-1.0.22.tar.gz) = 14fd74bcc17db3856b1a47d26fb305576c98579ab9d02b36714a5e6b25cde422
-SIZE (timm-1.0.22.tar.gz) = 2382998
+TIMESTAMP = 1785900003
+SHA256 (timm-1.0.28.tar.gz) = 3789d313fdd5541a327b60180d70dbb4bdec73db8ff0655e413db3c3d134a9a4
+SIZE (timm-1.0.28.tar.gz) = 2451413