Hi Dick,

Indeed, the problem is only manifested when OS-independent Python 3 is
used. Even though, Python 3.12.5 is supplied with the python:3-slim image,
I see the same issues with python:3.11.2-slim image.

I do not see any issues when install ansible-core into OS-managed Python
environment in Debian 12. It seems to me that the Debian team applied some
local patches to the upstream python distribution to make it work. Some
more investigation is needed, of course.

Thank you.

Regards,
Garri

Op ma 19 aug 2024 09:53 schreef Dick Visser <dnmvis...@gmail.com>:

>
> On Mon, 19 Aug 2024 at 00:51, Garri Djavadyan <g.djavad...@gmail.com>
> wrote:
>
>> Then it seems indeed a local problem of mine. In my case, Ansible is
>> executed in a Docker container python:3-slim, which is based on
>> debian:bookworm-slim. Within the container, 'ansible==10.*' is
>> installed into a normal user's directory with pip, and Ansible commands
>> are executed on behalf of that normal user.
>
>
> I can confirm things also work OK in a debian:bookworm-slim container.
> So I guess there must be something specific with the python container....
>
> Dick
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAF8BbLYWvgdmAPwSYz5%3DG8pKKPc7XWJzOjMaFyqj19aVGXrAtw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAF8BbLYWvgdmAPwSYz5%3DG8pKKPc7XWJzOjMaFyqj19aVGXrAtw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAAG9kiraYeXj7cmtFs1G%2Bieu3MerYH-1XGO%3DF-eNeZ3amC-2Pg%40mail.gmail.com.

Reply via email to