On Mon, Jul 10, 2023 at 7:37 AM Markus Rathgeb <[email protected]> wrote:
>
> Hello,
> I am using your layer in a custom distribution.
> I am using the kirkstone branch.
>
> I added python3-docker-compose to my image.
> The following recipe is used: 
> meta-virtualization/recipes-containers/docker-compose/python3-docker-compose_1.29.2.bb
>
> If I use the docker-compose command on my target machine the following error 
> is shown:
>
> # docker-compose
> Traceback (most recent call last):
>   File "/usr/bin/docker-compose", line 5, in <module>
>     from compose.cli.main import main
>   File "/usr/lib/python3.10/site-packages/compose/cli/main.py", line 9, in 
> <module>
>     from distutils.spawn import find_executable
> ModuleNotFoundError: No module named 'distutils'
>
> After adding "python3-distutils" to my image explicit the error is gone.
>
> I assume the recipe "python3-docker-compose_1.29.2.bb" misses a RDEPEND for 
> "python3-distutils".
>

If you check the mailing list archives, we had a discussion about this
same thing in the
thread: [meta-virtualization] Docker Compose issue regarding the
deprecation of Python3 distutils on Kirkstone

And yes, there is a missing rdepends, but since distutils is
depreciated, it is left as-is as an early
warning that users should migrate to the newer docker-compose using go.

If you do need the python3 version, then you can ensure you are
explicitly adding that package to
your image, or attempt to patch it to use setuputils (and send that
one to the list!).

Bruce

> Best regards,
> Markus
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8125): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8125
Mute This Topic: https://lists.yoctoproject.org/mt/100055714/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-virtualization/leave/6693005/21656/1014668956/xyzzy
 [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to