Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
_osx_support.get_platform_osx(), particularly when called fromsysconfig.get_platform(), might not return the minor release number. This seems to be because theMACOSX_DEPLOYMENT_TARGET environment variable will be used instead (if present), which may or may not include a minor version number.
E.g. on macOS 12.6 withMACOSX_DEPLOYMENT_TARGET=12:
>>> _osx_support.get_platform_osx({}, "", "", "")('macosx', '12.6', '')>>> _osx_support.get_platform_osx(sysconfig.get_config_vars(), "", "", "")('macosx', '12', '')Perhapsrelease = macver could be switched torelease = macreleasehere so that the internal_get_system_version() will be used instead?