Fix CI checks: update dependencies and resolve Pydantic V2.11 deprecations#526
Open
Fix CI checks: update dependencies and resolve Pydantic V2.11 deprecations#526
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #526 +/- ##
=======================================
Coverage 98.66% 98.66%
=======================================
Files 156 156
Lines 4119 4119
=======================================
Hits 4064 4064
Misses 55 55 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: nerdai <92402603+nerdai@users.noreply.github.com>
Co-authored-by: nerdai <92402603+nerdai@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove open pull requests due to failing checks
Fix CI checks: update dependencies and resolve Pydantic V2.11 deprecations
Dec 13, 2025
nerdai
approved these changes
Dec 13, 2025
nerdai
reviewed
Jan 9, 2026
Collaborator
nerdai
left a comment
There was a problem hiding this comment.
See missing lines of code in coverage check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FedRAG Pull Request Template
Thanks for contributing to FedRAG!
Please fill out the sections below to help us review your PR efficiently.
Summary
What does this PR do? Please provide a brief summary of the changes introduced.
Description
CI checks were failing due to outdated lock file and Pydantic V2.11 deprecation warnings.
Changes
Dependency synchronization
uv.lockto resolve version drift across CI environments (Python 3.10, 3.11, 3.12)Pydantic V2.11 compatibility
self.model_fields→self.__class__.model_fieldsin:base/trainer_config.py:__init__,__getattr__,__setattr__fl_tasks/pytorch.py:__getattr__fl_tasks/huggingface.py:__getattr__Accessing
model_fieldsfrom instances is deprecated in Pydantic V2.11. The fix maintains identical runtime behavior while eliminating 76 deprecation warnings.Testing
Describe how you tested your changes. Include the steps to reproduce, commands run, and any relevant outputs.
make test)Checklist
Before submitting your PR, please check off the following:
make lint)Related Issues or PRs
If this PR addresses or relates to existing issues or pull requests, link them here:
N/A
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.sh/usr/bin/curl curl -LsSf REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.