StopIteration is deprecated but still used in the code. Even though there is a pull request to fix this (it works for me as a user patch), the project seems to have halted and might never be pulled in. Reproducible: Always Steps to Reproduce: 1. Install sys-libs/libsmbios 2. Run smbios-token-ctl Actual Results: A StopIteration exception is thrown Expected Results: No exception is thrown.
Thank you for the report! Seeing as upstream indeed appears to have gone dormant, looks like we are it as far as patching this is concerned.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=034e6374ee320914d8df1d27215e943a60c9dc78 commit 034e6374ee320914d8df1d27215e943a60c9dc78 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2023-09-07 09:51:21 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2023-09-07 10:20:47 +0000 sys-libs/libsmbios: squash long-present Python deprecation warning Closes: https://bugs.gentoo.org/913238 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../libsmbios-2.4.3-python-deprecations.patch | 33 ++++++++ sys-libs/libsmbios/libsmbios-2.4.3-r1.ebuild | 92 ++++++++++++++++++++++ 2 files changed, 125 insertions(+)