diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2025-07-31 07:29:12 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-30 16:40:01 -0700 |
| commit | be5dfe9b7bca7140d7838eb1e1d5b60bf6c08a99 (patch) | |
| tree | bf2e23309df40139bd18dcad957d830e16becd56 /meta-python/recipes-devtools/python/python3-inline-snapshot_0.25.3.bb | |
| parent | 748ad70ede2bba15755b88269d7a74c4c525cf94 (diff) | |
| download | meta-openembedded-be5dfe9b7bca7140d7838eb1e1d5b60bf6c08a99.tar.gz | |
python3-inline-snapshot: upgrade 0.24.0 -> 0.25.3
Changelog:
===============
- New external() implementation with support for different data formats.
- Ability to declare custom external formats with @register_format.
- external() can now be used without snapshot(), such as assert
"long text" == external() or inside snapshots like dirty-equals.
- You now have to declare format aliases if you used outsource()
with a different suffix than .txt or .bin in the past.
- external_file() now follows the aliases defined by register_format_alias().
- Removed unnecessary uuid7 dependency introduced in 0.25.0
- improved performance by checking for "external" in the code string before
parsing the code and checking the AST
- solved incompatibility with pytest_pretty
- Fix issue terminal with is preserved
- cleanup temporary path
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.25.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-inline-snapshot_0.25.3.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.25.3.bb b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.25.3.bb new file mode 100644 index 0000000000..4f7949bf41 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.25.3.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] = "99fc959d1362443b7551246d787f80c4c1d7cc69963ac018caeda3f0a0b3736f" | ||
| 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 | " | ||
