Issue 5649: OS X Installer: only include PythonSystemFixes package if target includes 10.3 (original) (raw)

Further investigation reveals that the underlying script Mac/Tools/fixapplepython23.py is broken on 3.x:

  1. the version test using platform.mac_ver is incorrect Traceback (most recent call last): File "fixapplepython23.py", line 131, in main() File "fixapplepython23.py", line 103, in main if osver != '10.3' and os.ver < '10.3.': AttributeError: 'module' object has no attribute 'ver'

  2. and, even if the typo is corrected, osver returns a tuple

    osver = platform.mac_ver() osver ('10.5.7', ('', '', ''), 'PowerPC')

The above are only seen on PPC builds since the script bails out earlier if running on an Intel platform.

At this point, it is a minor issue and the number of users who might be impacted must be few and getting fewer; eventually PythonSystemFixes should be removed when or before 10.3 is no longer supported.