Skip to contentSkip to conversation

package/python-requests fix dependencies

PATCH New Sven Haardiek 2 participants 3 messages Apr 29, 2018 – May 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-requests fix dependencies

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.

---
 package/python-requests/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-requests/Config.in +1 -0
index d2726fb26a..30158b8d25 100644
@@ -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
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/1 package/python-requests fix dependencies

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Haardiek <[email protected]> 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.

Committed after tweaking the commit message a bit, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 package/python-requests fix dependencies

In reply to Sven Haardiek
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sven" == Sven Haardiek <[email protected]> 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.

Committed to 2018.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard