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 2026-05-20 15:23:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-inline-snapshot (Old)
 and      /work/SRC/openSUSE:Factory/.python-inline-snapshot.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-inline-snapshot"

Wed May 20 15:23:13 2026 rev:10 rq:1353619 version:0.33.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-inline-snapshot/python-inline-snapshot.changes
    2026-02-04 21:00:57.379681816 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-inline-snapshot.new.1966/python-inline-snapshot.changes
  2026-05-20 15:23:39.384004109 +0200
@@ -1,0 +2,57 @@
+Sun May 17 19:14:52 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.33.0:
+  * `snapshot_arg()`, which lets you move `snapshot()` calls from
+    the call site into the helper function itself.
+  * **Example.is_formatted()**: new method to check whether a
+    Python file in the example is already Black-formatted.
+  * **Example.run_inline**: exception strings in `raises` are now
+    formatted the same way `inline_snapshot.extra.raises` does,
+    which is shorter for small assertions like
+    `raises=snapshot("UsageError: default value cannot be a
+    Custom value")`.
+  * **Example.run_inline**: the `raises`, `stderr`, and
+    `changed_files` arguments are now handled with
+    `snapshot_arg()`, so `snapshot()` is no longer needed at the
+    call site. `raises` defaults to `"<no exception>"` and
+    `changed_files` defaults to `{}`.
+  * **Example.run_inline**: the `reported_categories` argument is
+    now handled with `snapshot_arg()` and its type changed from
+    `list[Category]` to `set[Category]`. It is now only asserted
+    when the reported categories differ from the CLI flags passed
+    via `args`.
+  * Fixed `repr(external_file(...))` to use a path relative to
+    the calling file instead of the absolute path, which also
+    fixes incorrect reprs on Windows.
+
+-------------------------------------------------------------------
+Sun May 17 19:12:21 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.32.5:
+  * Fixed a bug where tuples used as snapshot keys caused problems
+    because they had the same hash value (#358)
+- update to 0.32.4:
+  * Added context_managers parameter to Example.run_inline()
+  * Fixed UsageError during session teardown when using -k (#355)
+- update to 0.32.3:
+  * Improved performance of snapshot() by using lazy evaluation
+  * Fixed code generation for Call objects
+  * use the handler for datetime types only for the concrete types
+- update to 0.32.2:
+  * Tuples in snapshots were converted internally into lists (#349)
+- update to 0.32.1:
+  * Fixed handling of datetime and time objects with timezone information
+  * Fixed customize hook registration
+- update to 0.32.0:
+  * removed support for python 3.8
+  * pathlib.Path/PurePath values are now platform independent
+  * Support for import statement generation for all types
+  * Added a new way to customize snapshot creation with @customize
+  * Added a plugin system
+  * Added support for conditional external storage
+  * Added built-in handlers for datetime.datetime, date, time, and timedelta
+  * Generates __file__ instead of the filename string
+  * Uses dirty-equals IsNow() instead of current datetime
+- drop regenerate-snapshots.patch (obsolete)
+
+-------------------------------------------------------------------

Old:
----
  inline_snapshot-0.31.1.tar.gz
  regenerate-snapshots.patch

New:
----
  inline_snapshot-0.33.0.tar.gz

----------(Old B)----------
  Old:  * Uses dirty-equals IsNow() instead of current datetime
- drop regenerate-snapshots.patch (obsolete)
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-inline-snapshot.spec ++++++
--- /var/tmp/diff_new_pack.BoMITv/_old  2026-05-20 15:23:40.000029444 +0200
+++ /var/tmp/diff_new_pack.BoMITv/_new  2026-05-20 15:23:40.000029444 +0200
@@ -26,25 +26,24 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-inline-snapshot%{psuffix}
-Version:        0.31.1
+Version:        0.33.0
 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-OPENSUSE Regenerate snapshots for Python 3.12 changes
-Patch0:         regenerate-snapshots.patch
 BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
 %if %{with test}
+BuildRequires:  %{python_module attrs >= 24.3.0}
 BuildRequires:  %{python_module black >= 23.3.0}
-BuildRequires:  %{python_module click >= 8.1.4}
-BuildRequires:  %{python_module dirty-equals >= 0.7.0}
+BuildRequires:  %{python_module dirty-equals >= 0.9.0}
 BuildRequires:  %{python_module hypothesis >= 6.75.5}
 BuildRequires:  %{python_module inline-snapshot = %{version}}
+BuildRequires:  %{python_module isort}
 BuildRequires:  %{python_module mypy >= 1.2.0}
 BuildRequires:  %{python_module pydantic}
 BuildRequires:  %{python_module pyright >= 1.1.359}
@@ -61,12 +60,12 @@
 Requires:       python-executing >= 2.2.0
 Requires:       python-pytest >= 8.3.4
 Requires:       python-rich >= 13.7.1
+Requires:       python-typing-extensions
 %if 0%{?python_version_nodots} < 311
 Requires:       python-tomli >= 2.0.0
 %endif
 Suggests:       python-black >= 23.3
-Suggests:       python-click >= 8.1.4
-Suggests:       python-dirty-equals >= 0.9
+Suggests:       python-dirty-equals >= 0.9.0
 BuildArch:      noarch
 %python_subpackages
 

++++++ inline_snapshot-0.31.1.tar.gz -> inline_snapshot-0.33.0.tar.gz ++++++
++++ 20243 lines of diff (skipped)

Reply via email to