python3-inline-snapshot: upgrade 0.19.3 -> 0.20.1

Changelog:
============
- fixed a windows bug with the readline module
- 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)
- fixed some issues with dataclass arguments
- fixed an issue where --inline-snapshot=review discarded the user input and never formatted
  the code if you used cpython 3.13.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2025-02-10 17:01:12 +08:00
committed by Khem Raj
parent e23ab9efbf
commit cea1f979de

View File

@@ -0,0 +1,21 @@
SUMMARY = "golden master/snapshot/approval testing library which puts the values right into your source code"
HOMEPAGE = "https://15r10nk.github.io/inline-snapshot"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4"
DEPENDS = "python3-hatchling-native"
SRC_URI[sha256sum] = "c56c871e59973500eca00610022eac19e79cd2c1b0b2d7a18abe14dde11a1431"
inherit pypi python_hatchling
PYPI_PACKAGE = "inline_snapshot"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
RDEPENDS:${PN} = "python3-asttokens \
python3-black \
python3-click \
python3-executing \
python3-rich \
python3-tomli \
python3-typing-extensions \
"