-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
FIX: change c includes to account for upstream changes #4428
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
Conversation
|
I think this needs For the pxd file the easiest way to do that is |
6019a90 to
c55e5ee
Compare
python/cpython#28968 / 8e5de40f90476249e9a2e5ef135143b5c6a0b512 which is part of implementing https://bugs.python.org/issue35134 moved the header "longintrepr.h" into a sub-folder. The notes on this change suggested to include "Python.h" instead.
c55e5ee to
98bdc1e
Compare
scoder
left a comment
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.
I think what we're essentially saying here is "we always need Python.h anyway, but in Py2.7, we also need longintrepr.h". Let's spell it that way.
… sometimes longintrepr.h.
|
The failures appears to be |
I think that's a pre-existing failure on the master branch |
|
Thanks. |
…H-4428) See python/cpython#28968 which is part of implementing https://bugs.python.org/issue35134 moved the header "longintrepr.h" into a sub-folder. The notes on this change suggested to include "Python.h" instead.
|
0.29.x: 0f7bd0d |
|
What is the workaround? |
The best "work-around" is probably to use the latest Cython releases. |
Let me be a bit more precise. I have a Debian 12 server and I would like to use Python 3.11. What is the workaround that I can use to have Python 3.11 without compiling Python myself? Is there a way to install longintrepr.h? |
|
@l1x This due to a change to CPython to no longer include that header. If you are feeling particularly bloody minded I guess you could put an empty file with the right name someplace that the compiler will see but that seems like a Bad Idea™️ . The best fix is to update the version of cython you are using and re-cythonize your source. |
|
I am still getting this issue I can't update cython version as its not compatible with coqui-tts. Also upgrading cython version to 3.0.0 doesn't woek either. I am using ventura osx m2 chip. |
Then you're stuck and there is no possible solution that lets you use Python 3.11. I suggest you use Python 3.10 or earlier. |
|
yea, changed back it to 3.10. It's working fine. Thanks!
…On Thu, Aug 17, 2023 at 12:24 PM da-woods ***@***.***> wrote:
I can't update cython version as its not compatible with coqui-tts
Then you're stuck and there is no possible solution that lets you use
Python 3.11.
I suggest you use Python 3.10 or earlier.
—
Reply to this email directly, view it on GitHub
<#4428 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHQZX5ZYED5SWSQFBXZ7DRDXVZASFANCNFSM5GY3SCJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
*nabanita*
|

python/cpython#28968 / 8e5de40f90476249e9a2e5ef135143b5c6a0b512 which is part of implementing https://bugs.python.org/issue35134 moved the header "longintrepr.h" into a sub-folder. The notes on this change suggested to include "Python.h" instead.