diff --git a/UM/Settings/ContainerRegistry.py b/UM/Settings/ContainerRegistry.py index b477e321e..5165da82c 100644 --- a/UM/Settings/ContainerRegistry.py +++ b/UM/Settings/ContainerRegistry.py @@ -866,13 +866,11 @@ def _onContainerMetaDataChanged(self, *args: ContainerInterface, **kwargs: Any) def _isMetadataValid(self, metadata: Optional[metadata_type]) -> bool: """Validate a metadata object. - If the metadata is invalid, the container is not allowed to be in the - registry. + If the metadata is invalid, the container is not allowed to be in the registry. :param metadata: A metadata object. :return: Whether this metadata was valid. """ - - return metadata is not None + return metadata is not None and "type" in metadata and "name" in metadata def getLockFilename(self) -> str: """Get the lock filename including full path diff --git a/conanfile.py b/conanfile.py index 617d2c3bd..1c7a69a3e 100644 --- a/conanfile.py +++ b/conanfile.py @@ -34,7 +34,7 @@ class UraniumConan(ConanFile): def set_version(self): if not self.version: - self.version = "5.5.0-beta.2" + self.version = "5.6.0-alpha" @property def _base_dir(self):