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

=

  • 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

[Short description explaining the high-level reason for the pull request]

Changes

How I tested this

Notes

Checklist

  • PR has an informative and human-readable title (this will be pulled into the release notes)
  • Changes are limited to a single goal (no scope creep)
  • Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future TODOs are captured in comments
  • Project documentation has been updated if adding/changing functionality.

…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.

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