-
Notifications
You must be signed in to change notification settings - Fork 1
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
Support python 3.8+ #4
Comments
I can't think of a specific reason to require Python 3.11. Maybe some modules use some of the newer type hinting features (this could be fixed easily). It's more about the fact that compiling binaryen and building different wheels for each version has been a real pain. If you checkout the I don't think it would be hard to support 3.8, just tedious. At the moment I don't have an easy way to test different OS/Python versions which makes debugging quite hard. If we can get the package to compile to all platforms and versions of Python I'd be more than happy to create a new release. |
Awesome, thank you for exploring this! I will check out the The fact you have such a nice structure to compile binaryan on mac/linux/windows AND then distribute via python is amazing. |
The issue we see in the build is reported as an issue with the python-cffi/cffi team: python-cffi/cffi#117 : cffi relies on deprecated (now removed) distutils.msvc9compiler module I have no solution yet, but wanted to share this finding. |
Pinning cffi to 1.15.0 fixes the current error, so it is indeed related to that, but then it runs into a build error later on.
The next error is
|
A potential fix is coming in this PR: python-cffi/cffi#120 That should allow us to build the wheels for python 3.10 without making any changes. I am going to wait with further attempts until that PR is merged. |
@icppWorld it looks like there have been some fixes implemented as part of python-cffi/cffi#118. I'm not sure if there are related issues with ci-buildwheel, so I'm going to have a look and see if I can get it building. |
Currently, you require python 3.11 or higher. Can this be relaxed to require python 3.8 or higher?
Background:
I'd love to include your package as a dependency in icpp-pro, so I can add wasm optimizations into the build-process. However, we currently support Python 3.8 and up, and I would like to keep it that way.
Is there a specific reason to require python 3.11 ?
The text was updated successfully, but these errors were encountered: