kou commented on issue #41429:
URL: https://github.com/apache/arrow/issues/41429#issuecomment-2123580568
I can't remember details but I had some problems when I use `python/`
in-source on host. (I used `sudo rm ...` or something for the case. But it may
be wrong. I can't remember...)
(I mix `archery docker run ...` (for debugging CI failures) and `python3
setup.py ...`/`python3 -m pip ...` on host but others may not mix them.)
We can map uid:gid but is there any portable way for it? I hope that it's
enabled by default.
#41041 has the `git describe` related problem, right?
Can we use `GIT_DIR` for it?
```diff
diff --git a/ci/scripts/python_build.sh b/ci/scripts/python_build.sh
index 9455baf353..80fd417644 100755
--- a/ci/scripts/python_build.sh
+++ b/ci/scripts/python_build.sh
@@ -25,6 +25,8 @@ build_dir=${2}
source_dir=${arrow_dir}/python
python_build_dir=${build_dir}/python
+export GIT_DIR=${arrow_dir}
+
: ${BUILD_DOCS_PYTHON:=OFF}
if [ -x "$(command -v git)" ]; then
```
If we can remove `--no-build-isolation` from
https://github.com/apache/arrow/blob/8169d6e719453acd0e7ca1b6f784d800cca4f113/ci/scripts/python_build.sh#L88-L92,
we can remove
https://github.com/apache/arrow/blob/8169d6e719453acd0e7ca1b6f784d800cca4f113/ci/scripts/python_build.sh#L81-L86
. Can we remove `--no-build-isolation` by #41041 ?
--
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]