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 f136db2 commit b76b295Copy full SHA for b76b295
easybuild/tools/entrypoints.py
@@ -32,7 +32,8 @@ def get_group_entrypoints(group: str) -> Set[EntryPoint]:
32
msg = "Python importlib.metadata requires Python >= 3.8"
33
_log.warning(msg)
34
raise EasyBuildError(msg)
35
- return set(ep for ep in entry_points(group=group))
+ # Can't use the group keyword argument in entry_points() for Python < 3.10
36
+ return set(ep for ep in entry_points() if ep.group == group)
37
38
39
# EASYCONFIG_ENTRYPOINT = "easybuild.easyconfig"
0 commit comments