File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313from easybuild .tools .build_log import EasyBuildError
1414
1515try :
16- from importlib .metadata import entry_points , EntryPoint
16+ from importlib .metadata import entry_points
1717except ModuleNotFoundError :
1818 HAVE_ENTRY_POINTS = False
1919else :
2323_log = fancylogger .getLogger ('entrypoints' , fname = False )
2424
2525
26- def get_group_entrypoints (group : str ) -> Set [ EntryPoint ] :
26+ def get_group_entrypoints (group : str ):
2727 """Get all entrypoints for a group"""
2828 # Default True needed to work with commands like --list-toolchains that do not initialize the BuildOptions
2929 if not build_option ('use_entrypoints' , default = True ):
@@ -227,7 +227,7 @@ def decorator(cls):
227227 return decorator
228228
229229
230- def get_toolchain_entrypoints () -> Set [ EntryPoint ] :
230+ def get_toolchain_entrypoints ():
231231 """Get all toolchain entrypoints."""
232232 toolchains = []
233233 for ep in get_group_entrypoints (TOOLCHAIN_ENTRYPOINT ):
You can’t perform that action at this time.
0 commit comments