From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Cc: james.hilliard1@gmail.com, Asaf Kahlon <asafka7@gmail.com>
Subject: [Buildroot] [PATCH 1/2] package/python-docker: needs python-packaging after bump to 6.0.1
Date: Fri, 16 Jun 2023 08:04:19 +0200 [thread overview]
Message-ID: <20230616060421.3606283-1-peter@korsgaard.com> (raw)
Commit d680db0ba77dab (package/python-docker: bump to version 6.0.1) forgot
to add the new dependency on python-packaging, leading to runtime errors:
import docker
File "/usr/lib/python3.11/site-packages/docker/__init__.py", line 2, in <module>
File "/usr/lib/python3.11/site-packages/docker/api/__init__.py", line 2, in <module>
File "/usr/lib/python3.11/site-packages/docker/api/client.py", line 10, in <module>
File "/usr/lib/python3.11/site-packages/docker/auth.py", line 7, in <module>
File "/usr/lib/python3.11/site-packages/docker/utils/__init__.py", line 3, in <module>
File "/usr/lib/python3.11/site-packages/docker/utils/decorators.py", line 4, in <module>
File "/usr/lib/python3.11/site-packages/docker/utils/utils.py", line 9, in <module>
ModuleNotFoundError: No module named 'packaging'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/python-docker/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-docker/Config.in b/package/python-docker/Config.in
index b2296f42eb..ae5a7a5181 100644
--- a/package/python-docker/Config.in
+++ b/package/python-docker/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PYTHON_DOCKER
bool "python-docker"
# docker-engine may be running on another host, so no other dependency
select BR2_PACKAGE_PYTHON3_SSL # runtime
+ select BR2_PACKAGE_PYTHON_PACKAGING # runtime
select BR2_PACKAGE_PYTHON_REQUESTS # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2023-06-16 6:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-16 6:04 Peter Korsgaard [this message]
2023-06-16 6:04 ` [Buildroot] [PATCH 2/2] support/testing: add python-docker test Peter Korsgaard
2023-06-16 19:40 ` Christian Stewart via buildroot
2023-06-17 16:53 ` Peter Korsgaard
2023-07-06 8:35 ` Peter Korsgaard
2023-06-16 8:28 ` [Buildroot] [PATCH 1/2] package/python-docker: needs python-packaging after bump to 6.0.1 Peter Korsgaard
2023-06-16 9:30 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230616060421.3606283-1-peter@korsgaard.com \
--to=peter@korsgaard.com \
--cc=asafka7@gmail.com \
--cc=buildroot@buildroot.org \
--cc=james.hilliard1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox