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

Burton, Ross ross.burton at intel.com
Fri Nov 2 16:29:38 UTC 2018


On Fri, 2 Nov 2018 at 16:17, Burton, Ross <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.

> 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.

Ross



More information about the Openembedded-core mailing list