Skip to content

Bump syrupy from 4.7.1 to 6.1.1 - #61

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/syrupy-6.1.1
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/syrupy-6.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 17, 2026

Copy link
Copy Markdown
Contributor

Bumps syrupy from 4.7.1 to 6.1.1.

Release notes

Sourced from syrupy's releases.

v6.1.1

Note: 6.1.0 was skipped due to a CI issue. Use 6.1.1.

Experimental --snapshot-file-lock for pytest-xdist

--snapshot-update under pytest-xdist can race when multiple workers rewrite the same multi-entry amber (.ambr) file, silently dropping snapshots (#1237).

This release adds an experimental opt-in:

  • --snapshot-file-lock — exclusive file lock + atomic replace around amber writes
  • --snapshot-file-lock-timeout — max wait for the lock (default 60s)

Same-machine workers only; not reliable across remote workers / NFS. See #1239.

Callout for pytest-xdist users: please try --snapshot-file-lock with --snapshot-update and open an issue if you hit problems. Locking is expected to become the default in a future minor release.

New Contributors

Full Changelog: syrupy-project/syrupy@v6.0.0...v6.1.1

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):
</tr></table>

... (truncated)

Changelog

Sourced from syrupy's changelog.

v6.1.1 (2026-09-13)

What's Changed

New Contributors

Full Changelog: syrupy-project/syrupy@v6.0.0...v6.1.1

v6.1.0 (2026-09-13)

What's Changed

New Contributors

Full Changelog: syrupy-project/syrupy@v6.0.0...v6.1.0

v6.0.0 (2026-08-22)

What's Changed

... (truncated)

Commits
  • 2d251e7 chore(release): 6.1.1 [skip ci]
  • 9b64ec0 chore(release): 6.1.0 [skip ci]
  • 5b4256e fix: opt-in file lock for concurrent amber writes under xdist (#1239)
  • d4cb151 chore(deps): update dependency hypothesis to v6.168.0 (#1238)
  • 16c4cb5 test: add coverage for read_snapshot_data_from_location returning None (#1236)
  • 2e1d3ba chore(deps): update dependency ruff to v0.16.6 (#1235)
  • fcc929d chore(deps): update actions/deploy-pages action to v5.0.1 (#1234)
  • 4f1bad7 chore(deps): update dependency hypothesis to v6.167.1 (#1232)
  • 24eda28 chore(deps): update dependency hypothesis to v6.167.0 (#1231)
  • 0d7e46f chore(deps): update dependency hypothesis to v6.166.0 (#1230)
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [syrupy](https://github.com/syrupy-project/syrupy) from 4.7.1 to 6.1.1.
- [Release notes](https://github.com/syrupy-project/syrupy/releases)
- [Changelog](https://github.com/syrupy-project/syrupy/blob/main/CHANGELOG.md)
- [Commits](syrupy-project/syrupy@v4.7.1...v6.1.1)

---
updated-dependencies:
- dependency-name: syrupy
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Sep 17, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) September 17, 2026 00:33
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