Skip to content

Commit 72aff41

Browse files
committed
force-disable the GIL in 3.14t tests
1 parent 6177658 commit 72aff41

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ jobs:
186186
pip install -r test-requirements.txt
187187
CC=clang MYPYC_OPT_LEVEL=0 MYPY_USE_MYPYC=1 pip install -e .
188188
189+
# delete this when importing lxml.etree no longer re-enables the GIL
190+
- name: Force-disable GIL in 3.14t tests
191+
if: ${{ matrix.python == '3.14t' }}
192+
run: echo "PYTHON_GIL=0" >> "$GITHUB_ENV"
193+
189194
- name: Setup tox environment
190195
run: |
191196
tox run -e ${{ matrix.toxenv }} --notest

0 commit comments

Comments
 (0)