diff --git a/conanfile.py b/conanfile.py index 6bd307e95c..cbbf04c0fb 100644 --- a/conanfile.py +++ b/conanfile.py @@ -283,3 +283,16 @@ class CuraConan(ConanFile): del self.info.settings.compiler del self.info.settings.build_type del self.info.settings.arch + + # The following options shouldn't be used to determine the hash, since these are only used to set the CuraVersion.py + # which will als be generated by the deploy method during the `conan install cura/5.1.0@_/_` + del self.info.options.enterprise + del self.info.options.staging + del self.info.options.devtools + del self.info.options.cloud_api_version + del self.info.options.display_name + del self.info.options.cura_debug_mode + + # TODO: Use the hash of requirements.txt and requirements-ultimaker.txt, Because changing these will actually result in a different + # Cura. This is needed because the requirements.txt aren't managed by Conan and therefor not resolved in the package_id. This isn't + # ideal but an acceptable solution for now.