Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-inline-snapshot for openSUSE:Factory checked in at 2025-05-31 19:14:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-inline-snapshot (Old) and /work/SRC/openSUSE:Factory/.python-inline-snapshot.new.16005 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-inline-snapshot" Sat May 31 19:14:15 2025 rev:5 rq:1280586 version:0.23.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-inline-snapshot/python-inline-snapshot.changes 2025-01-29 16:09:51.062152829 +0100 +++ /work/SRC/openSUSE:Factory/.python-inline-snapshot.new.16005/python-inline-snapshot.changes 2025-05-31 19:14:16.568334325 +0200 @@ -1,0 +2,22 @@ +Mon May 26 14:14:35 UTC 2025 - Markéta Machová <mmach...@suse.com> + +- Update to 0.23.1 + * pytest assert rewriting works now together with inline-snapshot + if you use cpython>=3.11 + * ... is now a special value to create snapshot values. The value + change in assert [5,4] == snapshot([5,...]) is now a create + (previously it was a fix) + * Tests with failed snapshot comparisons now always result in a + pytest Error, even if snapshots have been fixed or created. + * inline-snapshot uses now --inline-snapshot=disable during CI runs + by default + * The default flags have changed for cpython >= 3.11 + * The categories in the terminal output are now links to the documentation + if it is supported by the terminal + * You can now use the config option skip-snapshot-updates-for-now + to skip the reporting of updates + * snapshot updates are now disabled by default. They be enabled with + show-updates=true in your config +- Add no-readline.patch to fix test error in pydantic-core + +------------------------------------------------------------------- Old: ---- inline_snapshot-0.19.3.tar.gz New: ---- inline_snapshot-0.23.1.tar.gz no-readline.patch BETA DEBUG BEGIN: New: show-updates=true in your config - Add no-readline.patch to fix test error in pydantic-core BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-inline-snapshot.spec ++++++ --- /var/tmp/diff_new_pack.i1csU1/_old 2025-05-31 19:14:17.300364577 +0200 +++ /var/tmp/diff_new_pack.i1csU1/_new 2025-05-31 19:14:17.300364577 +0200 @@ -26,12 +26,14 @@ %endif %{?sle15_python_module_pythons} Name: python-inline-snapshot%{psuffix} -Version: 0.19.3 +Version: 0.23.1 Release: 0 Summary: Create and update inline snapshots in your Python code License: MIT URL: https://github.com/15r10nk/inline-snapshot/ Source: https://files.pythonhosted.org/packages/source/i/inline-snapshot/inline_snapshot-%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/15r10nk/inline-snapshot/pull/245 also accept ImportError when attempting to import readline +Patch: no-readline.patch BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: python-rpm-macros ++++++ inline_snapshot-0.19.3.tar.gz -> inline_snapshot-0.23.1.tar.gz ++++++ ++++ 8133 lines of diff (skipped) ++++++ no-readline.patch ++++++ >From 1040f3f5db5ddaf64d4178d9dd4cc53027316812 Mon Sep 17 00:00:00 2001 From: MeggyCal <meggy...@users.noreply.github.com> Date: Tue, 27 May 2025 15:20:41 +0200 Subject: [PATCH] also accept ImportError --- src/inline_snapshot/pytest_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inline_snapshot/pytest_plugin.py b/src/inline_snapshot/pytest_plugin.py index c6589997..d5d54dbc 100644 --- a/src/inline_snapshot/pytest_plugin.py +++ b/src/inline_snapshot/pytest_plugin.py @@ -37,8 +37,8 @@ # fixes #186 try: import readline # noqa - except ModuleNotFoundError: # pragma: no cover - # should fix #189 + except (ImportError, ModuleNotFoundError): # pragma: no cover + # should fix #189 and #245 pass