We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03df353 commit 61bcf5dCopy full SHA for 61bcf5d
1 file changed
.github/workflows/ci.yml
@@ -288,13 +288,13 @@ jobs:
288
sys.exit(1)
289
"
290
291
- - name: Verify array backend uses pure Python
+ - name: Verify array backend does not use numpy
292
run: |
293
python -c "
294
from gradient_free_optimizers._array_backend import _backend_name, HAS_NUMPY
295
assert not HAS_NUMPY, 'HAS_NUMPY should be False'
296
- assert _backend_name == 'pure', f'Expected pure backend, got {_backend_name}'
297
- print('OK: using pure Python array backend')
+ assert _backend_name in ('pure', 'c_extension'), f'Unexpected backend: {_backend_name}'
+ print(f'OK: using {_backend_name} array backend (no numpy)')
298
299
300
- name: Run dependency isolation tests
0 commit comments