Skip to content

fix: set minimum pydantic version to 2.11 to avoid model_fields depreciations#654

Open
himax12 wants to merge 1 commit intoapache:mainfrom
himax12:fix/pydantic-deprecation
Open

fix: set minimum pydantic version to 2.11 to avoid model_fields depreciations#654
himax12 wants to merge 1 commit intoapache:mainfrom
himax12:fix/pydantic-deprecation

Conversation

@himax12
Copy link

@himax12 himax12 commented Feb 10, 2026

This pull request updates the pydantic dependency version to ensure consistency and compatibility across multiple extras in the pyproject.toml file. All references to pydantic are now set to require version 2.11 or higher.

Dependency version updates:

  • Updated the pydantic dependency to require >=2.11 in the tests, tracking-client, tracking-server, and pydantic extras sections of pyproject.toml to standardize the minimum version used throughout the project. [1] [2] [3] [4]=

…cation warning

- Updated pydantic dependency constraints to require minimum version 2.11
- Pydantic v2.11+ deprecated accessing model_fields on instances
- Will be removed in Pydantic v3.0
- Updated in: tracking-client, tracking-server, pydantic extra, and tests dependencies
- All 32 pydantic integration tests pass
Copilot AI review requested due to automatic review settings February 10, 2026 05:26
Copy link

Copilot AI left a comment

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 optional dependency constraints in pyproject.toml to require Pydantic v2.11+ in order to address model_fields deprecation behavior referenced in the PR description.

Changes:

  • Bump tests optional dependency to pydantic[email]>=2.11.
  • Bump tracking-client, tracking-server, and pydantic optional dependency groups to pydantic>=2.11.

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

@skrawcz
Copy link
Contributor

skrawcz commented Mar 3, 2026

you need to actually change the code like #663

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.

3 participants