-
Notifications
You must be signed in to change notification settings - Fork 8
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
Deprecation of distutils #51
Comments
Thanks for the info. Hopefully, there is a simple replacement or workaround: a port to a completely different build system would presumably be too expensive. Any suggestions are appreciated. |
Unfortunately, the migration docs are a bit sparse and I am not familiar enough with building C/C++ code. There is some guidance at https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html, but for the CCompiler part, there is still some discussion in pypa/setuptools#2806. The corresponding imports have been introduced in 904faa9 by @Cyperghost as part of multithread building support - maybe he can tell more about why monkey-patching |
As we do not have funding for Gamera, we must always consider whether just porting without any benefit, but just for the sake of keeping pace with the moving target Python is worth the time and money. There is also the pending deprecation of the old buffer protocol. Maybe it's time to pull the plug. We will briefly estimate the effort and then decide whether we will reallocate the ressources to other projects. |
Cyberghost will have a closer look into this issue and hopefully work on the port to setuptool. |
The build process has been ported to setuptools with the latest commit. |
When building the package with some recent Python version (3.10.5 in my case), there are warnings about distutils being used, but deprecated:
The text was updated successfully, but these errors were encountered: