Created attachment 271658 [details] benchmarks/py-reframe-hpc: update to v4.10.0 Since upstream released reframe version 4.10.0 I went ahead and prepared an update for our benchmarks/py-reframe-hpc port to update it to the latest version.
===> Building for py311-ReFrame_HPC-4.10.0 * Getting build dependencies for wheel... Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook raise BackendUnavailable( pyproject_hooks._impl.BackendUnavailable: Cannot import 'hatchling.build' ERROR Backend 'hatchling.build' is not available. *** Error code 1 After add BUILD_DEPENDS+=${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}: ===> Generating temporary packing list Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 115, in <module> _main(sys.argv[1:], "python -m installer") File "/usr/local/lib/python3.11/site-packages/installer/__main__.py", line 100, in _main with WheelFile.open(wheel) as source: File "/usr/local/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/installer/sources.py", line 179, in open with zipfile.ZipFile(path) as f: ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/zipfile.py", line 1311, in __init__ self.fp = io.open(file, filemode) ^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/wrkdirs/usr/ports/benchmarks/py-reframe-hpc/work-py311/reframe_hpc-4.10.0/dist/ReFrame_HPC-4.10.0*.whl' *** Error code 1
@@ -1,9 +1,8 @@ -PORTNAME= ReFrame_HPC -DISTVERSION= 4.9.3 +PORTNAME= reframe_hpc +DISTVERSION= 4.10.0 CATEGORIES= benchmarks python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= ${PORTNAME:tl}-${DISTVERSION} MAINTAINER= rikka.goering@outlook.de COMMENT= HPC regression/benchmark testing framework @@ -13,6 +12,7 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}archspec>=0.2.4:devel/py-archspec@${PY_FLAVOR} \ @@ -27,10 +27,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}archspec>=0.2.4:devel/py-archspec@${PY_FLAVO ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tabulate>=0:devel/py-tabulate@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tabulate>=0:devel/py-tabulate@${PY_FLAVOR} \ + bash:shells/bash -USES= python +USES= python shebangfix USE_PYTHON= autoplist pep517 +SHEBANG_GLOB= *.sh NO_ARCH= yes
Created attachment 271683 [details] v2 benchmarks/py-reframe-hpc: update to v4.10.0 Thanks for testing and the feedback! Attached a patch containing all of your suggestions: corrected PORTNAME casing, added py-hatchling build dep, and added shebangfix for the shell scripts.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f31ba9807029bb98e38736f51383f97e7df31f0a commit f31ba9807029bb98e38736f51383f97e7df31f0a Author: Generic Rikka <rikka.goering@outlook.de> AuthorDate: 2026-06-11 09:36:57 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-06-11 09:36:57 +0000 benchmarks/py-reframe-hpc: Update 4.9.3 => 4.10.0 Changelog: https://github.com/reframe-hpc/reframe/releases/tag/v4.10.0 PR: 295968 Sponsored by: UNIS Labs Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org> benchmarks/py-reframe-hpc/Makefile | 12 +++++++----- benchmarks/py-reframe-hpc/distinfo | 6 +++--- 2 files changed, 10 insertions(+), 8 deletions(-)
Thanks.