mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] python3: ensurepip requires hashlib/SSL
@ 2020-07-16  7:33 Rouven Czerwinski
  2020-07-16  7:34 ` Rouven Czerwinski
  0 siblings, 1 reply; 2+ messages in thread
From: Rouven Czerwinski @ 2020-07-16  7:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

From: Rouven Czerwinski <rouven@czerwinskis.de>

Otherwise ensurepip fails with the following error:

  Traceback (most recent call last):
    File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main
    File "/usr/lib/python3.7/runpy.py", line 142, in _get_module_details
    File "/usr/lib/python3.7/runpy.py", line 109, in _get_module_details
    File "/usr/lib/python3.7/__init__.py", line 5, in <module>
    File "/usr/lib/python3.7/tempfile.py", line 45, in <module>
    File "/usr/lib/python3.7/random.py", line 46, in <module>
  ModuleNotFoundError: No module named 'hashlib'

Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
---
 rules/python3.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/python3.in b/rules/python3.in
index f02312c92..61ecc972e 100644
--- a/rules/python3.in
+++ b/rules/python3.in
@@ -65,6 +65,7 @@ config PYTHON3_DISTUTILS
 	prompt "Include distutils packages"
 
 config PYTHON3_ENSUREPIP
+	select PYTHON3_SSL
 	bool
 	prompt "Include bundled pip"
 
-- 
2.27.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-16  7:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16  7:33 [ptxdist] [PATCH] python3: ensurepip requires hashlib/SSL Rouven Czerwinski
2020-07-16  7:34 ` Rouven Czerwinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox