On Tue, Nov 10, 2020 at 12:16 PM Alejandro Enedino Hernandez Samaniego <alejan...@enedino.org> wrote: > > Hey Khem, > > I see, since the typing module is now required for python3-core to work > properly, > it will now be there by default, it seems that the right solution is to fix > RDEPENDS > in other places, deleting the typing module, it looks like meta-python has > some issues, > I didn't find any instances on oe-core but I can take a look at other layers > that might > run into this, we can also put this on the release migration notes >
yes removing it from RDEPENDS is the way here but wanted to raise the visibility of such changes which are enforced in other layers due to this change. > Alejandro > > On Tue, 10 Nov 2020 at 12:33, Khem Raj <raj.k...@gmail.com> wrote: >> >> I have a potential patch to meta-oe but other layers might have similar >> issues >> >> On Tue, Nov 10, 2020 at 11:26 AM Khem Raj <raj.k...@gmail.com> wrote: >> > >> > This has some consequences for recipes which depend on python3-typing >> > see parse logs >> > >> > http://jenkins.nas-admin.org/view/OE/job/oe_world_qemux86-64/1962/consoleFull >> > >> > On Fri, Nov 6, 2020 at 6:02 PM Alejandro Hernandez Samaniego >> > <alejan...@enedino.org> wrote: >> > > >> > > Update the python3-manifest to match the files installed by the >> > > new version of python3. >> > > - Kept tkinter the way it was although tk isnt part of OE-Core >> > > - Made typing part of python3-core >> > > - Update other packages with new dependencies such as filecmp and >> > > dataclasses. >> > > >> > > Signed-off-by: Alejandro Enedino Hernandez Samaniego >> > > <a...@linux.microsoft.com> >> > > --- >> > > .../python/python3/python3-manifest.json | 35 +++++-------------- >> > > 1 file changed, 9 insertions(+), 26 deletions(-) >> > > >> > > diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json >> > > b/meta/recipes-devtools/python/python3/python3-manifest.json >> > > index 69aecb7004..615dc3a5e5 100644 >> > > --- a/meta/recipes-devtools/python/python3/python3-manifest.json >> > > +++ b/meta/recipes-devtools/python/python3/python3-manifest.json >> > > @@ -122,8 +122,7 @@ >> > > "logging", >> > > "netclient", >> > > "numbers", >> > > - "stringold", >> > > - "typing" >> > > + "stringold" >> > > ], >> > > "files": [ >> > > "${libdir}/python${PYTHON_MAJMIN}/asyncio", >> > > @@ -173,10 +172,12 @@ >> > > ], >> > > "files": [ >> > > "${libdir}/python${PYTHON_MAJMIN}/compileall.py", >> > > + "${libdir}/python${PYTHON_MAJMIN}/filecmp.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/py_compile.py" >> > > ], >> > > "cached": [ >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/compileall.*.pyc", >> > > + >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/filecmp.*.pyc", >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/py_compile.*.pyc" >> > > ] >> > > }, >> > > @@ -313,6 +314,7 @@ >> > > "${libdir}/python${PYTHON_MAJMIN}/tokenize.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/traceback.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/types.py", >> > > + "${libdir}/python${PYTHON_MAJMIN}/typing.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/urllib", >> > > "${libdir}/python${PYTHON_MAJMIN}/urllib/parse.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/warnings.py", >> > > @@ -388,6 +390,7 @@ >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/tokenize.*.pyc", >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/traceback.*.pyc", >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/types.*.pyc", >> > > + "${libdir}/python${PYTHON_MAJMIN}/__pycache__/typing.*.pyc", >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/warnings.*.pyc", >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/weakref.*.pyc", >> > > "${libdir}/python${PYTHON_MAJMIN}/collections/__pycache__", >> > > @@ -557,18 +560,12 @@ >> > > "doctest": { >> > > "summary": "Python framework for running examples in >> > > docstrings", >> > > "rdepends": [ >> > > - "asyncio", >> > > "core", >> > > "debugger", >> > > "difflib", >> > > - "io", >> > > - "logging", >> > > - "netclient", >> > > - "numbers", >> > > "pprint", >> > > "shell", >> > > "stringold", >> > > - "typing", >> > > "unittest" >> > > ], >> > > "files": [ >> > > @@ -822,7 +819,6 @@ >> > > "terminal", >> > > "threading", >> > > "tkinter", >> > > - "typing", >> > > "unittest", >> > > "unixadmin", >> > > "venv", >> > > @@ -999,12 +995,14 @@ >> > > ], >> > > "files": [ >> > > "${libdir}/python${PYTHON_MAJMIN}/cProfile.py", >> > > + "${libdir}/python${PYTHON_MAJMIN}/dataclasses.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_lsprof.*.so", >> > > "${libdir}/python${PYTHON_MAJMIN}/profile.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/pstats.py" >> > > ], >> > > "cached": [ >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/cProfile.*.pyc", >> > > + >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/dataclasses.*.pyc", >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/profile.*.pyc", >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/pstats.*.pyc" >> > > ] >> > > @@ -1130,13 +1128,11 @@ >> > > "core" >> > > ], >> > > "files": [ >> > > - "${libdir}/python${PYTHON_MAJMIN}/_dummy_thread.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/_threading_local.py", >> > > "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_queue.*.so", >> > > "${libdir}/python${PYTHON_MAJMIN}/queue.py" >> > > ], >> > > "cached": [ >> > > - >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_dummy_thread.*.pyc", >> > > >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/_threading_local.*.pyc", >> > > "${libdir}/python${PYTHON_MAJMIN}/__pycache__/queue.*.pyc" >> > > ] >> > > @@ -1147,23 +1143,11 @@ >> > > "core" >> > > ], >> > > "files": [ >> > > - >> > > "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so", >> > > + "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so", >> > > "${libdir}/python${PYTHON_MAJMIN}/tkinter" >> > > ], >> > > "cached": [] >> > > }, >> > > - "typing": { >> > > - "summary": "Python typing support", >> > > - "rdepends": [ >> > > - "core" >> > > - ], >> > > - "files": [ >> > > - "${libdir}/python${PYTHON_MAJMIN}/typing.py" >> > > - ], >> > > - "cached": [ >> > > - "${libdir}/python${PYTHON_MAJMIN}/__pycache__/typing.*.pyc" >> > > - ] >> > > - }, >> > > "unittest": { >> > > "summary": "Python unit testing framework", >> > > "rdepends": [ >> > > @@ -1175,8 +1159,7 @@ >> > > "netclient", >> > > "numbers", >> > > "pprint", >> > > - "stringold", >> > > - "typing" >> > > + "stringold" >> > > ], >> > > "files": [ >> > > "${libdir}/python${PYTHON_MAJMIN}/unittest", >> > > -- >> > > 2.25.1 >> > > >> > > >> > > >> > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#144456): https://lists.openembedded.org/g/openembedded-core/message/144456 Mute This Topic: https://lists.openembedded.org/mt/78087842/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-