mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] python3: ensurepip requires hashlib/SSL
@ 2020-07-16  8:08 Rouven Czerwinski
  2020-07-17 11:57 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Rouven Czerwinski @ 2020-07-16  8:08 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

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 <r.czerwinski@pengutronix.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

* Re: [ptxdist] [APPLIED] python3: ensurepip requires hashlib/SSL
  2020-07-16  8:08 [ptxdist] [PATCH v2] python3: ensurepip requires hashlib/SSL Rouven Czerwinski
@ 2020-07-17 11:57 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-07-17 11:57 UTC (permalink / raw)
  To: ptxdist; +Cc: Rouven Czerwinski

Thanks, applied as 4379322c64177b6d4832780ff3d187a73dbb46a0.

Michael

[sent from post-receive hook]

On Fri, 17 Jul 2020 13:57:07 +0200, Rouven Czerwinski <r.czerwinski@pengutronix.de> wrote:
> 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 <r.czerwinski@pengutronix.de>
> Message-Id: <20200716080840.2963-1-r.czerwinski@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3.in b/rules/python3.in
> index f02312c92e81..61ecc972eec2 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"
>  

_______________________________________________
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-17 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16  8:08 [ptxdist] [PATCH v2] python3: ensurepip requires hashlib/SSL Rouven Czerwinski
2020-07-17 11:57 ` [ptxdist] [APPLIED] " Michael Olbrich

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