File tree 2 files changed +7
-11
lines changed
2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -299,12 +299,12 @@ jobs:
299
299
CIBW_PRERELEASE_PYTHONS : ' True'
300
300
CIBW_FREE_THREADED_SUPPORT : ' True'
301
301
CIBW_TEST_REQUIRES : pytest setuptools # 3.12+ no longer includes distutils, just always ensure setuptools is present
302
- CIBW_TEST_COMMAND : PYTHONUNBUFFERED=1 python -m pytest -s ${{ matrix.test_args || '{project}' }} # default to test all
302
+ CIBW_TEST_COMMAND : PYTHONUNBUFFERED=1 python -m pytest ${{ matrix.test_args || '{project}' }} # default to test all
303
303
run : |
304
304
set -eux
305
-
305
+
306
306
mkdir cffi
307
-
307
+
308
308
tar zxf ${{ steps.fetch_sdist.outputs.download-path }}/cffi*.tar.gz --strip-components=1 -C cffi
309
309
python -m pip install --upgrade "${{ matrix.cibw_version || 'cibuildwheel' }}"
310
310
@@ -509,9 +509,7 @@ jobs:
509
509
CIBW_BUILD : ${{ matrix.spec }}
510
510
CIBW_PRERELEASE_PYTHONS : ' True'
511
511
CIBW_TEST_REQUIRES : pytest setuptools
512
- CIBW_TEST_COMMAND : ' python -m pytest {package}/src/c'
513
- # FIXME: /testing takes ~45min on Windows and has some failures...
514
- # CIBW_TEST_COMMAND='python -m pytest {package}/src/c {project}/testing'
512
+ CIBW_TEST_COMMAND : ' python -m pytest {package}'
515
513
run : |
516
514
set -eux
517
515
Original file line number Diff line number Diff line change @@ -284,12 +284,12 @@ def cleanup_tmpdir(tmpdir=None, keep_so=False):
284
284
suffix = _get_so_suffixes ()[0 ].lower ()
285
285
for fn in filelist :
286
286
if fn .lower ().startswith ('_cffi_' ) and (
287
- fn .lower ().endswith (suffix ) or
288
- fn .lower ().endswith ('.c' ) or
287
+ fn .lower ().endswith (suffix ) or
288
+ fn .lower ().endswith ('.c' ) or
289
289
fn .lower ().endswith ('.o' )):
290
290
try :
291
291
os .unlink (os .path .join (tmpdir , fn ))
292
- except OSError as e :
292
+ except OSError :
293
293
pass
294
294
clean_dir = [os .path .join (tmpdir , 'build' )]
295
295
for dir in clean_dir :
@@ -302,8 +302,6 @@ def cleanup_tmpdir(tmpdir=None, keep_so=False):
302
302
os .unlink (fn )
303
303
except OSError :
304
304
pass
305
- print ("after cleanup_tmp in" ,tmpdir )
306
- print ("files left:\n " , "\n " .join (os .listdir (tmpdir )))
307
305
308
306
def _get_so_suffixes ():
309
307
suffixes = _extension_suffixes ()
You can’t perform that action at this time.
0 commit comments