mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 11:35:54 +08:00
Don't use CuraVersion.py options to calc package_id
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@_/_` Contributes to CURA-9365
This commit is contained in:
parent
0cea013e2f
commit
cdc8fd759b
13
conanfile.py
13
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user