[Buildroot] [git commit] package/python-watchdog: needs python3

Peter Korsgaard peter at korsgaard.com
Fri Nov 5 16:24:37 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=2d8430f36f22546565c7f83ca7a94d2d2ee5b7af
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 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


More information about the buildroot mailing list