Releases: mondeja/pytest-blender
Releases · mondeja/pytest-blender
v3.0.6
v3.0.5
Enhancements
- Declare support for Python 3.12
v3.0.4
Chore:
- Declare official support for Python 3.11
v3.0.3
Bug fixes:
- More reliable way to obtain Blender's Python interpreter path.
v3.0.2
Bug fixes:
- Fix
pytest-blender
CLI outputtingNone
on Windows. - Fix error handling unsupported signal on Windows.
v3.0.1
Bug fixes:
- Fix uncaught exceptions enabling invalid addons.
- Prevent propagation of
pytest -p pytest-blender
CLI argument.
v3.0.0
Breaking changes
addon_module_names
kwarg ofinstall_addons_from_dir
fixture has been renamed toaddons_ids
.
New features
- Add CLI and configuration files options for easier setup.
Enhancements
- Add environment variables propagation to Blender execution.
- Allow to test directly a Python package located inside the directory passed to
blender-addons-dirs
orinstall_addons_from_dir
without zipping it previously.
Migration guide from v1 or v2
Most likely you don't need to use the fixtures install_addons_from_dir
, disable_addons
and uninstall_addons
because now you can define the addons to install using the blender-addons-dirs
and blender-addons-cleaning
configuration options:
- Replace
install_addons_from_dir
fixture byblender-addons-dirs
configuration option. - Replace
disable_addons
fixture byblender-addons-cleaning
configuration option withdisable
value. - Replace
uninstall_addons
fixture byblender-addons-cleaning
configuration option withuninstall
value, but is the default, so you don't need to define it. - If you're installing the addons with
install_addons_from_dir
fixture in your conftest.py file but not removing them after the test suite execution, you can replace it byblender-addons-cleaning
configuration option with the valuekeep
.
- You can replace all the logging configuration of
logging.getLogger("pytest_blender")
by thepytest-blender-debug
configuration option.
v2.0.0
Breaking changes:
- The argument
recursive
has been removed from theinstall_addons_from_dir
fixture.
Enhancements:
- Allow to install multiple file addons from
.zip
files withinstall_addons_from_dir
fixture.
New features:
- Add
blender_addons_dir
fixture to get the Blender's addons user directory. - Add
uninstall_addons
fixture to remove the addons from Blender's addons user directory.
v1.2.2
Bug fixes:
- Fixed error exiting Pytest test suite in v7.
Documentation:
- Document how to log the command executed by pytest-blender subprocess.
Chore:
- Officially stop supporting Python 3.6.
v1.2.1
Bug fixes
- Prevent error when STDIN is pseudofile.