[Python] In pyarrow, conftest is installed even when tests are not

XMLWordPrintableJSON

      When PYARROW_INSTALL_TESTS is set to 0, the packages keyword to setuptools.setup is:

      find_namespace_packages(include=['pyarrow*'], exclude=["pyarrow.tests*"])

      Since pyarrow.conftest is associated with the tests, I think it should be added to the list of modules to exclude in this case, i.e.,

      find_namespace_packages(include=['pyarrow*'], exclude=["pyarrow.tests*", "pyarrow.conftest"])

      (As a separate issue, it doesn’t seem like any of these excludes is having any effect for me anyway, as I find the tests are still included in wheels no matter what.)

            Assignee:
            Miles Granger
            Reporter:
            Benjamin Beasley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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