Bug 296691 - security/py-nethsm: Update to 2.1.2
Summary: security/py-nethsm: Update to 2.1.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks: 296693
  Show dependency treegraph
 
Reported: 2026-07-11 13:07 UTC by Thibault Payet
Modified: 2026-07-14 19:29 UTC (History)
1 user (show)

See Also:


Attachments
git formatted patch (1.51 KB, patch)
2026-07-11 13:07 UTC, Thibault Payet
no flags Details | Diff
git formatted patch (2.19 KB, patch)
2026-07-14 13:39 UTC, Thibault Payet
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thibault Payet 2026-07-11 13:07:58 UTC
Created attachment 272729 [details]
git formatted patch

This update is necessary for a future nitrokey update
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2026-07-11 13:07:58 UTC
Maintainer informed via mail
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-14 11:00:31 UTC
The maintainer awoonyaa@gmail.com has been inactive for more than 2 years with multiple timeouts:
https://bugs.freebsd.org/bugzilla/buglist.cgi?longdesc=awoonyaa%40gmail.com&longdesc_type=allwordssubstr
Do you want to take maintainership of this port?
Comment 3 Thibault Payet 2026-07-14 12:11:06 UTC
(In reply to Vladimir Druzenko from comment #2)
Sure I can take maintainership of this port.
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-14 13:29:46 UTC
===>  Building for py312-nethsm-2.1.2
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
pyproject_hooks._impl.BackendUnavailable: Cannot import 'poetry.core.masonry.api'

TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
ERROR Backend 'poetry.core.masonry.api' is not available.
*** Error code 1

Stop.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-14 13:31:45 UTC
Fix:
BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR}
Comment 6 Thibault Payet 2026-07-14 13:37:29 UTC
(In reply to Vladimir Druzenko from comment #5)
My bad, I forget that nowadays every python project seems to want poetry.
I will put the dependencies for poetry + changing the maintainer field.
Comment 7 Thibault Payet 2026-07-14 13:39:53 UTC
Created attachment 272835 [details]
git formatted patch
Comment 8 commit-hook freebsd_committer freebsd_triage 2026-07-14 19:28:36 UTC
A commit in branch main references this bug:

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

commit c667f1b026ea184ebea6e60dabd9b43e5154e1e8
Author:     Thibault Payet <monwarez@mailoo.org>
AuthorDate: 2026-07-14 19:17:50 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-07-14 19:17:50 +0000

    security/py-nethsm: Update 1.4.1 => 2.1.2, take maintainership

    Changelogs:
    https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v2.0.0
    https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v2.0.1
    https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v2.1.0
    https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v2.1.1
    https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v2.1.2

    PR:             296691
    Approved by:    awoonyaa@gmail.com (former maintainer, inactive for more than 2 years with multiple timeouts)
    Sponsored by:   UNIS Labs
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>

 security/py-nethsm/Makefile | 7 ++++---
 security/py-nethsm/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)
Comment 9 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-14 19:29:21 UTC
Thanks.