[OE-core] [PATCH v2 0/1] Python: Upgrade from 2.7.3 to 2.7.9

Peter Urbanec openembedded-devel at urbanec.net
Fri Feb 27 13:47:26 UTC 2015


Just a couple of observations on this upgrade:

1. Python 2.7.9 now does strict SSL certificate checking as per 
http://www.python.org/dev/peps/pep-0476/ and as a result I had at least 
one package break due to:

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)

I managed to fix that issue by switching the source URL from https:// to 
http:// Although this change in behaviour is desirable in the grand 
scheme of things, it is likely to cause some pains along the way.

2. python-imaging build just locks up for me. I don't know what's wrong. 
I tried an strace but all I can see is a python process waiting on a futex.

I think it may be a good idea to keep python 2.7.3 packages in oe-core 
because a move from 2.7.3 to 2.7.9 is likely to break some systems. At 
least in terms of item 1, we have a large potential for breakage, since 
the SSL cert checking will break anything that uses self-signed SSL 
certs for HTTPS without deploying the correct CA to the client systems. 
As far as I can tell, there is no system wide override for this behaviour.




More information about the Openembedded-core mailing list