Create: Product base type is required on create plugins - #1958
Conversation
In which way? Older addons wouldn't be able to mark incompatibility of course. But what core version would we start adding as minimal requirement moving forward then? |
|
To the version where this is merged 🙂 . Can be filled only when the release of core is made. If we make it to next minor release then |
# Conflicts: # package.py
|
NOTE: Will be merged after next release of core. |
Just to note, there's quite a few DCC integrations that still touch Does this mean these should generally still be in need of refactor? and should we do so now in preparation to avoid Creators just getting spammy on these warnings for the users? |
They should be changed, yes, but should not be needed for this PR to be merged.
Yes, not now. We first have to remove requirement to define BTW Workfile create plugins usually do have just |
|
Although this works - let's hold off a bit (maybe few weeks) before merging. (Sorry!) This pushes so many required compatibilities that it can be rather annoying if some are so close to their release of the other addons. I'd rather give some more breathing room - and since this is not urgent to merge, I think we can wait for a bit. |
Changelog Description
Mark
product_base_typeas abstractmethod for create plugins and removeproduct_typefrom create plugins. Also define compatible versions of other addons to the versions that should respect the product base type.Additional info
This was planned change in create plugins marking an end of era when both
product_typeandproduct_base_typeon create plugins have to be defined and both can be optionally set on instance. From now on all instances should have filled"productBaseType"and"productType". Create plugins don't have to defineproduct_type(they have to mark compatible core with release when this PR is made).Property
product_typenow does warn about deprecation in case it is used, but because all existing create plugins do define it it won't be warned until all create plugins remove the definition.Testing notes: