jorisvandenbossche commented on PR #41041:
URL: https://github.com/apache/arrow/pull/41041#issuecomment-2088239381

   > We are working on figuring out how to best update these environments. I 
want to research what is the recommend building method, now that Python is 
moving away from setup.py. If we need to stick with `python setup.py sdist` 
I'll need to find each environment that needs setuptools_scm installed.
   
   In general we should move away from `python setup.py sdist` anyway because 
those kind of direct setup.py calls are deprecated, so this seems like a good 
reason to actually do so. 
   (see https://setuptools.pypa.io/en/latest/deprecated/commands.html and 
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for context)
   
   Specifically for building an sdist or wheel, the recommended way to do that 
nowadays is using the `build` package (`python -m build --sdist` for sdist, 
[build.pypa.io](https://build.pypa.io/))
   
   (I know we still document to use `python setup.py build_ext --inplace` for 
local development, and I also use that myself, for this one there is a less 
clear alternative)
   


-- 
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