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.

classification
Title: OS X Installer: only include PythonSystemFixes package if target includes 10.3
Type: Stage:
Components: Installation Versions: Python 3.0, Python 3.1, Python 2.7, Python 2.6
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2009-04-01 15:40 by ned.deily, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch-nad0008-py3k-30.txt ned.deily, 2009-04-01 15:40
patch-nad0008-trunk-26.txt ned.deily, 2009-04-01 15:41
Messages (3)
msg85022 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2009-04-01 15:40
The PythonSystemFixes package of the OS X installer fixes a specific 
compatibility problem with the Apple-supplied Python 2.3 on OS X 10.3. The 
attached patches changes the build installer script to include that 
package in the installer only if the installer image includes 10.3 as a 
targeted system.
msg88850 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2009-06-03 23:31
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 <module>
    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.
msg101363 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2010-03-20 05:10
With the installer build updates referenced by Issue8068, PythonSystemFixes is now only included in installers targeted for 10.3.
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49899
2010-03-20 05:10:24ned.deilysetstatus: open -> closed

messages: + msg101363
2009-06-03 23:31:52ned.deilysetmessages: + msg88850
2009-04-01 15:41:03ned.deilysetfiles: + patch-nad0008-trunk-26.txt
2009-04-01 15:40:44ned.deilycreate