Skip to content

build(deps): Update syrupy requirement from >=5.5.3 to >=6.0.0 in /tests - #28

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tests/syrupy-gte-6.0.0
Open

build(deps): Update syrupy requirement from >=5.5.3 to >=6.0.0 in /tests#28
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tests/syrupy-gte-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 26, 2026

Copy link
Copy Markdown

Updates the requirements on syrupy to permit the latest version.

Release notes

Sourced from syrupy's releases.

v6.0.0

Syrupy 6.0.0

(2026-08-22)

Syrupy 6 focuses on better built-in serialization, clearer snapshot workflows, and large-suite performance. Please review the breaking changes before upgrading.

Most suites should not need significant snapshot updates on upgrade — the main exception is dataclass usage (see below). Syrupy v6 does not change the required Python version or other package dependencies. Support for Python 3.10 will instead be dropped in the next Syrupy major version (v7).

Full Changelog: syrupy-project/syrupy@v5.5.3...v6.0.0


Breaking Changes

Built-in dataclass serialization (removed DataclassPlugin)

stdlib dataclasses are now serialized natively by the Amber serializer. The separate DataclassPlugin has been removed.

  • If you used DataclassPlugin: remove imports and plugin wiring. Behavior should match what the plugin produced; no snapshot rewrite should be needed for the dataclass shape itself.
  • If you did not use the plugin: dataclass snapshots may change from a repr-style string to structured Amber form (field-by-field). Re-run with --snapshot-update where those assertions fail.

Example of what to remove:

# Before (v5)
from syrupy.extensions.amber.dataclasses_plugin import DataclassPlugin
class MySerializer(AmberDataSerializer):
serializer_plugins = [DataclassPlugin, ...]

# After (v6) — dataclasses work with the default Amber extension
assert MyDataclass(...) == snapshot

Attrs and Pydantic models are unchanged and still need their serializer plugins. See the serializer plugins example.

(#1220, closes #1048)

JSON datetime.date snapshots

The JSON extension now serializes datetime.date as YYYY-MM-DD instead of a repr string. Existing JSON snapshots that contain dates will need an update.

(#1216, closes #1058)

path_value nested path replacement in default (literal) mode

path_value(..., regex=False) now correctly replaces values at nested paths such as user.token. Previously, the default-mode lookup missed escaped path keys, so nested values were left unchanged (and could leak into committed snapshots).

... (truncated)

Changelog

Sourced from syrupy's changelog.

v6.0.0 (2026-08-22)

What's Changed

... (truncated)

Commits
  • 621af75 chore(release): 6.0.0 [skip ci]
  • 3a9f691 fix: single file snapshot no longer buffers in memory (#1223)
  • ab13f8d chore: sponsorship (#1224)
  • 98f989c feat: add --snapshot-declaration-order for respecting declaration order (#1222)
  • b549b4b feat: built-in support for Dataclasses (#1220)
  • d34933f chore: use the benchmarks git branch (#1221)
  • f6eda02 chore(ci): permissions for gh-pages
  • a5ce049 chore(deps): update actions/configure-pages action to v6 (#1219)
  • c0cb162 chore: update github pages
  • 4d59bde chore: update docs for v6 release (#1218)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [syrupy](https://github.com/syrupy-project/syrupy) to permit the latest version.
- [Release notes](https://github.com/syrupy-project/syrupy/releases)
- [Changelog](https://github.com/syrupy-project/syrupy/blob/main/CHANGELOG.md)
- [Commits](syrupy-project/syrupy@v5.5.3...v6.0.0)

---
updated-dependencies:
- dependency-name: syrupy
  dependency-version: 6.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants