Not actually using this package but I've come across this during #255036. ~ pkg install security/py-keyring [...] New packages to be INSTALLED: gettext-runtime: 0.21 indexinfo: 0.3.1 libffi: 3.3_1 py39-entrypoints: 0.3 py39-keyring: 23.0.1 py39-setuptools: 44.0.0 python39: 3.9.4 readline: 8.1.0 [...] ~ python3.9 -c "import keyring" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.9/site-packages/keyring/__init__.py", line 1, in <module> from .core import ( File "/usr/local/lib/python3.9/site-packages/keyring/core.py", line 11, in <module> from . import backend, credentials File "/usr/local/lib/python3.9/site-packages/keyring/backend.py", line 12, in <module> import importlib_metadata as metadata ModuleNotFoundError: No module named 'importlib_metadata' ~ cd /usr/local/lib/python3.9/site-packages; grep -r importlib_metadata . ./keyring-23.0.1-py3.9.egg-info/requires.txt:importlib_metadata>=3.6 And also [1]. I'll not be helping fix this since I've found a workaround and my time is a bit limited currently. And someone needs to update devel/py-importlib-metadata first... [1] https://github.com/jaraco/keyring/blob/90bf330ebe3f86fe77794cf16af954858735b0dd/setup.cfg#L24-L28
*** Bug 255395 has been marked as a duplicate of this bug. ***
Created attachment 224672 [details] patch which fixes issue
This looks good and matches what was discussed in bug 255237, comment 8; approved.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f043e2bdfd2063a32f59a9100cfc80bd3a580f7a commit f043e2bdfd2063a32f59a9100cfc80bd3a580f7a Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-05-06 23:47:33 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-05-06 23:47:33 +0000 security/py-keyring: downgrade to 18.0.1 importlib_metadata>=3.6 is necessary for py-keyring 23.0.1 to work. PR: 255050 Approved by: douglas@douglasthrift.net (maintainer) security/py-keyring/Makefile | 3 ++- security/py-keyring/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-)