Mercurial > hg
diff contrib/import-checker.py @ 52106:a26a05199070 stable
tests: use packaging from setuptools instead of deprecated distutils
When invoking StrictVersion in 3.12 we got:
DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
distutils is dead in the standard library, and we have to move towards using
`setuptools` as general extern dependency. Instead of also requiring the extern
`packaging`, we will just use the packaging that is vendored in setuptools.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 29 Jun 2023 20:02:27 +0200 |
parents | d9faa71a57f6 |
children | 3ba998d7fc77 |