[
https://issues.apache.org/jira/browse/ARROW-17389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Beasley updated ARROW-17389:
-------------------------------------
Attachment: 0001-Exclude-pyarrow.conftest-when-not-installing-tests.patch
0002-Exclude-package-data-from-tests-when-not-installing-.patch
> 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
> Attachments:
> 0001-Exclude-pyarrow.conftest-when-not-installing-tests.patch,
> 0002-Exclude-package-data-from-tests-when-not-installing-.patch
>
>
> 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)