-
Notifications
You must be signed in to change notification settings - Fork 696
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
Build failure with CPython main (3.11). #2365
Comments
Thanks for reporting. Looks like there's documentation on what to use instead of PyParser_SimpleParseString and PyEval_CallObjectWithKeywords but can't see anything on python 3.9 release notes for a PyNode_Compile substitution. Any hint? |
Thanks for taking a look so quickly! Just to be clear, the text I included above is only a sample of the output I saw. Here's the full list or errors and warnings, grouped:
That boils down to:
(Note that you will need to fix all these, except For For the removed functions, including For For For the other deprecated functions, see https://docs.python.org/3.11/whatsnew/3.11.html#id3 I'll leave the |
Thanks! much appreciated. |
Took a stab at fixing these, first of all it looks like you tested this with a version < 2.0.20 where the 3.10 issues are already fixed. On master switching |
If the only error is about using |
Anything I can do to help with this? |
If you can take a look |
I'm currently running into this as Fedora is preparing to move to 3.11 for the upcoming release, and trying to understand what the uwsgi/python code is trying to accomplish here. |
Should be fixed in 2.0.21. Still we'll have issues with stuff deprecated that will be removed in 3.12. |
On Fedora this did the trick for me:
|
On Thu, Feb 16, 2023 at 10:41:25PM -0800, Steve Pepple wrote:
On Fedora this did the trick for me:
`sudo dnf install python3.11-devel.x86_64`
Not sure I follow, the current version of uwsgi is available on all
supported Fedora versions to install through `dnf`? Is there a problem
with those packages?
|
pip-installing uWSGI with the main branch of the CPython repo ends in failures due to deprecations in the C-API.
I end up with output like this:
The text was updated successfully, but these errors were encountered: