mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-28 23:30:21 +00:00
python3-inline-snapshot: upgrade 0.34.2 -> 0.35.2
Changelog: ============ - fix passing PYTHONPATH, PYTHONWARNINGS, and PYTHONDONTWRITEBYTECODE while running the test suite. - fix passing PYTEST_DISABLE_PLUGIN_AUTOLOAD and PYTEST_PLUGINS while running the test suite. - inline-snapshot now tracks source files that use external() in .inline-snapshot/files_using_external.txt (inside storage-dir) and uses this tracked list to detect and trim unused external snapshots. - The tool.inline-snapshot.test-dir configuration option is only used as a compatibility fallback when files_using_external.txt does not exist yet. - Documentation examples now use rich terminal snapshots to show pytest output with colors and formatting. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -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] = "6cfd2ea0b52d9cb9beb13c1e73d740ff86f630ba48d9ea6947e54e3ff8494876"
|
||||
|
||||
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 \
|
||||
"
|
||||
Reference in New Issue
Block a user