## `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?
pkg_resourceshttps://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_resourcesseems to be deprecated from Python 3.9.distutilshttps://peps.python.org/pep-0632/
distutilsis 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?