summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-inline-snapshot_0.25.3.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-inline-snapshot: upgrade 0.25.3 -> 0.26.0Wang Mingyu2025-08-041-21/+0
| | | | | | | | | | | | | Changed ----------- now have to specify test-dir in pyproject.toml when save tests in a folder other than tests/ in project root Fixed -------- pyproject.toml is now also located based on the current directory and the pytest-root, which solves problems when use inline-snapshot with uv-workspaces Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inline-snapshot: upgrade 0.24.0 -> 0.25.3Wang Mingyu2025-07-301-0/+21
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>