Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to latest supported pydantic #54

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Vectorrent
Copy link
Contributor

What does this PR do?

This PR lifts the pydantic < 2.0 restriction. Hivemind was recently updated to support Pydantic v2, and this limitation is no longer necessary.

I'm not sure why, but maintainers are not releasing PyPi packages anymore. If you look at the Petals source code, you'll see that they just point to the appropriate commit hash on Github; so, that's what I've done here, as well.

Let me know if you have any questions. Thanks!

@Vectorrent Vectorrent requested a review from Borda as a code owner August 26, 2024 08:20
Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86%. Comparing base (0835ea0) to head (76e8a30).
Report is 13 commits behind head on main.

Additional details and impacted files
@@        Coverage Diff         @@
##           main   #54   +/-   ##
==================================
  Coverage    86%   86%           
==================================
  Files         3     3           
  Lines       167   167           
==================================
  Hits        144   144           
  Misses       23    23           

hivemind >=1.1.0, <=1.1.10.post2; sys_platform == 'linux'

pydantic <2.0.0 # fixme: lift when resolved
hivemind @ git+https://github.com/learning-at-home/hivemind.git@213bff98a62accb91f254e2afdccbf1d69ebdea9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets wait till this is fully released

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.

2 participants