raulcd commented on PR #49259:
URL: https://github.com/apache/arrow/pull/49259#issuecomment-4010348533

   @jorisvandenbossche this seems to happen only on conda environments and is 
due to scikit-build-core ignoring the default CMAKE_ARGS that conda sets (see 
`-DCMAKE_BUILD_TYPE=Release` there), this is directly from the container:
   ```
   $ PANDAS=nightly NUMPY=nightly PYTHON=3.13 docker compose run -it --rm -e 
SETUPTOOLS_SCM_PRETEND_VERSION=23.0.0.dev328 conda-python-pandas /bin/bash
   root@6ac69eff4ef5:/# echo $CMAKE_ARGS
   -DCMAKE_AR=/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-ar 
-DCMAKE_CXX_COMPILER_AR=/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-gcc-ar 
-DCMAKE_C_COMPILER_AR=/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-gcc-ar 
-DCMAKE_RANLIB=/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-ranlib 
-DCMAKE_CXX_COMPILER_RANLIB=/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-gcc-ranlib
 
-DCMAKE_C_COMPILER_RANLIB=/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-gcc-ranlib
 -DCMAKE_LINKER=/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-ld 
-DCMAKE_STRIP=/opt/conda/envs/arrow/bin/x86_64-conda-linux-gnu-strip 
-DCMAKE_BUILD_TYPE=Release
   root@6ac69eff4ef5:/# 
   ```
   I am unsure why conda defines a default `-DCMAKE_BUILD_TYPE=Release` on 
`CMAKE_ARGS`, maybe @h-vetinari can help here.
   In any case for our specific case, this is ok as we are just defining it 
ourselves on the pyproject.toml or via `-C cmake.build-type=Debug` and working 
as expected.


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