You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/06/07 11:57:00 UTC
[jira] [Resolved] (ARROW-16726) [Python] Setuptools warnings about installing packages as data
[ https://issues.apache.org/jira/browse/ARROW-16726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van den Bossche resolved ARROW-16726.
-------------------------------------------
Resolution: Fixed
Issue resolved by pull request 13309
[https://github.com/apache/arrow/pull/13309]
> [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
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> 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)