* [Buildroot] [PATCH 1/1] package/python-requests fix dependencies
@ 2018-04-29 12:53 Sven Haardiek
2018-04-29 21:10 ` Peter Korsgaard
2018-05-01 7:33 ` Peter Korsgaard
0 siblings, 2 replies; 5+ messages in thread
From: Sven Haardiek @ 2018-04-29 12:53 UTC (permalink / raw)
To: buildroot
Requests need hashlib to run with Pyhton 2. Otherwise it is not possible to
import, due to missing e.g. md5. There is a variable BR2_PACKAGE_PYTHON_HASHLIB
to make it work.
Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
---
package/python-requests/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-requests/Config.in b/package/python-requests/Config.in
index d2726fb26a..30158b8d25 100644
--- a/package/python-requests/Config.in
+++ b/package/python-requests/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_PYTHON_REQUESTS
select BR2_PACKAGE_PYTHON_CHARDET # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_URLLIB3 # runtime
+ select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
--
2.17.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-requests fix dependencies
2018-04-29 12:53 [Buildroot] [PATCH 1/1] package/python-requests fix dependencies Sven Haardiek
@ 2018-04-29 21:10 ` Peter Korsgaard
2018-05-01 7:33 ` Peter Korsgaard
1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2018-04-29 21:10 UTC (permalink / raw)
To: buildroot
>>>>> "Sven" == Sven Haardiek <sven.haardiek@iotec-gmbh.de> writes:
> Requests need hashlib to run with Pyhton 2. Otherwise it is not possible to
> import, due to missing e.g. md5. There is a variable BR2_PACKAGE_PYTHON_HASHLIB
> to make it work.
> Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
Committed after tweaking the commit message a bit, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-requests fix dependencies
2018-04-29 12:53 [Buildroot] [PATCH 1/1] package/python-requests fix dependencies Sven Haardiek
2018-04-29 21:10 ` Peter Korsgaard
@ 2018-05-01 7:33 ` Peter Korsgaard
1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2018-05-01 7:33 UTC (permalink / raw)
To: buildroot
>>>>> "Sven" == Sven Haardiek <sven.haardiek@iotec-gmbh.de> writes:
> Requests need hashlib to run with Pyhton 2. Otherwise it is not possible to
> import, due to missing e.g. md5. There is a variable BR2_PACKAGE_PYTHON_HASHLIB
> to make it work.
> Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
Committed to 2018.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-requests fix dependencies
2018-04-29 11:40 Sven Haardiek
@ 2018-04-29 12:03 ` Yann E. MORIN
0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2018-04-29 12:03 UTC (permalink / raw)
To: buildroot
Sven, All,
On 2018-04-29 13:40 +0200, Sven Haardiek spake thusly:
> Requests need hashlib to run. Otherwise it is not possible to import, due to
> missing e.g. md5.
>
> Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
> ---
> package/python-requests/Config.in | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/package/python-requests/Config.in b/package/python-requests/Config.in
> index d2726fb26a..d51b4079cb 100644
> --- a/package/python-requests/Config.in
> +++ b/package/python-requests/Config.in
> @@ -4,6 +4,8 @@ config BR2_PACKAGE_PYTHON_REQUESTS
> select BR2_PACKAGE_PYTHON_CHARDET # runtime
> select BR2_PACKAGE_PYTHON_IDNA # runtime
> select BR2_PACKAGE_PYTHON_URLLIB3 # runtime
> + select BR2_PACKAGE_PYTHON_HASHLIB # runtime
> + select BR2_PACKAGE_PYTHON3_HASHLIB # runtime
This is definitely incorrect: you can't select for both pyhon and
python3 at the same time. See how it idoes done for SSL, just below:
> select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
> select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
> select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-requests fix dependencies
@ 2018-04-29 11:40 Sven Haardiek
2018-04-29 12:03 ` Yann E. MORIN
0 siblings, 1 reply; 5+ messages in thread
From: Sven Haardiek @ 2018-04-29 11:40 UTC (permalink / raw)
To: buildroot
Requests need hashlib to run. Otherwise it is not possible to import, due to
missing e.g. md5.
Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
---
package/python-requests/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/python-requests/Config.in b/package/python-requests/Config.in
index d2726fb26a..d51b4079cb 100644
--- a/package/python-requests/Config.in
+++ b/package/python-requests/Config.in
@@ -4,6 +4,8 @@ config BR2_PACKAGE_PYTHON_REQUESTS
select BR2_PACKAGE_PYTHON_CHARDET # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_URLLIB3 # runtime
+ select BR2_PACKAGE_PYTHON_HASHLIB # runtime
+ select BR2_PACKAGE_PYTHON3_HASHLIB # runtime
select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
--
2.17.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-05-01 7:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-29 12:53 [Buildroot] [PATCH 1/1] package/python-requests fix dependencies Sven Haardiek
2018-04-29 21:10 ` Peter Korsgaard
2018-05-01 7:33 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2018-04-29 11:40 Sven Haardiek
2018-04-29 12:03 ` Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.