You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Benjamin Beasley (Jira)" <ji...@apache.org> on 2022/08/11 20:42:00 UTC

[jira] (ARROW-17389) In pyarrow, conftest is installed even when tests are not

    [ https://issues.apache.org/jira/browse/ARROW-17389 ]


    Benjamin Beasley deleted comment on ARROW-17389:
    ------------------------------------------

was (Author: musicinmybrain):
The attached patches appear to solve both aspects of this issue for me.

> In pyarrow, conftest is installed even when tests are not
> ---------------------------------------------------------
>
>                 Key: ARROW-17389
>                 URL: https://issues.apache.org/jira/browse/ARROW-17389
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Benjamin Beasley
>            Priority: Trivial
>
> 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.)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)