* [Buildroot] [PATCH v2 1/2] package/python-jinja2: fix runtime python modules dependencies
@ 2020-03-22 21:39 Peter Seiderer
2020-03-22 21:39 ` [Buildroot] [PATCH v2 2/2] package/python-flask: " Peter Seiderer
2020-03-24 21:17 ` [Buildroot] [PATCH v2 1/2] package/python-jinja2: " Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Peter Seiderer @ 2020-03-22 21:39 UTC (permalink / raw)
To: buildroot
- add python unicodedata runtime dependency, fixes:
File "usr/lib/python3.8/site-packages/jinja2/lexer.py", line 46, in <module>
ModuleNotFoundError: No module named 'unicodedata'
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
- add missing signed off by (spotted by Thomas Petazzoni)
---
package/python-jinja2/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/python-jinja2/Config.in b/package/python-jinja2/Config.in
index a1900e94d5..5b99df75b8 100644
--- a/package/python-jinja2/Config.in
+++ b/package/python-jinja2/Config.in
@@ -1,6 +1,8 @@
config BR2_PACKAGE_PYTHON_JINJA2
bool "python-jinja2"
select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime
+ select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3
help
Jinja2 is a template engine written in pure Python. It
provides a Django inspired non-XML syntax but supports
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/python-flask: fix runtime python modules dependencies
2020-03-22 21:39 [Buildroot] [PATCH v2 1/2] package/python-jinja2: fix runtime python modules dependencies Peter Seiderer
@ 2020-03-22 21:39 ` Peter Seiderer
2020-03-24 21:17 ` [Buildroot] [PATCH v2 1/2] package/python-jinja2: " Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Peter Seiderer @ 2020-03-22 21:39 UTC (permalink / raw)
To: buildroot
- add python setuptools runtime dependency, fixes:
ModuleNotFoundError: No module named 'pkg_resources'
- add python libxml2 runtime dependency, fixes:
ModuleNotFoundError: No module named 'xml'
- add python ssl runtime dependency, fixes:
AttributeError: 'NoneType' object has no attribute 'SSLContext'
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
- add missing signed off by (spotted by Thomas Petazzoni)
---
package/python-flask/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/python-flask/Config.in b/package/python-flask/Config.in
index 6f77913ed1..72fcb61999 100644
--- a/package/python-flask/Config.in
+++ b/package/python-flask/Config.in
@@ -2,8 +2,12 @@ config BR2_PACKAGE_PYTHON_FLASK
bool "python-flask"
select BR2_PACKAGE_PYTHON_CLICK # runtime
select BR2_PACKAGE_PYTHON_JINJA2 # runtime
+ select BR2_PACKAGE_PYTHON_LXML # runtime
select BR2_PACKAGE_PYTHON_WERKZEUG # runtime
select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime
+ select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
+ select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
help
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 1/2] package/python-jinja2: fix runtime python modules dependencies
2020-03-22 21:39 [Buildroot] [PATCH v2 1/2] package/python-jinja2: fix runtime python modules dependencies Peter Seiderer
2020-03-22 21:39 ` [Buildroot] [PATCH v2 2/2] package/python-flask: " Peter Seiderer
@ 2020-03-24 21:17 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-03-24 21:17 UTC (permalink / raw)
To: buildroot
On Sun, 22 Mar 2020 22:39:24 +0100
Peter Seiderer <ps.report@gmx.net> wrote:
> - add python unicodedata runtime dependency, fixes:
> File "usr/lib/python3.8/site-packages/jinja2/lexer.py", line 46, in <module>
> ModuleNotFoundError: No module named 'unicodedata'
>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
> Changes v1 -> v2:
> - add missing signed off by (spotted by Thomas Petazzoni)
> ---
> package/python-jinja2/Config.in | 2 ++
> 1 file changed, 2 insertions(+)
Both patches applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-24 21:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-22 21:39 [Buildroot] [PATCH v2 1/2] package/python-jinja2: fix runtime python modules dependencies Peter Seiderer
2020-03-22 21:39 ` [Buildroot] [PATCH v2 2/2] package/python-flask: " Peter Seiderer
2020-03-24 21:17 ` [Buildroot] [PATCH v2 1/2] package/python-jinja2: " Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox