Skip to contentSkip to conversation

package/python-esptool: fix zlib module for python3

PATCH New Bernd Kuhls 2 participants 2 messages Jan 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-esptool: fix zlib module for python3

Fixes config with BR2_PACKAGE_PYTHON3=y

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_ZLIB
Depends on [n]: BR2_PACKAGE_PYTHON [=n]
Selected by [y]:
- BR2_PACKAGE_PYTHON_ESPTOOL [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y])

---
 package/python-esptool/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/python-esptool/Config.in +2 -1
index 7d3579abdc..570f9aa42f 100644
@@ -3,7 +3,8 @@ config BR2_PACKAGE_PYTHON_ESPTOOL
 	select BR2_PACKAGE_PYTHON_ECDSA # runtime
 	select BR2_PACKAGE_PYTHON_PYAES # runtime
 	select BR2_PACKAGE_PYTHON_SERIAL # runtime
-	select BR2_PACKAGE_PYTHON_ZLIB # runtime
+	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
 	help
 	  A serial utility to communicate & flash code to Espressif
 	  ESP8266 & ESP32 chips.
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/python-esptool: fix zlib module for python3

Quoted 11 lines · On Sun, 17 Jan 2021 12:21:45 +0100 Bernd Kuhls <[email protected]> wrote:

Fixes config with BR2_PACKAGE_PYTHON3=y

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_ZLIB
Depends on [n]: BR2_PACKAGE_PYTHON [=n]
Selected by [y]:
- BR2_PACKAGE_PYTHON_ESPTOOL [=y] && (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y])

---
 package/python-esptool/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

I wonder how I didn't spot that during the review/merge of this patch. Anyway, thanks a lot for fixing this! Applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com