Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

_osx_support.get_platform_osx() does not always return the minor release number #102362

Closed
Assignees
ned-deily
Labels
OS-mactype-bugAn unexpected behavior, bug, or error
@keleftheriou

Description

@keleftheriou

_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?

Linked PRs

Metadata

Metadata

Assignees

Labels

OS-mactype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp