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 Alex.LordThorsen
Recipients Alex.LordThorsen
Date 2015-04-13.20:39:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428957551.09.0.505644010744.issue23939@psf.upfronthosting.co.za>
In-reply-to
Content
On a fresh clone of cpython 3.5.0a0 if you run

$ ./configure --with-pydebug && make -j2
$ ./python.exe -m test.test__osx_support -j3

on osx 10.10.2 (14C109) these two test failures are reported.

    ======================================================================
    FAIL: test_get_platform_osx (__main__.Test_OSXSupport)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/Users/alexlord/mercurial/cpython/Lib/test/test__osx_support.py", line 272, in test_get_platform_osx
        self.assertEqual(('macosx', '10.6', 'fat'), result)
    AssertionError: Tuples differ: ('macosx', '10.6', 'fat') != ('macosx', '10.6', ' ')

    First differing element 2:
    fat


    - ('macosx', '10.6', 'fat')
    ?                     ^^^

    + ('macosx', '10.6', ' ')
    ?                     ^


    ----------------------------------------------------------------------
    Ran 14 tests in 0.354s


Doing a little more digging I found that this if statement is the one failing.

    if ((macrelease + '.') >= '10.4.' and$
                 '-arch' in cflags.strip()):

Specifically this line 

    (macrelease + '.') >= '10.4'

I used distutils.version.StrictVersion to solve this comparison error.

which is failing because

'10.10' >= '10.4' # This fails because the character 4 is greater than 1.
History
Date User Action Args
2015-04-13 20:39:11Alex.LordThorsensetrecipients: + Alex.LordThorsen
2015-04-13 20:39:11Alex.LordThorsensetmessageid: <1428957551.09.0.505644010744.issue23939@psf.upfronthosting.co.za>
2015-04-13 20:39:11Alex.LordThorsenlinkissue23939 messages
2015-04-13 20:39:10Alex.LordThorsencreate