Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-docker: needs python-packaging after bump to 6.0.1
@ 2023-06-16  6:04 Peter Korsgaard
  2023-06-16  6:04 ` [Buildroot] [PATCH 2/2] support/testing: add python-docker test 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
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Korsgaard @ 2023-06-16  6:04 UTC (permalink / raw)
  To: buildroot; +Cc: james.hilliard1, Asaf Kahlon

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-06  8:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16  6:04 [Buildroot] [PATCH 1/2] package/python-docker: needs python-packaging after bump to 6.0.1 Peter Korsgaard
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox