11
0
forked from pool/python-syrupy

6 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
4 changed files with 64 additions and 10 deletions

View File

@@ -1,3 +1,56 @@
-------------------------------------------------------------------
Fri Oct 10 01:04:51 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
-------------------------------------------------------------------
Mon Apr 28 16:18:23 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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)
-------------------------------------------------------------------
Sat Nov 9 15:51:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Thu Mar 28 20:32:07 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-syrupy
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,21 @@
%{?sle15_python_module_pythons}
Name: python-syrupy
Version: 4.6.1
Version: 5.0.0
Release: 0
Summary: Pytest Snapshot Test Utility
License: Apache-2.0
License: MIT
URL: https://github.com/tophat/syrupy
Source: https://github.com/tophat/syrupy/archive/refs/tags/v%{version}.tar.gz#/syrupy-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.4.0}
BuildRequires: %{python_module pytest >= 7.0.0}
BuildRequires: %{python_module pytest-benchmark >= 4.0.0}
BuildRequires: %{python_module pytest-xdist >= 3.1.0}
BuildRequires: %{python_module pytest >= 8.0.0}
BuildRequires: %{python_module pytest-benchmark >= 5.1.0}
BuildRequires: %{python_module pytest-xdist >= 3.6.1}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 7.0.0
Requires: python-pytest >= 8.0.0
BuildArch: noarch
%python_subpackages

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e783984a8be1db631bd6dfbda72a8f43fbc060f2e886dfa9007331a37c50ef4c
size 2309288

3
syrupy-5.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25b2b2bf698c9cd95eb177bb5a4b31c0e7e553f3d51847dfce93db0d303f9d7d
size 2324249