Date: Tue, 13 Jan 2026 18:43:17 +0000 From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a722a10b4659 - main - misc/py-wandb: Remove hard dependency on go122 Message-ID: <69669245.3cd54.6101263e@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=a722a10b4659f3c73ad76b99258d1924f61e40fe commit a722a10b4659f3c73ad76b99258d1924f61e40fe Author: Adam Weinberger <adamw@FreeBSD.org> AuthorDate: 2026-01-13 18:36:55 +0000 Commit: Adam Weinberger <adamw@FreeBSD.org> CommitDate: 2026-01-13 18:43:12 +0000 misc/py-wandb: Remove hard dependency on go122 py-wandb is the sole remaining consumer of Go < 1.24. I missed it in my original sweep because I was looking for USES=go, and py-wandb instead had a BUILD_DEPENDS on go122 itself. Previous py-wandb had a hardcoded dependency on go122. I assume it was an attempt to ensure a minimum verion (as go.mk did not support anything like that), but I'm not sure (an email to yuri went unanswered.) Instead, add USES=go:1.22+ (and remove the rendundant BINARY_ALIAS that further hardcoded go122). With this change, the port build happily. Tests don't run (multiple deps are missing, but even after adding them it still won't run tests at all, and I don't know how to fix that). I bumped PORTREVISION so that end-users can benefit from a more modern Go runtime and toolchain. With this, go122 is likely safe to delete, though I'm going to do more investigation before removing it. --- misc/py-wandb/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/misc/py-wandb/Makefile b/misc/py-wandb/Makefile index 120b327000ae..24192891c4ac 100644 --- a/misc/py-wandb/Makefile +++ b/misc/py-wandb/Makefile @@ -1,7 +1,7 @@ PORTNAME= wandb DISTVERSIONPREFIX= v DISTVERSION= 0.17.9 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= misc # machine-learning #MASTER_SITES= PYPI # no tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,8 +19,7 @@ BROKEN_i386= compilation fails: Go fails: cannot use math.MaxInt64 (untyped int BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ - go122:lang/go122 + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.3:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7.1:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docker-pycreds>=0.4.0:security/py-docker-pycreds@${PY_FLAVOR} \ @@ -51,12 +50,10 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bokeh>0:www/py-bokeh@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR} -USES= python shebangfix +USES= go:1.22+,no_targets python shebangfix USE_PYTHON= pep517 concurrent autoplist pytest # tests fail because some test dependencies are missing, see https://github.com/wandb/wandb/issues/7826 USE_GITHUB= yes SHEBANG_GLOB= *.py -BINARY_ALIAS= go=go122 - .include <bsd.port.mk>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69669245.3cd54.6101263e>
