From a016b9d90af75e26c594c79f10d99523ef67b14b Mon Sep 17 00:00:00 2001 From: John Kerl Date: Fri, 15 Mar 2024 11:12:57 -0400 Subject: [PATCH] [python/ci] Complete 3.8 -> 3.11 work (#2278) * [python/ci] Complete 3.8 -> 3.11 work * Use a Python 3.11 Docker image for smoke test --- .github/workflows/python-packaging.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-packaging.yml b/.github/workflows/python-packaging.yml index 13c8fc9733..1668190cbf 100644 --- a/.github/workflows/python-packaging.yml +++ b/.github/workflows/python-packaging.yml @@ -135,7 +135,7 @@ jobs: set -x ls -lR ls -lR wheels-* - WHL=$(find . -name 'tiledbsoma-*-cp38-cp38-*${{ matrix.platform }}*_${{ matrix.arch }}.whl') + WHL=$(find . -name 'tiledbsoma-*-cp311-cp311-*${{ matrix.platform }}*_${{ matrix.arch }}.whl') if [ -z "$WHL" ]; then echo "No wheel found"; exit 1; fi unzip -l $WHL pip install wheel @@ -145,11 +145,9 @@ jobs: run: python -c 'import tiledbsoma; print(tiledbsoma.pytiledbsoma.__file__); tiledbsoma.show_package_versions()' # TODO: more thorough local smoke test - name: Smoke test in docker - # Repeat test in stock ubuntu 20.04 docker image. This uses an older pip - # version with the old dependency solver. see issue #1051 if: ${{ matrix.platform == 'manylinux2014' }} run: | - docker run -v $(pwd):/mnt ubuntu:20.04 bash -ec " + docker run -v $(pwd):/mnt python:3.11 bash -ec " apt-get -qq update && apt-get install -y python3-pip python3-wheel pip3 install /mnt/$WHL python3 -c 'import tiledbsoma; print(tiledbsoma.pytiledbsoma.__file__); tiledbsoma.show_package_versions()'