Skip to content

Update inline-snapshot requirement from >=0.31 to >=0.32.7#563

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/inline-snapshot-gte-0.32.7
Closed

Update inline-snapshot requirement from >=0.31 to >=0.32.7#563
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/inline-snapshot-gte-0.32.7

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 28, 2026

Updates the requirements on inline-snapshot to permit the latest version.

Release notes

Sourced from inline-snapshot's releases.

0.32.7

Fixed

  • Fixed snapshot comparison for dicts where keys are dataclass instances (or other custom objects used as dict keys), which previously caused corrupted snapshots — either collapsing multiple entries into one or appending duplicate keys on subsequent runs (#363).
  • Fixed tuple snapshot updates to compare elements positionally rather than using sequence alignment, so existing expressions (e.g. 3 + 3) are preserved when elements are removed from or added to a tuple.
Changelog

Sourced from inline-snapshot's changelog.

0.32.7 — 2026-04-23

Fixed

  • Fixed snapshot comparison for dicts where keys are dataclass instances (or other custom objects used as dict keys), which previously caused corrupted snapshots — either collapsing multiple entries into one or appending duplicate keys on subsequent runs (#363).
  • Fixed tuple snapshot updates to compare elements positionally rather than using sequence alignment, so existing expressions (e.g. 3 + 3) are preserved when elements are removed from or added to a tuple.

0.32.6 — 2026-04-10

Fixed

  • Pydantic models, attrs and dataclasses with NewType-typed fields now generate correct snapshots that wrap the field value with the NewType constructor (e.g. Something(some_id=SomeID(1)) instead of Something(some_id=1)). This could only be fixed for Python >= 3.10.

0.32.5 — 2026-03-13

Fixed

  • Fixed a bug where tuples used as snapshot keys caused problems because they had the same hash value (#358)

0.32.4 — 2026-03-01

Added

  • Added context_managers parameter to Example.run_inline(), allowing tests to inject context managers (e.g. unittest.mock.patch) that are active during show_report().

Fixed

  • Fixed UsageError("unmanaged values cannot be compared with snapshots") raised during session teardown when using -k to filter tests (#355). This was caused by inline-snapshot trying to update snapshots that were never compared. This is a rare edge case that caused problems when matchers were used, so it has been removed.

0.32.3 — 2026-02-24

Changed

  • Improved performance of snapshot() by using lazy evaluation.

Fixed

  • Fixed code generation for Call objects created with builder.create_call().
  • use the handler for datetime types only for the concrete types and not the subclasses.

0.32.2 — 2026-02-21

Fixed

  • Tuples in snapshots were converted internally into lists if they were evaluated more than once (#349)

... (truncated)

Commits
  • c2e7209 bump: version 0.32.6 → 0.32.7
  • b6d7d88 Merge pull request #364 from 15r10nk/fix-dataclasses-as-dict-keys
  • ae3b50e fix: dataclasses as dictionary keys
  • 009d353 bump: version 0.32.5 → 0.32.6
  • ab847c1 Merge pull request #362 from 15r10nk/fix-typing-new-type
  • 515eb2c fix: fix typing.NewType handling in pydantic models, attrs and dataclasses
  • fa942c9 bump: version 0.32.4 → 0.32.5
  • 9e5250b Merge pull request #359 from 15r10nk/fix-snapshot-tuple-keys
  • aa6a773 fix: Fixed a bug where tuples used as snapshot keys caused problems because t...
  • ec644e4 bump: version 0.32.3 → 0.32.4
  • 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 [inline-snapshot](https://github.com/15r10nk/inline-snapshot) to permit the latest version.
- [Release notes](https://github.com/15r10nk/inline-snapshot/releases)
- [Changelog](https://github.com/15r10nk/inline-snapshot/blob/main/CHANGELOG.md)
- [Commits](15r10nk/inline-snapshot@0.31.0...0.32.7)

---
updated-dependencies:
- dependency-name: inline-snapshot
  dependency-version: 0.32.7
  dependency-type: direct:development
...

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 Apr 28, 2026
@koxudaxi koxudaxi closed this Apr 28, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 28, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/inline-snapshot-gte-0.32.7 branch April 28, 2026 05:08
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.

1 participant