-
Notifications
You must be signed in to change notification settings - Fork 172
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
Support Python 3.11 #574
Support Python 3.11 #574
Conversation
Codecov Report
@@ Coverage Diff @@
## master #574 +/- ##
==========================================
- Coverage 85.26% 85.23% -0.04%
==========================================
Files 81 81
Lines 8004 8006 +2
==========================================
- Hits 6825 6824 -1
- Misses 1179 1182 +3
|
requirements.txt
Outdated
@@ -7,7 +7,7 @@ msgpack>=0.5.6 | |||
sortedcontainers | |||
uvloop>=0.14.0 | |||
grpcio-tools>=1.33.2 | |||
protobuf>=3.12.2,<4.0.0 | |||
protobuf==4.23.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing protobuf version to latest can cause potential conflicts with some older projects. We gotta figure out some reasonably old version where the code (still) works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use protobuf>=X
@borzunov i've added some tweaks to make py311 install properly. please take a look when u have time |
Co-authored-by: Alexander Borzunov <borzunov.alexander@gmail.com>
Co-authored-by: Alexander Borzunov <borzunov.alexander@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😈
fe01882
to
b769f89
Compare
tested: petals client v2.0.0.post3 works in colab with this version of hivemind and forced protobuf 4.x |
(cherry picked from commit ec1d7fe)
Python 3.11 (stable) has been released in Oct 2022 (https://www.python.org/downloads/release/python-3110/) and soon may become a standard version across many distros. We need to support it.