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.
2 parents e66f94c + c6266e4 commit 2212422Copy full SHA for 2212422
setuptools/_entry_points.py
@@ -17,7 +17,8 @@ def ensure_valid(ep):
17
"""
18
try:
19
ep.extras
20
- except AttributeError as ex:
+ except (AttributeError, AssertionError) as ex:
21
+ # Why both? See https://github.com/python/importlib_metadata/issues/488
22
msg = (
23
f"Problems to parse {ep}.\nPlease ensure entry-point follows the spec: "
24
"https://packaging.python.org/en/latest/specifications/entry-points/"
0 commit comments