- Update to 5.0.0:
* New Features
+ A new option, --snapshot-dirname, is now available to change the
default directory snapshots are stored in.
+ The unnecessary underscore prefixes have been removed from public
methods for better code clarity.
* Bug Fixes
+ Resolve an issue where the terminal summary was not displayed correctly
with xdist workers.
+ Ensure pytest_assertrepr_compare hook is called first.
* Breaking Changes
+ Switch to the more permissive MIT license. This change applies to all
versions from 5.0.0 and beyond.
+ Now requires Python 3.10 or higher. Support for Python 3.8 has been
dropped. The minimum required version of pytest is v8.
OBS-URL: https://build.opensuse.org/request/show/1310412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-syrupy?expand=0&rev=8
* New Features
+ A new option, --snapshot-dirname, is now available to change the
default directory snapshots are stored in.
+ The unnecessary underscore prefixes have been removed from public
methods for better code clarity.
* Bug Fixes
+ Resolve an issue where the terminal summary was not displayed correctly
with xdist workers.
+ Ensure pytest_assertrepr_compare hook is called first.
* Breaking Changes
+ Switch to the more permissive MIT license. This change applies to all
versions from 5.0.0 and beyond.
+ Now requires Python 3.10 or higher. Support for Python 3.8 has been
dropped. The minimum required version of pytest is v8.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=15
* **serializer:** preserve trailing newlines in ambr serialization (#950)
- from version 4.9.0
* **serializer:** raise TypeError when serializing non-byte like object
in binary mode (#951)
* Add --snapshot-ignore-file-extensions argument to support DVC (#943)
* Add compose_matchers utility for composing 1 or more matchers (#952)
* Add SingleFileAmberSnapshotExtension as a single-file variant of the
default amber extension (#959)
* Include details about created/updated snapshots in detailed report (#942)
- from version 4.8.3
* Snapshots of deselected parametrized tests wrongly marked as unused (#965)
- from version 4.8.2
* Avoid unnecessary env updates to reduce chances of segfault (#956)
- from version 4.8.1
* Check current session's pending-write queue when recalling snapshots
(e.g. diffing) (#927)
- from version 4.8.0
* Add option to disable diffing (#924)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=13
- update to 4.6.0:
* **serializer:** add support for FunctionType serialization
* support setting defaults
* **filter:** add paths_include filter
* add include option to snapshots, similar to exclude
* remove colored dependency
* support python 3.12
* **serializer:** add snapshot regex value matcher and bypass
custom repr helper
* preserve Falsy values in assertion diff function
* **amber:** expose serialize_custom_iterable method of
AmberDataSerializer
- drop no-colored.patch: obsolete
OBS-URL: https://build.opensuse.org/request/show/1124101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-syrupy?expand=0&rev=3
* **serializer:** add support for FunctionType serialization
* support setting defaults
* **filter:** add paths_include filter
* add include option to snapshots, similar to exclude
* remove colored dependency
* support python 3.12
* **serializer:** add snapshot regex value matcher and bypass
custom repr helper
* preserve Falsy values in assertion diff function
* **amber:** expose serialize_custom_iterable method of
AmberDataSerializer
- drop no-colored.patch: obsolete
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=5