-
Notifications
You must be signed in to change notification settings - Fork 291
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
distutils is deprecated from Python's standard library, to be removed in Python 2.12 #585
Comments
I fear that will get a PITA. There are some ways to replace it easily but only for python 3. I haven't found anything for python 2 yet. Could somebody please have a look at: ansible-collections/community.general#3936 Do I read it correctly, that we may use the Ansible builtin class which falls back to distutils for older releases if not found. We should be somewhat save then because may only fail in some unsupported cases? I commented a question there but as I read it it will be only in the community.general collection not in the core package. This is not great. |
I think that we don't have to worry about Py2.12 at all :) They had a type there. distutils will be deprecated only for Py3.12 |
I work on this currently (also on #596). I have an idea where we don't have dependencies at all. |
Also the fixes proposed to you there - e.g. ansible-collections/community.postgresql#178 looks as a good solution |
Good find. I will implement this. |
Please consider creating a follow-up PR based on ansible-collections/community.general#3984. |
Thanks @felixfontein will do! |
SUMMARY
We need to check if we use this
ansible-collections/overview#45 (comment)
ISSUE TYPE
The text was updated successfully, but these errors were encountered: