Package: python3-importlib-resources
Version: 6.5.2-1
Severity: normal

Dear Maintainer,

I will file a RM+moreinfo bug against ftp.debian.org,
blocked by this one bug and the two other
remaining users of python3-importlib-resources.

There is no hurry, this package could
be one fixed very last.

The patch is trivial.

Greetings


[setup.cfg]

 # importlib_resources is used instead of stdlib importlib.resources because we
 # want the selectable entry_points API, which is not present until Python 3.10.
-     importlib_resources


[pyocd/debug/svd/loader.py]

 import logging
-import importlib_resources
+import importlib.resources
 import zipfile



         try:
-            zip_ref = 
importlib_resources.files("pyocd").joinpath(BUILTIN_SVD_DATA_PATH)
+            zip_ref = 
importlib.resources.files("pyocd").joinpath(BUILTIN_SVD_DATA_PATH)
             zip_stream = zip_ref.open('rb')

Reply via email to