summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-inline-snapshot_0.18.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-inline-snapshot: upgrade 0.18.1 -> 0.18.2Wang Mingyu2025-01-071-21/+0
| | | | | | | | | | | | | | | | | | | Changelog: ========== - [Alarm] Fix Alarm reuse on cancellation. - [xDS RBAC] Support string_match in HeaderMatcher. - [pick_first] fix shutdown bug in new PF impl. - [c-ares] Fix inverted length check in GrpcPolledFdWindows. - [RetryFilter] Copy the SliceBuffer from RetryFilter's cache to batch payload. - [EventEngine] Add stronger wording on Endpoint::Read contract. - [chttp2] Fix channelz address. - [XdsClient] Add missing authority to XdsClient metrics scope. - [EventEngine] API contract: Endpoint::Read will provide either an error or data, but never both. - [Build] Dropped Bazel 6.x support. - [Build] Override MACOSX_DEPLOYMENT_TARGET for gRPC Python. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-inline-snapshot: upgrade 0.14.0 -> 0.18.1Wang Mingyu2024-12-241-0/+21
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>