Thread (2 messages) flat view 2 messages, 2 authors, 2021-11-05

[Buildroot] [PATCH 1/1] package/python-watchdog: needs python3

From: Fabrice Fontaine <hidden>
Date: 2021-10-28 16:16:08
Subsystem: the rest · Maintainer: Linus Torvalds

python3 is needed to avoid the following build failure since bump to
version 2.1.6 in commit a1f7597b4dcd60e8373040739d7abbc0f45dd5f5 and
https://github.com/gorakhargosh/watchdog/commit/86b983aa5f7bf2a65314b5dfb7ff8c1b930c10c4:

Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    import importlib.util
ImportError: No module named util

Fixes:
 - http://autobuild.buildroot.org/results/9d4/9d4abcb029f4e44a9cb454faa8416d8ebccb5b2e/build-end.log

Signed-off-by: Fabrice Fontaine <redacted>
---
 package/python-watchdog/Config.in | 1 +
 1 file changed, 1 insertion(+)
diff --git a/package/python-watchdog/Config.in b/package/python-watchdog/Config.in
index 18f569ee44..6f0dd62073 100644
--- a/package/python-watchdog/Config.in
+++ b/package/python-watchdog/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_WATCHDOG
 	bool "python-watchdog"
+	depends on BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_ARGH # runtime
 	select BR2_PACKAGE_PYTHON_PATHTOOLS # runtime
 	select BR2_PACKAGE_PYTHON_PYYAML # runtime
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help