sagemath/sage

sage.features.Executable: Remove global imports from distutils

mkoeppe opened this issue · 7 comments

(split out from #31296)

This is to avoid deprecation warnings in Python 3.10 when the sage.features is imported.

CC: @tscrim

Component: refactoring

Author: Matthias Koeppe

Branch/Commit: 8c763f4

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/32565

New commits:

20e60f2sage.features.Executable: Remove use of distutils
8c763f4sage.features.CCompilerError: Move global import from distutils.errors into method

Commit: 8c763f4

Reviewer: Travis Scrimshaw

comment:4

LGTM.

comment:5

Thank you!