jorisvandenbossche opened a new pull request, #43515:
URL: https://github.com/apache/arrow/pull/43515

   ### Rationale for this change
   
   As mentioned in 
https://github.com/apache/arrow/pull/41494#issuecomment-2092829903 (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.
   
   ### What changes are included in this PR?
   
   Whenever a user passes such a `--with-` flag, a warning is raised.
   
   ### Are these changes tested?
   
   Tested it locally
   
   ### Are there any user-facing changes?
   
   Only for developers building pyarrow from source, they have to potentially 
update their build instructions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to