We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d116be1 commit 8684c7aCopy full SHA for 8684c7a
1 file changed
importlib_resources/future/adapters.py
@@ -23,6 +23,13 @@ def wrapper(*args, **kwargs):
23
except NotADirectoryError:
24
# MultiplexedPath may fail on zip subdirectory
25
return
26
+ except ValueError as exc:
27
+ # NamespaceReader in stdlib may fail for editable installs
28
+ # (python/importlib_resources#311, python/importlib_resources#318)
29
+ # Remove after bugfix applied to Python 3.13.
30
+ if "not enough values to unpack" not in str(exc):
31
+ raise
32
+ return
33
# Python 3.10+
34
mod_name = reader.__class__.__module__
35
if mod_name.startswith('importlib.') and mod_name.endswith('readers'):
0 commit comments