-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Deprecated modules #2005
Comments
This will be fix before we release v5.0. |
@kabeor What's the path forward for Capstone 5.0? Migrate away from the deprecated libraries? I'd like to help with this if it's the only thing left blocking a release. |
@peace-maker Yes, this issue is the only left thing I believe:) |
What's the minimum python version you want to support? |
@peace-maker according to #1993 (comment) they plan to support Python 2.7 as the lowest version. As for Python 3, see https://endoflife.date/python - looks like it's either 3.7 (EOL in 2 weeks), or 3.8 |
Closed by #2400 |
pkg_resources
https://github.com/capstone-engine/capstone/blob/master/bindings/python/capstone/__init__.py#L269
https://discuss.python.org/t/deprecating-importlib-resources-legacy-api/11386
pkg_resources
seems to be deprecated from Python 3.9.distutils
https://peps.python.org/pep-0632/
distutils
is deprecated since Python 3.10 and no longer installed in Python 3.12 (https://docs.python.org/3.12/whatsnew/3.12.html).For instance, it's used in Python bindings:
https://github.com/capstone-engine/capstone/blob/next/bindings/python/capstone/__init__.py#L346
Discussion
Should we just put a warning somewhere like "works with Python x.xx" or maybe thinking about an alternative for these modules?
The text was updated successfully, but these errors were encountered: