diff --git a/scripts/modules/addon_utils.py b/scripts/modules/addon_utils.py index dd4fd823812..57a0351bada 100644 --- a/scripts/modules/addon_utils.py +++ b/scripts/modules/addon_utils.py @@ -408,14 +408,6 @@ def enable(module_name, *, default_set=False, persistent=False, handle_error=Non _addon_remove(module_name) return None - # 1.1) Fail when add-on is too old. - # This is a temporary 2.8x migration check, so we can manage addons that are supported. - - if mod.bl_info.get("blender", (0, 0, 0)) < (2, 80, 0): - if _bpy.app.debug: - print("Warning: Add-on '%s' was not upgraded for 2.80, ignoring" % module_name) - return None - # 2) Try register collected modules. # Removed register_module, addons need to handle their own registration now. diff --git a/tests/python/bl_load_addons.py b/tests/python/bl_load_addons.py index 44bd3653fa1..8517c799511 100644 --- a/tests/python/bl_load_addons.py +++ b/tests/python/bl_load_addons.py @@ -36,10 +36,6 @@ def _init_addon_blacklist(): if not bpy.app.build_options.xr_openxr: BLACKLIST_ADDONS.add("viewport_vr_preview") - for mod in addon_utils.modules(): - if addon_utils.module_bl_info(mod)['blender'] < (2, 80, 0): - BLACKLIST_ADDONS.add(mod.__name__) - def addon_modules_sorted(): # Pass in an empty module cache to prevent `addon_utils` local module cache being manipulated. diff --git a/tests/python/bl_load_py_modules.py b/tests/python/bl_load_py_modules.py index 7013375fef3..4521e35fcaf 100644 --- a/tests/python/bl_load_py_modules.py +++ b/tests/python/bl_load_py_modules.py @@ -27,10 +27,6 @@ BLACKLIST = { os.path.join("io_blend_utils", "blender_bam-unpacked.whl"), } -for mod in addon_utils.modules(): - if addon_utils.module_bl_info(mod)['blender'] < (2, 80, 0): - BLACKLIST.add(mod.__name__) - # Some modules need to add to the `sys.path`. MODULE_SYS_PATHS = { # Runs in a Python subprocess, so its expected its basedir can be imported.