[3.11] gh-102362: Fix macOS version number in result of sysconfig.get_platform() (GH-112942) (#113265)
gh-102362: Fix macOS version number in result of sysconfig.get_platform() (GH-112942) Change _osx_support.get_platform_osx() to make sure that the version number in the result includes at least a major and minor version (e.g. 14.2) even if MACOSX_DEPLOYMENT_TARGET is set to just a major version (e.g. 14). This matches the versions expected by pip when selecting appropriate wheels for installation. (cherry picked from commit 893c9ccf48eacb02fa6ae93632f2d0cb6778dbb6) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
M
Miss Islington (bot) committed
5e0d9aea9942806e4eb25785769e8a461a6ad5bc
Parent: 182676b
Committed by GitHub <noreply@github.com>
on 12/19/2023, 6:57:08 PM