We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9579331 commit ac70f9aCopy full SHA for ac70f9a
src/rez/plugin_managers.py
@@ -175,7 +175,11 @@ def load_plugins_from_namespace(self):
175
self.print_log_plugins_error(modname, e)
176
177
def load_plugins_from_entry_points(self):
178
- discovered_plugins = entry_points(group='rez.plugins')
+ if sys.version_info <= (3, 9):
179
+ discovered_plugins = entry_points().get("rez.plugins", [])
180
+ else:
181
+ discovered_plugins = entry_points(group='rez.plugins')
182
+
183
for plugin in discovered_plugins:
184
try:
185
plugin = plugin.load()
0 commit comments