--- a/src/eric7/MicroPython/Devices/CircuitPythonUpdater/CircuitPythonUpdaterInterface.py Sat Aug 31 15:55:04 2024 +0200 +++ b/src/eric7/MicroPython/Devices/CircuitPythonUpdater/CircuitPythonUpdaterInterface.py Sat Aug 31 17:19:33 2024 +0200 @@ -527,6 +527,7 @@ @type list of str """ devicePath = self.__device.getWorkspace() + backend = circup.DiskBackend(devicePath, circup.logger) cpyVersion, _board_id = circup.get_circuitpython_version(devicePath) circup.CPY_VERSION = cpyVersion @@ -537,7 +538,7 @@ for module, metadata in availableModules.items(): moduleNames[module.replace(".py", "")] = metadata toBeInstalled = circup.get_dependencies(installs, mod_names=moduleNames) - deviceModules = circup.get_device_versions(devicePath) + deviceModules = backend.get_device_versions() if toBeInstalled is not None: dependencies = [m for m in toBeInstalled if m not in installs] ok = EricMessageBox.yesNo( @@ -609,7 +610,8 @@ libraryPath = os.path.join(devicePath, "lib") with EricOverrideCursor(): - deviceModules = circup.get_device_versions(devicePath) + backend = circup.DiskBackend(devicePath, circup.logger) + deviceModules = backend.get_device_versions() modNames = {} for moduleItem, metadata in deviceModules.items(): modNames[moduleItem.replace(".py", "").lower()] = metadata