This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ned.deily, ronaldoussoren, xz_sophos
Date 2021-01-10.10:34:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Another change that might be needed: ensure that sysconfig.get_platform() 
> does not return "universal2" as the binary architecture when the compiler 
> does not support arm64.

Hmmm... _osx_support.get_platform_osx() contains the following comment:

        # Use the original CFLAGS value, if available, so that we
        # return the same machine type for the platform string.
        # Otherwise, distutils may consider this a cross-compiling
        # case and disallow installs.

That indicates that fixing the value of sysconfig.get_platform() when using a "universal2" python on a system that doesn't support arm64 might break distils. 

I haven't done further research on this. In general I'd prefer to create the correct platform tag, but not if that results in not being able to install extensions.
Date User Action Args
2021-01-10 10:34:43ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, xz_sophos
2021-01-10 10:34:42ronaldoussorensetmessageid: <>
2021-01-10 10:34:42ronaldoussorenlinkissue42619 messages
2021-01-10 10:34:42ronaldoussorencreate