Part of the compilers decoupling epic #5264 (Phase 1).
Remove the remaining version/platform-compat coupling in compilers.C:
cygwin.py: distutils.version.LooseVersion → packaging.version
- Vendor
_macos_compat.compiler_fixup and compat.consolidate_linker_args
util.is_mingw, util.get_platform / get_host_platform → stdlib sysconfig / packaging.tags
Grouped PR, separate commits per concern. (The customize_compiler coupling is out of scope here — see the sysconfig investigation, #5264 Phase 1.)
Part of the compilers decoupling epic #5264 (Phase 1).
Remove the remaining version/platform-compat coupling in
compilers.C:cygwin.py:distutils.version.LooseVersion→packaging.version_macos_compat.compiler_fixupandcompat.consolidate_linker_argsutil.is_mingw,util.get_platform/get_host_platform→ stdlibsysconfig/packaging.tagsGrouped PR, separate commits per concern. (The
customize_compilercoupling is out of scope here — see the sysconfig investigation, #5264 Phase 1.)