#69904 should fix the immediate fallback of setuptools update.
As I've already mentioned in #69823 it would be good to have a more detailed comparison of packaging.Version
vs distuitls.version.LooseVersion
(as former more closely resembles distutils.version.StrictVersion
, isn't it?)
Also, version
is not removed from setuptool, it simply no-longer accidentally re-imported. Proper way to import it always been from distutils.version import LooseVersion
, not sure what started from setuptools import distutils; distuils.version.LooseVersion
anti-pattern