meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.25.3.bb
Wang Mingyu be5dfe9b7b
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>
2025-07-30 16:40:01 -07:00

22 lines
771 B
BlitzBasic

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] = "99fc959d1362443b7551246d787f80c4c1d7cc69963ac018caeda3f0a0b3736f"
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 \
"