Skip to content

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

Closed
himax12 wants to merge 1 commit into
apache:mainfrom
himax12:fix/pydantic-deprecation
Closed

himax12 wants to merge 1 commit into
apache:mainfrom
himax12:fix/pydantic-deprecation

Conversation

@himax12

@himax12 himax12 commented Feb 10, 2026 •

Copy link
Copy Markdown

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

Copilot AI left a comment

Copy link
Copy Markdown

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.

Comment thread pyproject.toml
@skrawcz

skrawcz commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

you need to actually change the code like #663

@skrawcz skrawcz 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.

you need to actually change the code like #663

@andreahlert andreahlert mentioned this pull request Mar 18, 2026
@andreahlert andreahlert added kind/bug Something is broken area/typing Mypy, type hints, pydantic labels Mar 30, 2026
@github-actions github-actions Bot added the pr/stale No activity for 14+ days after review label Apr 20, 2026
@github-actions

Copy link
Copy Markdown

This PR has been inactive for 20 days after receiving review feedback.
Converting to draft.

Please mark it as ready for review when you have addressed the comments.
If no activity occurs within 90 days, it will be closed automatically.

@github-actions

Copy link
Copy Markdown

This PR has had no activity for 91 days.
Closing to keep the PR list manageable.

Feel free to reopen when you are ready to continue.
If the branch has conflicts, a fresh PR against main might be easier.

@github-actions github-actions Bot closed this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/typing Mypy, type hints, pydantic kind/bug Something is broken pr/stale No activity for 14+ days after review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants