diff mbox series

[meta-python,36/67] python3-inline-snapshot: upgrade 0.14.0 -> 0.18.1

Message ID 1735032421-13513-36-git-send-email-wangmy@fujitsu.com
State Under Review
Headers show
Series [meta-oe,01/67] ctags: upgrade 6.1.20241215.0 -> 6.1.20241222.0 | expand

Commit Message

Mingyu Wang (Fujitsu) Dec. 24, 2024, 9:26 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
==========
- uv is now only used during test time if you run the inline-snapshot tests
  with pytest --use-uv
- Add support for a new storage-dir configuration option, to tell
  inline-snapshot where to store data files such as external snapshots.
- pydantic v1 is supported again. pydantic v1 & v2 create now the same
  snapshots.
- Find pyproject.toml file in parent directories, not just next to the Pytest
  configuration file.
- Code generation for sets is now deterministic.
- attrs can now contain unmanaged values
- Add inline_snapshot.extra.warns to captures warnings and compares them
  against expected warnings.
- solved a bug caused by a variable inside a snapshot
- snapshots inside snapshots are now supported.
- runtime values can now be part of snapshots.
- f-strings can now also be used within snapshots, but are currently not
  fixed by inline-snapshot.
- dirty-equals expressions are now treated like runtime values or snapshots
  within snapshots and are not modified by inline-snapshot.
- inline-snapshot checks now if the given command line flags
  (--inline-snapshot=...) are valid
- Example(...).run_pytest(raise=snapshot(...)) uses now the flags from the
  current run and not the flags from the Example.
- do not crash when handling raw f-strings (rf"",RF"",...)
- Don't crash for snapshots like snapshot(f"")
- skip formatting if black returns an error

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...ine-snapshot_0.14.0.bb => python3-inline-snapshot_0.18.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-inline-snapshot_0.14.0.bb => python3-inline-snapshot_0.18.1.bb} (88%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.14.0.bb b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.18.1.bb
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-inline-snapshot_0.14.0.bb
rename to meta-python/recipes-devtools/python/python3-inline-snapshot_0.18.1.bb
index 3886493820..cd5e850455 100644
--- a/meta-python/recipes-devtools/python/python3-inline-snapshot_0.14.0.bb
+++ b/meta-python/recipes-devtools/python/python3-inline-snapshot_0.18.1.bb
@@ -4,7 +4,7 @@  LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4"
 
 DEPENDS = "python3-hatchling-native"
-SRC_URI[sha256sum] = "54fdf7831055d06a2423054875d640102865a164cc8291a8086e44dd9b4fd316"
+SRC_URI[sha256sum] = "a93bcf0aec68edf27323fa8dfc902354ef9a730050ab8939a4b174419828db6b"
 
 inherit pypi python_hatchling