Traceback (most recent call last):
File "/usr/bin/nitropy", line 5, in <module>
from pynitrokey.cli import main
File "/usr/lib/python3.11/site-packages/pynitrokey/cli/__init__.py", line 26, in <module>
from pynitrokey.cli.nk3 import nk3
File "/usr/lib/python3.11/site-packages/pynitrokey/cli/nk3/__init__.py", line 20, in <module>
from pynitrokey.nk3.bootloader import Nitrokey3Bootloader
File "/usr/lib/python3.11/site-packages/pynitrokey/nk3/bootloader.py", line 14, in <module>
from pynitrokey.trussed.bootloader.lpc55 import NitrokeyTrussedBootloaderLpc55
File "/usr/lib/python3.11/site-packages/pynitrokey/trussed/bootloader/lpc55.py", line 16, in <module>
from spsdk.mboot.error_codes import StatusCode
File "/usr/lib/python3.11/site-packages/spsdk/mboot/__init__.py", line 12, in <module>
from .interfaces.buspal import MbootBuspalI2CInterface, MbootBuspalSPIInterface
File "/usr/lib/python3.11/site-packages/spsdk/mboot/interfaces/buspal.py", line 21, in <module>
from spsdk.mboot.protocol.serial_protocol import FPType, MbootSerialProtocol, to_int
File "/usr/lib/python3.11/site-packages/spsdk/mboot/protocol/serial_protocol.py", line 21, in <module>
from spsdk.mboot.protocol.base import MbootProtocolBase
File "/usr/lib/python3.11/site-packages/spsdk/mboot/protocol/base.py", line 8, in <module>
from spsdk.utils.interfaces.protocol.protocol_base import ProtocolBase
File "/usr/lib/python3.11/site-packages/spsdk/utils/interfaces/protocol/protocol_base.py", line 17, in <module>
from spsdk.utils.plugins import PluginsManager, PluginType
File "/usr/lib/python3.11/site-packages/spsdk/utils/plugins.py", line 16, in <module>
import importlib_metadata
I will report this upstream, but without this nitropy breaks:
https://github.com/nxp-mcuxpresso/spsdk/blob/2.1.1/spsdk/utils/plugins.py#L17