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

Raúl Cumplido reassigned ARROW-16726:
-------------------------------------

    Assignee: Raúl Cumplido

> [Python] Setuptools warnings about installing packages as data
> --------------------------------------------------------------
>
>                 Key: ARROW-16726
>                 URL: https://issues.apache.org/jira/browse/ARROW-16726
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Packaging, Python
>            Reporter: Antoine Pitrou
>            Assignee: Raúl Cumplido
>            Priority: Critical
>             Fix For: 9.0.0
>
>
> These warnings have started appearing in some builds (such as when running 
> {{archery docker run conda-python-docs}}):
> {code}
> SetuptoolsDeprecationWarning:     Installing 'pyarrow.includes' as data is 
> deprecated, please list it in `packages`.
>       !!
>       ############################
>       # Package would be ignored #
>       ############################
>       Python recognizes 'pyarrow.includes' as an importable package, however 
> it is
>       included in the distribution as "data".
>       This behavior is likely to change in future versions of setuptools (and
>       therefore is considered deprecated).
>       Please make sure that 'pyarrow.includes' is included as a package by 
> using
>       setuptools' `packages` configuration field or the proper discovery 
> methods
>       (for example by using `find_namespace_packages(...)`/`find_namespace:`
>       instead of `find_packages(...)`/`find:`).
>       You can read more about "package discovery" and "data files" on 
> setuptools
>       documentation page.
> {code}
> We should probably fix them before something really breaks.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to