cmcqueen/simplerandom

Python 3.7 Compatibility

Closed this issue · 4 comments

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.

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.

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.

I've now updated this for Python 3.8 too.