Skip to content

Commit 92bcf3e

Browse files
jswhit2jswhit2
authored andcommitted
another attempt to disable GIL for running tests
1 parent e83c443 commit 92bcf3e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ jobs:
8888
uses: pypa/cibuildwheel@v3.3.0
8989
env:
9090
CIBW_ARCHS: ${{ matrix.arch }}
91-
PYTHON_GIL: 0
9291

9392
- uses: actions/upload-artifact@v6
9493
with:
@@ -132,7 +131,6 @@ jobs:
132131
uses: pypa/cibuildwheel@v3.3.0
133132
env:
134133
CIBW_ARCHS: ${{ matrix.arch }}
135-
PYTHON_GIL: 0
136134

137135
- uses: actions/upload-artifact@v6
138136
with:
@@ -173,7 +171,6 @@ jobs:
173171
env:
174172
CIBW_ARCHS: ARM64
175173
CIBW_SKIP: "cp310-*"
176-
PYTHON_GIL: 0
177174

178175
- uses: actions/upload-artifact@v6
179176
with:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ test-sources = [
117117
"pyproject.toml"
118118
]
119119
test-command = [
120-
'''python -c "import netCDF4; print(f'netCDF4 v{netCDF4.__version__}')"''',
121-
"pytest -s -rxs -v test",
120+
'''PYTHON_GIL=0 python -c "import netCDF4; print(f'netCDF4 v{netCDF4.__version__}')"''',
121+
"pytest -Xgil=0 -s -rxs -v test",
122122
]
123123
manylinux-x86_64-image = "ghcr.io/ocefpaf/manylinux_2_28_x86_64-netcdf"
124124
manylinux-aarch64-image = "ghcr.io/ocefpaf/manylinux_2_28_aarch64-netcdf"

0 commit comments

Comments
 (0)