Skip to content
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

Python 3.7 Compatibility #4

Closed
orenbenkiki opened this issue Sep 2, 2018 · 4 comments
Closed

Python 3.7 Compatibility #4

orenbenkiki opened this issue Sep 2, 2018 · 4 comments

Comments

@orenbenkiki
Copy link

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
Copy link
Owner

cmcqueen commented Sep 4, 2018

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
Copy link
Owner

cmcqueen commented Sep 13, 2018

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
Copy link
Author

orenbenkiki commented Sep 13, 2018 via email

@cmcqueen
Copy link
Owner

I've now updated this for Python 3.8 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants