mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
1 changed files with 13 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue