python3-executing: New recipe
PATCH 1/4 python3-executing: New recipe
Dependency of python3-stack-data.
--- .../recipes-devtools/python/python3-executing_1.2.0.bb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-executing_1.2.0.bb
meta-python/recipes-devtools/python/python3-executing_1.2.0.bb new file +9 -0
@@ -0,0 +1,9 @@ +SUMMARY = "Get the currently executing AST node of a frame, and other information" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" + +DEPENDS = "python3-setuptools-scm-native" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "19da64c18d2d851112f09c287f8d3dbbdf725ab0e569077efb6cdcbd3497c107"
Signature · 1 line
2.39.2
PATCH 2/4 python3-pure-eval: New recipe
Dependency of python3-stack-data.
--- .../python/python3-pure-eval_0.2.2.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pure-eval_0.2.2.bb
meta-python/recipes-devtools/python/python3-pure-eval_0.2.2.bb new file +11 -0
@@ -0,0 +1,11 @@ +SUMMARY = "Safely evaluate AST nodes without side effects" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" + +DEPENDS = "python3-setuptools-scm-native" + +PYPI_PACKAGE = "pure_eval" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3"
Signature · 1 line
2.39.2
PATCH 3/4 python3-stack-data: New recipe
In reply to Zoltán BöszörményiDependency of python3-ipython.
--- .../python/python3-stack-data_0.6.2.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-stack-data_0.6.2.bb
meta-python/recipes-devtools/python/python3-stack-data_0.6.2.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "Extract data from python stack frames and tracebacks for informative displays" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" + +DEPENDS = "python3-setuptools-scm-native" + +PYPI_PACKAGE = "stack_data" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "32d2dd0376772d01b6cb9fc996f3c8b57a357089dec328ed4b6553d037eaf815" + +RDEPENDS:${PN} = " \ + python3-executing \ + python3-asttokens \ + python3-pure-eval \ +"
Signature · 1 line
2.39.2
PATCH 4/4 python3-ipython: Add missing dependency
In reply to Zoltán BöszörményiThis fixes the error:
Python 3.11.2 (main, Feb 7 2023, 13:52:42) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line
import IPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/IPython/__init__.py", line 52, in <module>
from .core.application import Application
File "/usr/lib/python3.11/site-packages/IPython/core/application.py", line 26, in <module>
from IPython.core import release, crashhandler
File "/usr/lib/python3.11/site-packages/IPython/core/crashhandler.py", line 27, in <module>
from IPython.core import ultratb
File "/usr/lib/python3.11/site-packages/IPython/core/ultratb.py", line 101, in <module>
import stack_data
ModuleNotFoundError: No module named 'stack_data'
--- meta-python/recipes-devtools/python/python3-ipython_8.11.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-ipython_8.11.0.bb +1 -0
@@ -23,6 +23,7 @@ RDEPENDS:${PN} = "\ ${PYTHON_PN}-unixadmin \ ${PYTHON_PN}-misc \ ${PYTHON_PN}-sqlite3 \ + ${PYTHON_PN}-stack-data \ " inherit setuptools3 pypi
Signature · 1 line
2.39.2
Re: [oe] [meta-python][PATCH 4/4] python3-ipython: Add missing dependency
Quoted 21 lines · Zoltan Boszormenyi
This fixes the error:
Python 3.11.2 (main, Feb 7 2023, 13:52:42) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line
import IPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/IPython/__init__.py", line 52,
in <module>
from .core.application import Application
File "/usr/lib/python3.11/site-packages/IPython/core/application.py",
line 26, in <module>
from IPython.core import release, crashhandler
File "/usr/lib/python3.11/site-packages/IPython/core/crashhandler.py",
line 27, in <module>
from IPython.core import ultratb
File "/usr/lib/python3.11/site-packages/IPython/core/ultratb.py", line
101, in <module>
importstack_data
ModuleNotFoundError: No module named 'stack_data'
Quoted 1 line
It appears
stack_datawas added in 8.0.0
https://github.com/ipython/ipython/commit/77651b7a7331b1b030f1c2c03310bf7ebb242488
So we've been missing it for quite some time. This highlights the need for runtime testing vs. just "it builds".
Thank you for the contribution.
Quoted 33 lines
Signed-off-by Zoltán Böszörményi <[email protected]>--- meta-python/recipes-devtools/python/python3-ipython_8.11.0.bb | 1 + 1 file changed, 1 insertion(+)meta-python/recipes-devtools/python/python3-ipython_8.11.0.bb +1
-1@@ -23,6 +23,7 @@ RDEPENDS:${PN} = "\ ${PYTHON_PN}-unixadmin \ ${PYTHON_PN}-misc \ ${PYTHON_PN}-sqlite3 \ + ${PYTHON_PN}-stack-data \ " inherit setuptools3 pypi --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#101782):
https://lists.openembedded.org/g/openembedded-devel/message/101782
Mute This Topic: https://lists.openembedded.org/mt/97881025/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-python][PATCH 4/4] python3-ipython: Add missing dependency
Quoted 22 lines · Tim Orling
Quoted 6 lines · Zoltan Boszormenyi
This fixes the error:
Python 3.11.2 (main, Feb 7 2023, 13:52:42) [GCC 12.2.0] on linux Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line
import IPython
Quoted 12 lines
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/IPython/__init__.py", line 52, in <module>
from .core.application import Application
File "/usr/lib/python3.11/site-packages/IPython/core/application.py", line 26, in <module>
from IPython.core import release, crashhandler
File "/usr/lib/python3.11/site-packages/IPython/core/crashhandler.py", line 27, in <module>
from IPython.core import ultratb
File "/usr/lib/python3.11/site-packages/IPython/core/ultratb.py", line 101, in <module>
importstack_data
ModuleNotFoundError: No module named 'stack_data'
Quoted 5 lines
It appears
stack_datawas added in 8.0.0
https://github.com/ipython/ipython/commit/77651b7a7331b1b030f1c2c03310bf7ebb242488So we've been missing it for quite some time. This highlights the need for runtime testing vs. just "it builds".
Tim you are listed as one of meta-python maintainers, do you have plans to implement runtime testing? or for that matter anyone else in the community wants to volunteer to do this? I am happy to insert that into upstreaming process and wait for relevant ACK on meta-python submissions
Quoted 35 lines
Thank you for the contribution.
Quoted 19 lines
Signed-off-by Zoltán Böszörményi <[email protected]>--- meta-python/recipes-devtools/python/python3-ipython_8.11.0.bb | 1 + 1 file changed, 1 insertion(+)meta-python/recipes-devtools/python/python3-ipython_8.11.0.bb +1
-1@@ -23,6 +23,7 @@ RDEPENDS:${PN} = "\ ${PYTHON_PN}-unixadmin \ ${PYTHON_PN}-misc \ ${PYTHON_PN}-sqlite3 \ + ${PYTHON_PN}-stack-data \ " inherit setuptools3 pypi --Quoted 5 lines
2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#101789): https://lists.openembedded.org/g/openembedded-devel/message/101789
Mute This Topic: https://lists.openembedded.org/mt/97881025/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-