-
Notifications
You must be signed in to change notification settings - Fork 104
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
Fix building against python-3.10 #275
Conversation
@polkovnikov: I found your email on your github page just now, should I use that instead (in the commit message)? |
Specifically this build error: In file included from src/pyuv.c:8: src/handle.c: In function ‘resurrect_object’: src/handle.c:17:21: error: lvalue required as left operand of assignment 17 | Py_REFCNT(self) = refcnt; | ^ Fixes saghul#271. Co-authored-by: @polkovnikov
12b7842
to
e889874
Compare
python-3.11 has removed/changed more stuff, so I updated the commit message to be correct: this only fixes python-3.10 :-) |
It seems CI failures ("AppVeyor build failed") are unrelated -- it aborts due to pip/python being too old or something. I tested this patch in nixpkgs master with python3.7/3.8/3.9/3.10. |
Thanks! I'm going to try and resurrect the build system in the upcoming weeks. |
@saghul: Thanks! |
This can be closed now. (I thought my "Fixes ..." comment in the commit message would auto-close, but it didn't.) |
Ugh, wrong place! Sorry. |
Specifically this build error:
Fixes #271.
Co-authored-by: @polkovnikov