[OE-core] [PATCH v8] python3{,-native}: update to 3.7.0

Jens Rehsack sno at netbsd.org
Fri Nov 2 17:08:08 UTC 2018



> Am 02.11.2018 um 17:29 schrieb Burton, Ross <ross.burton at intel.com>:
> 
> On Fri, 2 Nov 2018 at 16:17, Burton, Ross <ross.burton at intel.com <mailto:ross.burton at intel.com>> wrote:
>> Turns out enabling reproducible builds breaks the test suite:
>> 
>> test test_py_compile failed -- Traceback (most recent call last):
>>  File "/usr/lib/python3.7/test/test_py_compile.py", line 125, in
>> test_source_date_epoch
>>    self.assertEqual(statinfo.st_mtime, testtime)
>> AssertionError: 1541175127.6495416 != 123456789
>> 0:11:47 load avg: 0.41 [269/415/1] test_pyclbr -- test_py_compile failed
> 
> We're patching in SOURCE_DATE_EPOCH but 3.7 supports this directly, I
> think we should just drop the source-date-epoch patch.

Done.

>> test test_venv crashed -- Traceback (most recent call last):
>>  File "/usr/lib/python3.7/test/libregrtest/runtest.py", line 163, in
>> runtest_inner
>>    the_module = importlib.import_module(abstest)
>>  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
>>    return _bootstrap._gcd_import(name[level:], package, level)
>>  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
>>  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
>>  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
>>  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
>>  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
>>  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
>>  File "/usr/lib/python3.7/test/test_venv.py", line 20, in <module>
>>    import venv
>> ModuleNotFoundError: No module named 'venv'
>> 
>> Urgh, venv.  We just changed this, I wonder if it's not being pulled
>> into the python3-modules depends.
> 
> Missing dependency, I'll post this fix for master/thud.


There're some similar tasks around in oe-core ML ...

> Am 02.11.2018 um 17:31 schrieb Burton, Ross <ross.burton at intel.com>:
> 
> Oh, and we should either backport
> https://github.com/python/cpython/commit/7bd6f0e5500f778e940374237b94651f60ae1990
> or move to 3.7.1.

Done.
I run compile before sending new patch (seems you're faster running tests than I could ever be).

Cheers
--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181102/5fb48f68/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181102/5fb48f68/attachment-0002.sig>


More information about the Openembedded-core mailing list