Skip to content

Update pydantic requirement to support pydantic 2.13 - #1142

Open
Robbie-Palmer wants to merge 1 commit into
quixio:mainfrom
Robbie-Palmer:bump-pydantic-2.13
Open

Update pydantic requirement to support pydantic 2.13#1142
Robbie-Palmer wants to merge 1 commit into
quixio:mainfrom
Robbie-Palmer:bump-pydantic-2.13

Conversation

@Robbie-Palmer

Copy link
Copy Markdown

What

Raise the dependency caps to allow pydantic 2.13.x:

Package Before After
pydantic >=2.7,<2.13 >=2.7,<2.14
pydantic-settings >=2.3,<2.12 >=2.3,<2.14

Changes are mirrored in both requirements.txt and conda/meta.yaml
(kept in sync per the conda-requirements pre-commit hook).

Why

The current pydantic<2.13 cap prevents quixstreams from being installed in
environments that require pydantic>=2.13 — for example projects pinning
pydantic>=2.13.4 to avoid pydantic/pydantic#12376. pydantic-settings is
bumped alongside so its aligned 2.12/2.13 releases are usable.

Testing

Verified locally with pydantic==2.13.4 / pydantic-settings==2.13.1:

  • mypy passes (no issues in 213 source files)
  • ruff check + format pass
  • Test suites pass: test_models, test_app, test_kafka, serializers and
    configuration tests

Raise the pydantic cap from <2.13 to <2.14 and pydantic-settings from <2.12 to <2.14 so quixstreams can be installed alongside pydantic 2.13.x.

Verified with pydantic 2.13.4 / pydantic-settings 2.13.1: mypy passes and the models, app, kafka, serializer and config test suites pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant