You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/06/02 12:19:00 UTC

[jira] [Created] (ARROW-16726) [Python] Setuptools warnings about installing packages as data

Antoine Pitrou created ARROW-16726:
--------------------------------------

             Summary: [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
             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)