package/python-mdit-py-plugins: new package
PATCH 1/2 package/python-mdit-py-plugins: new package
--- package/Config.in | 1 + package/python-mdit-py-plugins/Config.in | 7 +++++++ .../python-mdit-py-plugins.hash | 5 +++++ .../python-mdit-py-plugins.mk | 14 ++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-mdit-py-plugins/Config.in create mode 100644 package/python-mdit-py-plugins/python-mdit-py-plugins.hash create mode 100644 package/python-mdit-py-plugins/python-mdit-py-plugins.mk
package/Config.in +1 -0
@@ -1223,6 +1223,7 @@ menu "External python modules" source "package/python-matplotlib/Config.in" source "package/python-matplotlib-inline/Config.in" source "package/python-mbstrdecoder/Config.in" + source "package/python-mdit-py-plugins/Config.in" source "package/python-mdurl/Config.in" source "package/python-memory-profiler/Config.in" source "package/python-memray/Config.in"
package/python-mdit-py-plugins/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MDIT_PY_PLUGINS + bool "python-mdit-py-plugins" + select BR2_PACKAGE_PYTHON_MARKDOWN_IT_PY # runtime + help + Collection of plugins for markdown-it-py. + + https://github.com/executablebooks/mdit-py-plugins
package/python-mdit-py-plugins/python-mdit-py-plugins.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/mdit-py-plugins/json +md5 8afddf3e020778a9d4490f43ce469d2a mdit_py_plugins-0.5.0.tar.gz +sha256 f4918cb50119f50446560513a8e311d574ff6aaed72606ddae6d35716fe809c6 mdit_py_plugins-0.5.0.tar.gz +# Locally computed sha256 checksums +sha256 4a2260d6e2cd0f5a151a1e86dbfe7d3ed552b1e2beabf9941c1ba5c49cbce484 LICENSE
package/python-mdit-py-plugins/python-mdit-py-plugins.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-mdit-py-plugins +# +################################################################################ + +PYTHON_MDIT_PY_PLUGINS_VERSION = 0.5.0 +PYTHON_MDIT_PY_PLUGINS_SOURCE = mdit_py_plugins-$(PYTHON_MDIT_PY_PLUGINS_VERSION).tar.gz +PYTHON_MDIT_PY_PLUGINS_SITE = https://files.pythonhosted.org/packages/b2/fd/a756d36c0bfba5f6e39a1cdbdbfdd448dc02692467d83816dff4592a1ebc +PYTHON_MDIT_PY_PLUGINS_SETUP_TYPE = flit +PYTHON_MDIT_PY_PLUGINS_LICENSE = MIT +PYTHON_MDIT_PY_PLUGINS_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/python-textual: bump to version 7.0.0
Add new python-mdit-py-plugins runtime dependency.
--- package/python-textual/Config.in | 1 + package/python-textual/python-textual.hash | 4 ++-- package/python-textual/python-textual.mk | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-)
package/python-textual/Config.in +1 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_TEXTUAL bool "python-textual" select BR2_PACKAGE_PYTHON_MARKDOWN_IT_PY # runtime + select BR2_PACKAGE_PYTHON_MDIT_PY_PLUGINS # runtime select BR2_PACKAGE_PYTHON_PLATFORMDIRS # runtime select BR2_PACKAGE_PYTHON_PYGMENTS # runtime select BR2_PACKAGE_PYTHON_RICH # runtime
package/python-textual/python-textual.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/textual/json -md5 cb43b8d6d3903ca171330a626cfa05e5 textual-5.3.0.tar.gz -sha256 1b6128b339adef2e298cc23ab4777180443240ece5c232f29b22960efd658d4d textual-5.3.0.tar.gz +md5 e8d6a911d150acdf7b46dc30a1a1d94d textual-7.0.0.tar.gz +sha256 617638a2be74fb7507aff3ea6ec9374148be02e5a7bb1d02396d1d557b66c0a9 textual-7.0.0.tar.gz # Locally computed sha256 checksums sha256 94f290a762376dfdb7768e42070618b0abfd2a2799eab1b1c097816c3a39eb57 LICENSE
package/python-textual/python-textual.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TEXTUAL_VERSION = 5.3.0 +PYTHON_TEXTUAL_VERSION = 7.0.0 PYTHON_TEXTUAL_SOURCE = textual-$(PYTHON_TEXTUAL_VERSION).tar.gz -PYTHON_TEXTUAL_SITE = https://files.pythonhosted.org/packages/ba/ce/f0f938d33d9bebbf8629e0020be00c560ddfa90a23ebe727c2e5aa3f30cf +PYTHON_TEXTUAL_SITE = https://files.pythonhosted.org/packages/d4/9c/ebc9ca1f95366bef4c0e8360f4a77400d47a79aeecc08747de1990ef8bdc PYTHON_TEXTUAL_SETUP_TYPE = poetry PYTHON_TEXTUAL_LICENSE = MIT PYTHON_TEXTUAL_LICENSE_FILES = LICENSE
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-textual: bump to version 7.0.0
Hi James,
Thanks for the patch.
Quoted 4 lines · James Hilliard
Add new python-mdit-py-plugins runtime dependency.
Signed-off-by James Hilliard <[email protected]>---
[...]
package/python-textual/python-textual.mk line 8
Quoted 11 lines
package/python-textual/python-textual.mk +1
-1@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TEXTUAL_VERSION = 5.3.0 +PYTHON_TEXTUAL_VERSION = 7.0.0
While testing at runtime with the command "python -m textual", the execution fails with the error:
File "/usr/lib/python3.13/site-packages/textual/__init__.py", line 19, in <module> File "/usr/lib/python3.13/site-packages/textual/_on.py", line 5, in <module> File "/usr/lib/python3.13/site-packages/textual/css/model.py", line 10, in <module> File "/usr/lib/python3.13/site-packages/textual/css/_help_renderables.py", line 6, in <module> File "/usr/lib/python3.13/site-packages/rich/console.py", line 5, in <module>
ModuleNotFoundError: No module named 'zlib'
There is possibly a missing python zlib dependency somewhere (maybe in python-rich?).
Could you have a look, please?
Quoted 10 lines
package/python-textual/python-textual.mk +0
-1PYTHON_TEXTUAL_SOURCE = textual-$(PYTHON_TEXTUAL_VERSION).tar.gz -PYTHON_TEXTUAL_SITE =https://files.pythonhosted.org/packages/ba/ce/f0f938d33d9bebbf8629e0020be00c560ddfa90a23ebe727c2e5aa3f30cf
+PYTHON_TEXTUAL_SITE =
https://files.pythonhosted.org/packages/d4/9c/ebc9ca1f95366bef4c0e8360f4a77400d47a79aeecc08747de1990ef8bdc
PYTHON_TEXTUAL_SETUP_TYPE= poetry
PYTHON_TEXTUAL_LICENSE= MIT
PYTHON_TEXTUAL_LICENSE_FILES= LICENSE
--
2.43.0
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/2] package/python-textual: bump to version 7.0.0
Am 04.01.26 um 11:56 schrieb Julien Olivain:
Quoted 32 lines
Hi James,
Thanks for the patch.
Quoted 4 lines · James Hilliard
Add new python-mdit-py-plugins runtime dependency.
Signed-off-by James Hilliard <[email protected]>---
[...]
package/python-textual/python-textual.mk line 8
Quoted 11 lines
package/python-textual/python-textual.mk +1
-1@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TEXTUAL_VERSION = 5.3.0 +PYTHON_TEXTUAL_VERSION = 7.0.0While testing at runtime with the command "python -m textual", the execution fails with the error:
File "
/usr/lib/python3.13/site-packages/textual/__init__.py", line 19, in <module> File "/usr/lib/python3.13/site-packages/textual/_on.py", line 5, in <module> File "/usr/lib/python3.13/site-packages/textual/css/model.py", line 10, in <module> File "/usr/lib/python3.13/site-packages/textual/css/_help_renderables.py", line 6, in <module> File "/usr/lib/python3.13/site-packages/rich/console.py", line 5, in <module>
ModuleNotFoundError: No module named 'zlib'
Quoted 3 lines
There is possibly a missing python zlib dependency somewhere (maybe in python-rich?).
Could you have a look, please?
You're right, it is in python-rich:
https://github.com/Textualize/rich/blob/v14.1.0/rich/console.py#L5
I guess it didn't show up in the existing python-memray runtime test because python-memray selects BR2_PACKAGE_PYTHON3_ZLIB, so in the test it's present either way.
I also found python-memray requires a toolchain with C++, which likewise didn't show in the test because the Bootlin toolchain provides it automatically (and in my builds I had only used python-memray with C++ enabled for other reasons).
Running a build right now, if it passes I'll send the two patches.
Best regards,
Fiona
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 1 line · James Hilliard
Signed-off-by James Hilliard <[email protected]>
Since the python-rich issue was fixed in
https://gitlab.com/buildroot.org/buildroot/-/commit/8d78978a0d0cc12b79364faee2c17585047f87ca
thanks to Fiona, I applied this series to master.
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot