[Python-Dev] Re: PEP 632: Deprecate distutils module

2020年9月11日 04:27:10 -0700

On 9/4/20 1:28 PM, Steve Dower wrote:
> Hi all.
> 
> setuptools has recently adopted the entire codebase of the distutils module, 
> so
> that they will be able to make improvements directly without having to rely on
> patching the standard library. As a result, we can now move forward with
> official deprecation (in 3.10) and removal (in 3.12) (noting that the 
> distutils
> docs already recommend switching to setuptools).
it would be nice to already announce that with the 3.9 release.
At the 2018 Language summit, I had a lightning talk to report about the
experience splitting out distutils into a separate binary package, showing some
unexpected usages:
Unexpected / Creative usages:
 - distutils.version
 Used "everywhere" ...
 - distutils.spawn: find_executable
 Replace with shutil.which
 - distutils.util: strtobool
 Rewrite, no equivalent in the stdlib?
 - distutils.sysconfig:
 Mostly replaced by sysconfig
It really would be nice to have recommended replacements, especially for the
version stuff (packaging?)
Matthias
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/5L45GDUIALRJP6BJ5H6B3V4LFJJ2P3UU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to