[
https://issues.apache.org/jira/browse/ARROW-16726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545452#comment-17545452
]
Antoine Pitrou commented on ARROW-16726:
----------------------------------------
cc [~raulcd] [~jorisvandenbossche]
> [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
> 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)