File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 49
49
# __init__.py interferes with the tests and is included as local file instead of
50
50
# used from wheel
51
51
CIBW_BEFORE_TEST : rm {project}/tiledb/__init__.py
52
- CIBW_TEST_REQUIRES : pytest hypothesis psutil pyarrow
53
- CIBW_TEST_COMMAND : pytest {project}/tiledb/tests
54
- CIBW_ENVIRONMENT : TILEDB_REST_TOKEN=${{ secrets.TILEDB_CLOUD_HELPER_VAR }}
55
- SYSTEM_VERSION_COMPAT : ${{ startsWith(matrix.os, 'macos-') }}
56
52
with :
57
53
output-dir : wheelhouse
58
54
Original file line number Diff line number Diff line change @@ -51,7 +51,14 @@ version_file = "tiledb/_generated_version.py"
51
51
wheel.expand-macos-universal-tags = true
52
52
metadata.version.provider = " scikit_build_core.metadata.setuptools_scm"
53
53
wheel.packages = [" tiledb" ]
54
- wheel.exclude = [" tiledb/cc/" , " tiledb/*.cc" , " tiledb/*.cmake" ]
54
+ wheel.exclude = [
55
+ " tiledb/cc/" ,
56
+ " tiledb/*.cc" ,
57
+ " tiledb/*.cmake" ,
58
+ " tiledb/*.pyx" ,
59
+ " tiledb/*.pxd" ,
60
+ " tiledb/*.pxi" ,
61
+ ]
55
62
56
63
[tool .pytest .ini_options ]
57
64
python_classes = " *Test*"
@@ -75,3 +82,12 @@ fix = true
75
82
76
83
[tool .ruff .per-file-ignores ]
77
84
"tiledb/__init__.py" = [" F401" ]
85
+
86
+ [tool .cibuildwheel ]
87
+ test-requires = [
88
+ " pytest" ,
89
+ " hypothesis" ,
90
+ " psutil" ,
91
+ " pyarrow" ,
92
+ ]
93
+ test-command = " pytest {project}"
You can’t perform that action at this time.
0 commit comments