Skip to content

Commit a234899

Browse files
jp-darkihnorton
andauthored
Fix python packaging on release-2.2 branch (#4347)
* Fix python packaging CI failure 1. numba no longer provides binaries for intel macos. * pin old version of numba on macos intel jobs * skip macos-intel Python 13 smoke screen 2. linux aarch64 wheels are failing * remove skip for auto-downloading aarch64 tiledb binaries (legacy from when these weren't yet provided) * Update .github/workflows/python-packaging.yml Co-authored-by: Isaiah Norton <[email protected]> --------- Co-authored-by: Isaiah Norton <[email protected]>
1 parent a4c4983 commit a234899

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/python-packaging.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
with:
5858
name: sdist
5959
path: apis/python/dist/
60+
- name: Install older version of numba to prevent building from source on osx-64 (no wheels for numba 0.63+)
61+
if: ${{ matrix.os == 'macos-15-intel' }}
62+
run: pip install numba==0.60.0
6063
- name: Install sdist artifact
6164
working-directory: apis/python
6265
run: |
@@ -176,18 +179,22 @@ jobs:
176179
python_version: "3.12"
177180
- python_name: "cp313"
178181
python_version: "3.13"
182+
exclude:
183+
- os: macos-15-intel
184+
python_version: 3.13
179185
fail-fast: false
180186
steps:
181187
- name: Set up Python ${{ matrix.python_version }}
182188
uses: actions/setup-python@v5
183189
with:
184190
python-version: ${{ matrix.python_version }}
185-
186191
- name: Download artifacts
187192
uses: actions/download-artifact@v4
188193
with:
189194
name: wheel-${{ matrix.python_name }}-${{ matrix.platform }}
190-
195+
- name: Install numba to prevent building from source
196+
if: ${{ matrix.os == 'macos-15-intel' }}
197+
run: pip install numba==0.60.0
191198
- name: Install wheel
192199
run: |
193200
set -x
@@ -199,11 +206,8 @@ jobs:
199206
pip install wheel
200207
pip install $WHL
201208
echo "WHL=$WHL" >> $GITHUB_ENV
202-
203209
- name: Smoke test ${{ matrix.os }}
204210
run: python -c 'import tiledbsoma; print(tiledbsoma.pytiledbsoma.__file__); tiledbsoma.show_package_versions()'
205-
# TODO: more thorough local smoke test
206-
207211
- name: Smoke test in docker
208212
if: ${{ matrix.os == 'ubuntu-24.04' }}
209213
run: |

scripts/bld

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ if [ "${build}" != "Release" ] && [ -z "${tiledb}" ]; then
4343
extra_opts+=" -DDOWNLOAD_TILEDB_PREBUILT=OFF"
4444
fi
4545

46-
if [ "$(uname -m)" == "aarch64" ]; then
47-
# build TileDB from source on arm
48-
extra_opts+=" -DDOWNLOAD_TILEDB_PREBUILT=OFF"
49-
fi
50-
51-
5246

5347
# NOTE: set to true to debug the cmake build
5448
if [ "$cmake_verbose" = "true" ]; then

0 commit comments

Comments
 (0)