diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2025-02-10 17:01:12 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-12 09:16:04 -0800 |
| commit | cea1f979de1520d7384d8367ae78a45163c3b32e (patch) | |
| tree | 077014930d078dbba301eb028a8afb8a1d96db68 /meta-python/recipes-devtools/python/python3-inline-snapshot_0.20.1.bb | |
| parent | e23ab9efbfc1c01aed4635901c06bbed0021bb89 (diff) | |
| download | meta-openembedded-cea1f979de1520d7384d8367ae78a45163c3b32e.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-inline-snapshot_0.20.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-inline-snapshot_0.20.1.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.20.1.bb b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.20.1.bb new file mode 100644 index 0000000000..5219675e04 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.20.1.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | SUMMARY = "golden master/snapshot/approval testing library which puts the values right into your source code" | ||
| 2 | HOMEPAGE = "https://15r10nk.github.io/inline-snapshot" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4" | ||
| 5 | |||
| 6 | DEPENDS = "python3-hatchling-native" | ||
| 7 | SRC_URI[sha256sum] = "c56c871e59973500eca00610022eac19e79cd2c1b0b2d7a18abe14dde11a1431" | ||
| 8 | |||
| 9 | inherit pypi python_hatchling | ||
| 10 | |||
| 11 | PYPI_PACKAGE = "inline_snapshot" | ||
| 12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} = "python3-asttokens \ | ||
| 15 | python3-black \ | ||
| 16 | python3-click \ | ||
| 17 | python3-executing \ | ||
| 18 | python3-rich \ | ||
| 19 | python3-tomli \ | ||
| 20 | python3-typing-extensions \ | ||
| 21 | " | ||
