From 6f775674188f62d3e7570d2a468559923ba4cbda024baabc14f41dce8dc7c9da Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 29 Oct 2024 08:12:58 +0000 Subject: [PATCH] - update to 0.13.3: * removed non-optional dirty-equals dependency * star-expressions in list or dicts where never valid and cause a warning now. * A snapshot which contains an dirty-equals expression can now be compared multiple times. * Use tomllib instead of PyPI toml on Python 3.11 and later * added extra.prints * 3.13 support * strings with one line-break at the end become no multiline strings - Enable sle15_python_module_pythons. * add license to project metadata and some other fixes in pyproject.toml (#104) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inline-snapshot?expand=0&rev=4 --- inline_snapshot-0.12.1.tar.gz | 3 --- inline_snapshot-0.13.3.tar.gz | 3 +++ python-inline-snapshot.changes | 19 +++++++++++++++++-- python-inline-snapshot.spec | 6 ++++-- 4 files changed, 24 insertions(+), 7 deletions(-) delete mode 100644 inline_snapshot-0.12.1.tar.gz create mode 100644 inline_snapshot-0.13.3.tar.gz diff --git a/inline_snapshot-0.12.1.tar.gz b/inline_snapshot-0.12.1.tar.gz deleted file mode 100644 index f561cd8..0000000 --- a/inline_snapshot-0.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c93bb6ca5b32529174b66048a99afe2fcc84a3ab1fb0d07370619d38204c4c8 -size 81067 diff --git a/inline_snapshot-0.13.3.tar.gz b/inline_snapshot-0.13.3.tar.gz new file mode 100644 index 0000000..39b80dd --- /dev/null +++ b/inline_snapshot-0.13.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de85c5dfd31426c51b2820a3acb4569153fb62414a6a9833378b79859b869763 +size 84106 diff --git a/python-inline-snapshot.changes b/python-inline-snapshot.changes index e159098..019a1a8 100644 --- a/python-inline-snapshot.changes +++ b/python-inline-snapshot.changes @@ -1,10 +1,25 @@ +------------------------------------------------------------------- +Tue Oct 29 08:12:20 UTC 2024 - Dirk Müller + +- update to 0.13.3: + * removed non-optional dirty-equals dependency + * star-expressions in list or dicts where never valid and cause + a warning now. + * A snapshot which contains an dirty-equals expression can now + be compared multiple times. + * Use tomllib instead of PyPI toml on Python 3.11 and later + * added extra.prints + * 3.13 support + * strings with one line-break at the end become no multiline + strings + ------------------------------------------------------------------- Thu Sep 5 16:19:43 UTC 2024 - Guang Yee -- Enable sle15_python_module_pythons. +- Enable sle15_python_module_pythons. ------------------------------------------------------------------- Fri Aug 16 23:25:30 UTC 2024 - Guang Yee - version 0.12.1 - * add license to project metadata and some other fixes in pyproject.toml (#104) + * add license to project metadata and some other fixes in pyproject.toml (#104) diff --git a/python-inline-snapshot.spec b/python-inline-snapshot.spec index 565693c..00202e9 100644 --- a/python-inline-snapshot.spec +++ b/python-inline-snapshot.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-inline-snapshot -Version: 0.12.1 +Version: 0.13.3 Release: 0 Summary: Create and update inline snapshots in your Python code License: MIT @@ -42,7 +42,7 @@ BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module rich >= 13.7.1} BuildRequires: %{python_module time-machine >= 2.10.0} -BuildRequires: %{python_module toml >= 0.10.2} +BuildRequires: %{python_module toml >= 0.10.2 if %python-base < 3.11} BuildRequires: %{python_module typing-extensions} # /SECTION BuildRequires: fdupes @@ -51,8 +51,10 @@ Requires: python-black >= 23.3.0 Requires: python-click >= 8.1.4 Requires: python-executing >= 2.0.0 Requires: python-rich >= 13.7.1 +%if 0%{?python_version_nodots} < 311 Requires: python-toml >= 0.10.2 Requires: python-types-toml >= 0.10.8.7 +%endif Requires: python-typing-extensions BuildArch: noarch %python_subpackages