[ 
https://issues.apache.org/jira/browse/ARROW-12068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307685#comment-17307685
 ] 

Joris Van den Bossche commented on ARROW-12068:
-----------------------------------------------

We have some different use cases of distutils right now:

- {{distutils.sysconfig}} -> can be replaced with {{sysconfig}} stdlib module 
(although in  we also use {{get_python_inc}} and {{get_python_lib}} in eg 
FindPythonLibsNew.cmake, which don't have a 1:1 alternative, I think)
- {{distutils.util.strtobool}} -> need to implement ourselves
- {{distutils.command.clean}} / {{distutils.core.setup}} -> setuptools
- {{distutils.version.LooseVersion}} -> the alternative here is the 
{{packaging}} package. But do we want to add that as a new dependency?

> [Python] Stop using distutils
> -----------------------------
>
>                 Key: ARROW-12068
>                 URL: https://issues.apache.org/jira/browse/ARROW-12068
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: Python
>            Reporter: Antoine Pitrou
>            Priority: Critical
>             Fix For: 5.0.0
>
>
> According to [PEP 632|https://www.python.org/dev/peps/pep-0632/], distutils 
> will be deprecated in Python 3.10 and removed in 3.12.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to