Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16726

[Python] Setuptools warnings about installing packages as data

Details

    Description

      These warnings have started appearing in some builds (such as when running archery docker run conda-python-docs):

      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.
      
      

      We should probably fix them before something really breaks.

      Attachments

        Issue Links

          Activity

            People

              raulcd Raúl Cumplido
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m

                  Slack

                    Issue deployment