From 80c40ce257ab1da9aa31edb6ae3b62df29ad728e Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Thu, 9 Nov 2023 10:50:18 +0000 Subject: [PATCH] set Python to 3.9 --- .github/workflows/install.yml | 6 +++--- .github/workflows/publish_pypi.yml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index ce1f369095..c90cf86af9 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -7,16 +7,16 @@ on: jobs: install: name: Install distribution from source - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.9' - name: Install dependencies run: python -mpip install --upgrade wheel - name: Install Ice - run: pip install https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.2.0/zeroc_ice-3.6.5-cp38-cp38-linux_x86_64.whl + run: pip install https://github.com/ome/zeroc-ice-py-github-ci/releases/download/0.2.0/zeroc_ice-3.6.5-cp39-cp39-linux_x86_64.whl - name: Run tests run: python setup.py sdist && pip install dist/omero-web*gz - name: Test import diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 81eccda370..c0418dfdad 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -9,6 +9,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 + with: + python-version: '3.9' - name: Build a binary wheel and a source tarball run: | python -mpip install wheel