patchGNU Autoconf Archive - Patches: patch #10168, Python 3.10: distutils is...


patch #10168: Python 3.10: distutils is deprecated

Submitter:  Paul Wise <pabs>
Submitted:  Tue 11 Jan 2022 09:56:39 AM UTC
Priority:  5 - Normal Status:  None
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Tue 11 Jan 2022 09:56:39 AM UTC, original submission:  

Since Python 3.10, the distutils module is deprecated.

ax_python_devel.m4 already got updated for this in commit 423f89f52aa3cc6765bc8573a5a93b222f815fa2

The ax_python.m4 ax_python_config_var.m4 ax_python_embed.m4 and ax_python_module_version.m4 files haven't yet been updated for this.

These are the warnings that are printed:

DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead

Paul Wise <pabs>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pabs (Submitted the item)

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code