AlenkaF commented on code in PR #47626:
URL: https://github.com/apache/arrow/pull/47626#discussion_r2378566561


##########
ci/scripts/python_wheel_unix_test.sh:
##########
@@ -100,9 +100,19 @@ if [ "${CHECK_WHEEL_CONTENT}" == "ON" ]; then
     --path "${source_dir}/python/repaired_wheels"
 fi
 
+is_free_threaded() {
+  python -c "import sysconfig; print('ON' if 
sysconfig.get_config_var('Py_GIL_DISABLED') else 'OFF')"
+}
+
 if [ "${CHECK_UNITTESTS}" == "ON" ]; then
   # Install testing dependencies
-  python -m pip install -U -r 
"${source_dir}/python/requirements-wheel-test.txt"
+  if [ "$(is_free_threaded)" = "ON" ]; then
+    echo "Free-threaded Python build detected"
+    python -m pip install --no-build-isolation -r 
"${source_dir}/python/requirements-wheel-test-3.13t.txt"

Review Comment:
   Unfortunately I can not find any discussion around the reason why this was 
used in the original PR: https://github.com/apache/arrow/pull/45470
   
   I can remove it and do the same as for the other option (`python -m pip 
install -U -r ...`).



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