Skip to content

Bump cattrs version#856

Merged
AdrianSosic merged 2 commits into
mainfrom
fix/future_typing_cattrs
Jul 9, 2026
Merged

Bump cattrs version#856
AdrianSosic merged 2 commits into
mainfrom
fix/future_typing_cattrs

Conversation

@Scienfitz

Copy link
Copy Markdown
Collaborator

Fixes #841

@Scienfitz Scienfitz self-assigned this Jul 8, 2026
Copilot AI review requested due to automatic review settings July 8, 2026 07:40
@Scienfitz Scienfitz added the bug Something isn't working label Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates BayBE’s cattrs dependency to a newer minimum version, aiming to resolve a serialization/deserialization failure when loading campaigns containing a CompositeSurrogate from JSON produced in a different Python process (issue #841).

Changes:

  • Bump minimum supported cattrs version to >=26.1.0.
  • Regenerate uv.lock to reflect the updated dependency resolution (including updated markers/metadata).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Raises the minimum cattrs version to pick up the upstream fix for the reported deserialization failure.
uv.lock Updates the lockfile to the resolved cattrs==26.1.0 artifact set and related dependency metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml
@AdrianSosic
AdrianSosic merged commit 680b25d into main Jul 9, 2026
13 checks passed
@AdrianSosic
AdrianSosic deleted the fix/future_typing_cattrs branch July 9, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Campaign.from_json() fails for campaigns with CompositeSurrogate when JSON was exported from a different process

3 participants