quarkslab / qbindiff

Quarkslab Bindiffer but not only !
https://diffing.quarkslab.com/qbindiff/doc/source/intro.html
Apache License 2.0
182 stars 8 forks source link

Move from setuptools to a different build system #23

Closed patacca closed 10 months ago

patacca commented 1 year ago

Numpy is incompatible with recent version of setuptools starting from version 65.5.2 and will be impossible to use it entirely starting from python 3.12 because of the removal of the deprecated distutils module. See this for reference. It is recommended to use setuptools < 60.0 for python 3.12 and later even though this won't be enough to guarantee it will work forever. On top of that setuptools is not very stable in its configuration API relying already on 3 config files, none of which can replace all the others: pyproject.toml, setup.cfg, setup.py.

It seems we cannot expect a fix for this to ever happen as both setuptools and numpy developers have no intention of keeping compatibility between each other.

The best solution would be to drop the usage of setuptools entirely and transition to meson-python that is also the solution used by numpy.