16 Commits

Author SHA256 Message Date
5cd51fd741 Accepting request 1310412 from devel:languages:python:pytest
- 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
2025-10-11 20:48:11 +00:00
040fa9e545 - 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/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=15
2025-10-10 01:05:08 +00:00
8b04e14a20 Accepting request 1273246 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1273246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-syrupy?expand=0&rev=7
2025-04-30 17:02:32 +00:00
dbfda0ed44 - Update to 4.9.1
* **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
2025-04-28 19:07:34 +00:00
9616a7659a Accepting request 1222986 from devel:languages:python:pytest
- update to 4.7.2:
  * allow snapshot dir to be different
  * pytest-rerunfailures compatibility
  * Added a new CLI flag: --snapshot-patch-pycharm-diff
  * relax python version constraint, remove upperbound
  * ignore unused snapshots for skipped test
  * update classifiers, metadata

OBS-URL: https://build.opensuse.org/request/show/1222986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-syrupy?expand=0&rev=6
2024-11-11 12:43:30 +00:00
148bfafa90 - update to 4.7.2:
* allow snapshot dir to be different
  * pytest-rerunfailures compatibility
  * Added a new CLI flag: --snapshot-patch-pycharm-diff
  * relax python version constraint, remove upperbound
  * ignore unused snapshots for skipped test
  * update classifiers, metadata

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=11
2024-11-09 15:51:53 +00:00
c577a97a18 Accepting request 1164108 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1164108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-syrupy?expand=0&rev=5
2024-04-03 15:18:46 +00:00
c33e371c91 Accepting request 1163395 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1163395
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=9
2024-04-02 12:50:04 +00:00
51338f57eb Accepting request 1157658 from devel:languages:python:pytest
- update to 4.6.1:
  * support pytest 8

OBS-URL: https://build.opensuse.org/request/show/1157658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-syrupy?expand=0&rev=4
2024-03-14 16:42:41 +00:00
6e24e1e98c - update to 4.6.1:
* support pytest 8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=7
2024-03-13 15:39:59 +00:00
1b24b64ad6 Accepting request 1124101 from devel:languages:python:pytest
- 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
2023-11-08 21:16:34 +00:00
f9e905f32c - 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/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=5
2023-11-07 20:21:53 +00:00
07b5cb97df Accepting request 1100458 from devel:languages:python:pytest
- update to 4.0.8:
  * diffing excessively large snapshot lines (#778) (64b4265)
  * large snapshot diff recursion error (#776) (24260b1)
  * improve reporting around xfailed snapshots
  * hide empty snapshot report (#768) (8f581d5)

OBS-URL: https://build.opensuse.org/request/show/1100458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-syrupy?expand=0&rev=2
2023-07-26 11:21:45 +00:00
4862b04c1b - update to 4.0.8:
* diffing excessively large snapshot lines (#778) (64b4265)
  * large snapshot diff recursion error (#776) (24260b1)
  * improve reporting around xfailed snapshots
  * hide empty snapshot report (#768) (8f581d5)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=3
2023-07-24 20:00:42 +00:00
8a3dcdbad9 Accepting request 1098620 from devel:languages:python:pytest
needed by translate-toolkit tests

OBS-URL: https://build.opensuse.org/request/show/1098620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-syrupy?expand=0&rev=1
2023-07-14 13:36:01 +00:00
9f3bacde00 Accepting request 1098482 from home:mcalabkova:branches:devel:languages:python
needed by translate-toolkit tests

OBS-URL: https://build.opensuse.org/request/show/1098482
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-syrupy?expand=0&rev=1
2023-07-13 09:23:12 +00:00