You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "PoAn Yang (Jira)" <ji...@apache.org> on 2025/09/10 05:04:00 UTC

[jira] [Resolved] (KAFKA-19490) Remove usages of distutils in docker scripts

     [ https://issues.apache.org/jira/browse/KAFKA-19490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

PoAn Yang resolved KAFKA-19490.
-------------------------------
    Fix Version/s: 4.2.0
       Resolution: Fixed

> Remove usages of distutils in docker scripts
> --------------------------------------------
>
>                 Key: KAFKA-19490
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19490
>             Project: Kafka
>          Issue Type: Task
>          Components: docker
>            Reporter: Mickael Maison
>            Assignee: PoAn Yang
>            Priority: Major
>             Fix For: 4.2.0
>
>
> The distutils module was removed from the Python standard library in Python 3.12. We still use this module in docker/common.py and docker/docker_build_test.py.
> We should switch to the shutils module which is part of the standard library. It provides similar methods (copy_file(), copy_tree()) than distutils.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)