15
0

Accepting request 1218960 from devel:languages:python

- 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/request/show/1218960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inline-snapshot?expand=0&rev=2
This commit is contained in:
2024-10-29 13:36:35 +00:00
committed by Git OBS Bridge
4 changed files with 24 additions and 7 deletions

View File

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

BIN
inline_snapshot-0.13.3.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,10 +1,25 @@
-------------------------------------------------------------------
Tue Oct 29 08:12:20 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <gyee@suse.com>
- Enable sle15_python_module_pythons.
- Enable sle15_python_module_pythons.
-------------------------------------------------------------------
Fri Aug 16 23:25:30 UTC 2024 - Guang Yee <gyee@suse.com>
- 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)

View File

@@ -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