From 53229087bca960c5ef46757ef06517aa5b9326bf Mon Sep 17 00:00:00 2001 From: Fischer Leander Date: Fri, 20 Dec 2024 04:56:51 -0600 Subject: [PATCH 1/3] Fix ubuntu version to 22.04 in python test environment setup. --- .github/workflows/pythonpackage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 7bbc687a1..b9138e1c8 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -12,7 +12,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: python-version: ['3.8', '3.10'] From 2ae079bac6aaa9666edd5af1d656262fc9ac10ee Mon Sep 17 00:00:00 2001 From: Fischer Leander Date: Fri, 20 Dec 2024 07:17:00 -0600 Subject: [PATCH 2/3] Try using python 3.9, but keeping latest ubuntu version. --- .github/workflows/pythonpackage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index b9138e1c8..4813847d4 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -12,10 +12,10 @@ on: jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.10'] + python-version: ['3.9', '3.10'] steps: - uses: actions/checkout@v2 From d01c3ea2b2b16fe3f0589f2978aeefca8c6f78c8 Mon Sep 17 00:00:00 2001 From: Fischer Leander Date: Fri, 20 Dec 2024 07:54:52 -0600 Subject: [PATCH 3/3] Try keeping latest ubunut and python 3.8, but change to newer checkout/setup verions. --- .github/workflows/pythonpackage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 4813847d4..e77af8d88 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10'] + python-version: ['3.8', '3.10'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies