|
23 | 23 | TILEDB_TOKEN: ${{ secrets.TILEDB_TOKEN }} |
24 | 24 |
|
25 | 25 | jobs: |
26 | | - build_wheels: |
27 | | - name: Wheel ${{ matrix.buildplat[0] }}-${{ matrix.buildplat[1] }}-${{ matrix.python }} |
28 | | - runs-on: ${{ matrix.buildplat[0] }} |
29 | | - strategy: |
30 | | - matrix: |
31 | | - buildplat: |
32 | | - - [ubuntu-22.04, manylinux_x86_64] |
33 | | - - [linux-arm64-ubuntu24, manylinux_aarch64] |
34 | | - - [macos-13, macosx_x86_64] |
35 | | - - [macos-14, macosx_arm64] |
36 | | - - [windows-2022, win_amd64] |
37 | | - python: ["cp39", "cp310", "cp311", "cp312", "cp313"] |
38 | | - |
39 | | - steps: |
40 | | - - uses: actions/checkout@v4 |
41 | | - |
42 | | - - name: "Brew setup on macOS" # x-ref c8e49ba8f8b9ce |
43 | | - if: ${{ startsWith(matrix.buildplat[0], 'macos-') == true }} |
44 | | - run: | |
45 | | - set -e pipefail |
46 | | - brew update |
47 | | - brew install automake pkg-config ninja llvm |
48 | | -
|
49 | | - - name: Build wheels |
50 | | - |
51 | | - env: |
52 | | - CIBW_BUILD_VERBOSITY: 3 |
53 | | - CIBW_ENVIRONMENT_PASS_LINUX: SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TILEDB S3_BUCKET TILEDB_TOKEN TILEDB_NAMESPACE |
54 | | - CIBW_ENVIRONMENT_MACOS: > |
55 | | - CC=clang |
56 | | - CXX=clang++ |
57 | | - MACOSX_DEPLOYMENT_TARGET: "11.0" |
58 | | - CIBW_ARCHS: all |
59 | | - CIBW_PRERELEASE_PYTHONS: True |
60 | | - CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }} |
61 | | - # __init__.py interferes with the tests and is included as local file instead of |
62 | | - # used from wheels. To be honest, tests should not be in the source folder at all. |
63 | | - CIBW_BEFORE_TEST: rm {project}/tiledb/__init__.py |
64 | | - with: |
65 | | - output-dir: wheelhouse |
66 | | - |
67 | | - - uses: actions/upload-artifact@v4 |
68 | | - with: |
69 | | - name: cibw-wheels-${{ matrix.buildplat[0] }}-${{ matrix.buildplat[1] }}-${{ matrix.python }} |
70 | | - path: "./wheelhouse/*.whl" |
71 | | - |
72 | 26 | build_sdist: |
73 | 27 | name: Build source distribution |
74 | 28 | runs-on: ubuntu-latest |
|
96 | 50 | strategy: |
97 | 51 | matrix: |
98 | 52 | os: |
99 | | - - macos-13 |
100 | | - - macos-14 |
101 | | - - windows-2022 |
102 | 53 | - ubuntu-22.04 |
103 | 54 | - linux-arm64-ubuntu24 |
104 | | - python: ["3.9", "3.10", "3.11", "3.12", "3.13"] |
| 55 | + python: ["3.12"] |
105 | 56 | runs-on: ${{ matrix.os }} |
106 | 57 | steps: |
107 | 58 | - name: Set up Python ${{ matrix.python }} |
@@ -129,37 +80,4 @@ jobs: |
129 | 80 | PROJECT_CWD=$PWD |
130 | 81 | rm tiledb/__init__.py |
131 | 82 | cd .. |
132 | | - pytest -vv --showlocals $PROJECT_CWD |
133 | | -
|
134 | | - - name: "Re-run tests without pandas" |
135 | | - run: | |
136 | | - pip uninstall -y pandas |
137 | | - pytest -vv --showlocals $PROJECT_CWD |
138 | | -
|
139 | | - upload_pypi: |
140 | | - needs: [build_wheels, test_sdist] |
141 | | - runs-on: ubuntu-latest |
142 | | - environment: pypi |
143 | | - permissions: |
144 | | - id-token: write |
145 | | - outputs: |
146 | | - package_version: ${{ steps.get_package_version.outputs.package_version }} |
147 | | - steps: |
148 | | - - uses: actions/download-artifact@v4 |
149 | | - with: |
150 | | - path: dist |
151 | | - merge-multiple: true |
152 | | - |
153 | | - - id: get_package_version |
154 | | - run: | |
155 | | - echo "package_version=$(ls dist/ | head -n 1 | cut -d - -f 2)" >> "$GITHUB_OUTPUT" |
156 | | -
|
157 | | - - name: Upload to test-pypi |
158 | | - if: inputs.test_pypi |
159 | | - uses: pypa/gh-action-pypi-publish@release/v1 |
160 | | - with: |
161 | | - repository-url: https://test.pypi.org/legacy/ |
162 | | - |
163 | | - - name: Upload to pypi |
164 | | - if: startsWith(github.ref, 'refs/tags/') |
165 | | - uses: pypa/gh-action-pypi-publish@release/v1 |
| 83 | + pytest -o log_cli=true --log-cli-level=10 $PROJECT_CWD/tiledb/tests/test_schema_evolution.py -k test_schema_evolution_drop_fixed_attribute_and_add_back_as_var_sized |
0 commit comments