Content-Length: 298782 | pFad | https://github.com/python/cpython/issues/102362
95_osx_support.get_platform_osx() does not always return the minor release number #102362Fetched URL: https://github.com/python/cpython/issues/102362
Alternative Proxies:
_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_TARGETenvironment variable will be used instead (if present), which may or may not include a minor version number.E.g. on macOS 12.6 with
MACOSX_DEPLOYMENT_TARGET=12:Perhaps
release = macvercould be switched torelease = macreleasehere so that the internal_get_system_version()will be used instead?Linked PRs