Closed lucidfrontier45 closed 1 year ago
Thanks for the patch @lucidfrontier45 !
Let's move forward, and remove unsupported Python versions from setup.py
:)
It will:
No sorry, actually, let's keep Python 2.7 compatibility. Cython is still supporting that, and it doesn't hurt to do the same here.
@BoboTiG
OK, I regenerated with "-2" option. Since in next major version of Cython, the default language level will change to 3, I also add explicit "-2" option in the update_cpp.sh
.
Perfect, thanks!
The current cpp codes are incompatible with Python 3.11 due to Cython's bug. https://github.com/cython/cython/issues/4461
build fails as follows.
Luckly the latest Cython has already fixed this issue. I just regenerated cpp files with latest Cython 0.29.32.
I tested the newly generated cpp files against python 3.8-3.11rc2. All builds it without any error and unittest also passed.
I also added
-3
option to remove warnings. If Python 2.7 support is must, I'll regenerate without this option.