Skip to content

[Python] Deprecate passing build flags to setup.py (e.g. setup.py --with-parquet) #43514

Closed

Description

@jorisvandenbossche

As mentioned in #41494 (comment) (while refactoring how to specify to the pyarrow build which components to build, i.e. to let it follow the Arrow C++ components by default), we do have a "feature" that you can specify which components to build directly to setup.py, like python setup.py build_ext --with-parquet.

This is currently not used in our own codebase, and is also not documented anymore, but we did document it in the past.

In general calling setup.py directly is not recommended (although for development installs, it is still useful), furthermore there are alternatives to those flags (relying on Arrow C++ or setting an environment variable), and this would go away anyhow in case we would move away from setuptools at some point.
So I think it is better to deprecate those options.

Activity

  1. added a commit that references this issue on Aug 1, 2024
  2. added a commit that references this issue on Aug 1, 2024
  3. added this to the 18.0.0 milestone on Aug 1, 2024
  4. raulcd commented on Aug 1, 2024

    @raulcd
    Member

    Issue resolved by pull request 43515
    #43515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions