* [PATCH] python3: Update manifest
@ 2020-11-07 2:01 Alejandro Hernandez Samaniego
2020-11-10 19:26 ` [OE-core] " Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Alejandro Hernandez Samaniego @ 2020-11-07 2:01 UTC (permalink / raw)
To: openembedded-core; +Cc: Alejandro Enedino Hernandez Samaniego
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 <alhe@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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH] python3: Update manifest
2020-11-07 2:01 [PATCH] python3: Update manifest Alejandro Hernandez Samaniego
@ 2020-11-10 19:26 ` Khem Raj
2020-11-10 19:32 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2020-11-10 19:26 UTC (permalink / raw)
To: Alejandro Hernandez Samaniego
Cc: Patches and discussions about the oe-core layer,
Alejandro Enedino Hernandez Samaniego
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
<alejandro@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 <alhe@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
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH] python3: Update manifest
2020-11-10 19:26 ` [OE-core] " Khem Raj
@ 2020-11-10 19:32 ` Khem Raj
2020-11-10 20:15 ` Alejandro Hernandez Samaniego
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2020-11-10 19:32 UTC (permalink / raw)
To: Alejandro Hernandez Samaniego
Cc: Patches and discussions about the oe-core layer,
Alejandro Enedino Hernandez Samaniego
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.khem@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
> <alejandro@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 <alhe@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
> >
> >
> >
> >
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH] python3: Update manifest
2020-11-10 19:32 ` Khem Raj
@ 2020-11-10 20:15 ` Alejandro Hernandez Samaniego
2020-11-10 22:08 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Alejandro Hernandez Samaniego @ 2020-11-10 20:15 UTC (permalink / raw)
To: Khem Raj
Cc: Patches and discussions about the oe-core layer,
Alejandro Enedino Hernandez Samaniego
[-- Attachment #1: Type: text/plain, Size: 7410 bytes --]
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
Alejandro
On Tue, 10 Nov 2020 at 12:33, Khem Raj <raj.khem@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.khem@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
> > <alejandro@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 <
> alhe@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
> > >
> > >
> > >
> > >
>
[-- Attachment #2: Type: text/html, Size: 11904 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH] python3: Update manifest
2020-11-10 20:15 ` Alejandro Hernandez Samaniego
@ 2020-11-10 22:08 ` Khem Raj
0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2020-11-10 22:08 UTC (permalink / raw)
To: Alejandro Enedino Hernandez Samaniego
Cc: Patches and discussions about the oe-core layer,
Alejandro Enedino Hernandez Samaniego
On Tue, Nov 10, 2020 at 12:16 PM Alejandro Enedino Hernandez Samaniego
<alejandro@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.khem@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.khem@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
>> > <alejandro@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 <alhe@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
>> > >
>> > >
>> > >
>> > >
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-10 22:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07 2:01 [PATCH] python3: Update manifest Alejandro Hernandez Samaniego
2020-11-10 19:26 ` [OE-core] " Khem Raj
2020-11-10 19:32 ` Khem Raj
2020-11-10 20:15 ` Alejandro Hernandez Samaniego
2020-11-10 22:08 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.