diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2026-05-23 17:00:05 +1200 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-05-29 09:07:25 +0530 |
| commit | 0f94b8aa144c4182134ebc8bebb14787544ff491 (patch) | |
| tree | e207df16a50625f61b0a869ae85baf6e8a56327b /meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.bb | |
| parent | 009207f76fac2447d79eb07d356c49674dd49c53 (diff) | |
| download | meta-openembedded-0f94b8aa144c4182134ebc8bebb14787544ff491.tar.gz | |
python3-inline-snapshot: upgrade 0.32.6 -> 0.32.7
Changelog:
============
- Fixed snapshot comparison for dicts where keys are dataclass instances (or
other custom objects used as dict keys), which previously caused corrupted
snapshots - either collapsing multiple entries into one or appending duplicate
keys on subsequent runs
- Fixed tuple snapshot updates to compare elements positionally rather than
using sequence alignment, so existing expressions (e.g. 3 + 3) are preserved
when elements are removed from or added to a tuple.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
(cherry picked from commit fe086de31ae8fe4c8d63306c112dbe8e41db1e59)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.bb b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.bb new file mode 100644 index 0000000000..57a1b4965f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.32.7.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] = "1a97a50420de32b86c422cceadf950f1f343ba03a28b878a757ee492b741c093" | ||
| 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 | " | ||
