Python 3.7 Compatibility
Closed this issue · 4 comments
orenbenkiki commented
It seems Python 3.7 broke compatibility in the internals of PyThreadState
, so building simplerandom
in 3.7 fails with the error:
cython/_iterators_cython.c:29454:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
See for example mcfletch/pyopengl#11 which encountered the same problem.
cmcqueen commented
Please try release 0.13.1. I have created it using Cython 0.28.5. Hopefully this is compatible with Python 3.7, however I haven't tried it myself since I don't currently have Python 3.7 on a Linux system.
cmcqueen commented
Have you had a chance to try 0.13.1? I'm interested to follow up on this with a verification if it works or not.
If it does work, I will update the list of supported Python versions in the setup.py
file.
orenbenkiki commented
Sorry for the late response - was on vacation.
Yes, I just tried it w/ 0.13.1 and it works on both 3.6 and 3.7.
Thanks!
Oren.
…On Thu, Sep 13, 2018 at 4:29 AM, Craig McQueen ***@***.***> wrote:
Have you had a chance to try 0.13.1?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEKXpPZ7lWw5c9MmkXp67y907aOipCIks5uabT6gaJpZM4WWojp>
.
cmcqueen commented
I've now updated this for Python 3.8 too.