* OP-7450 - WIP of new hook to install PySide2
Currently not working yet as subprocess is invoking wrong `pip` which causes issue about missing `dataclasses`.
* OP-7450 - updates querying of PySide2 presence
Cannot use pip list as wrong pip from .venv is used and it was causing issue about missing dataclass (not in Python3.6).
This implementation is simpler and just tries to import PySide2.
* OP-7450 - typo
* OP-7450 - removed forgotten raise for debugging
* OP-7450 - double quotes
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* OP-7450 - return if error
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* OP-7450 - return False
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* OP-7450 - added optionality for InstallPySideToFusion
New hook is controllable by Settings.
* OP-7450 - updated querying of Qt
This approach should be more generic, not tied to specific version of PySide2
* OP-7450 - fix unwanted change
* OP-7450 - added settings for legacy OP
* OP-7450 - use correct python executable name in Linux
Because it is not "expected" python in blender but installed python, I would expect the executable is python3 on linux/macos rather than python.
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* OP-7450 - headless installation in Windows
It checks first that it would need admin privileges for installation, if not it installs headlessly. If yes, it will create separate dialog that will ask for admin privileges.
* OP-7450 - Hound
* Update openpype/hosts/fusion/hooks/pre_pyside_install.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* do not use 'IntegrateAssetNew' settings which are not available anymore
* don't use 'IntegrateHeroVersion' settings to get hero version template name
* remove 'template_name_profiles' from 'IntegrateHeroVersion'
* remove unused attribute
* OP-6421 - added render family to families filter
As published instances follow product type `render` now, fields wouldn't be shown for them.
* OP-6421 - updated documentation
* OP-6421 - added hosts filter
Limits this with higher precision.
* keep current subset version when switch repre
* added comment and safe switch repres
* more clearly variable names and revert last feat
* check selected but no change
* fix switch hero version
* EventCallback object have order
* callbacks are processed by the callback order
* safer approach to get function information
* modified docstring a little
* added tests for ordered calbacks
* fix python 2 support
* added support for partial methods
* removed unused '_get_func_info'
* formatting fix
* change test functions docstring
* added test for removement of source function when partial is used
* Allow order 'None'
* implemented 'weakref_partial' to allow partial callbacks
* minor tweaks
* added support to pass additional arguments to 'wearkref_partial'
* modify docstring
* added 'weakref_partial' to tests
* move public method before prive methods
* added required order back but use '100' as default order
* fix typo
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
---------
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
* Release job from pending when testing.
* Removed render instance
This test was created as simple model and workfile publish, without Deadline rendering. Cleaned up render elements.
* Revert changes in submit publish plugin
---------
Co-authored-by: kalisp <petr.kalis@gmail.com>