On Fri, Sep 11, 2020 at 4:25 AM Matthias Klose <d...@ubuntu.com> wrote:
> 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?) > Version support has been in 'packaging' for years: https://packaging.pypa.io/en/latest/version/. -Brett
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/KVDUVKQKRAYMZ4DMT4VJ7JRBCT3P26BA/ Code of Conduct: http://python.org/psf/codeofconduct/