10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13d00dc commit 27f2af3Copy full SHA for 27f2af3
azure-pipelines.yml
@@ -84,7 +84,6 @@ jobs:
84
)
85
matrix:
86
pylatest_free_threaded:
87
- PYTHON_GIL: '0'
88
DISTRIB: 'conda-free-threaded'
89
LOCK_FILE: './build_tools/azure/pylatest_free_threaded_linux-64_conda.lock'
90
COVERAGE: 'false'
build_tools/azure/test_script.sh
@@ -75,6 +75,14 @@ else
75
echo "Could not inspect CPU architecture."
76
fi
77
78
+if [[ "$DISTRIB" == "conda-free-threaded" ]]; then
79
+ # Make sure that GIL is disabled even when importing extensions that have
80
+ # not declared free-threaded compatibility. This can be removed when numpy,
81
+ # scipy and scikit-learn extensions all have declared free-threaded
82
+ # compatibility.
83
+ export PYTHON_GIL=0
+fi
+
TEST_CMD="$TEST_CMD --pyargs sklearn"
set -x
0 commit comments