From 591bd3acd6b31cace771ca124f29de478583f2c4 Mon Sep 17 00:00:00 2001 From: Michael Clerx Date: Wed, 17 Sep 2025 19:36:21 +0100 Subject: [PATCH 1/2] Updated ubuntu and some versions used in actions --- .github/workflows/coverage-test.yml | 3 +-- .github/workflows/notebook-interfaces-test.yml | 2 +- .github/workflows/unit-test-os-coverage.yml | 4 ++-- .github/workflows/upload-to-pypi.yml | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coverage-test.yml b/.github/workflows/coverage-test.yml index 17caed24d..be445446f 100644 --- a/.github/workflows/coverage-test.yml +++ b/.github/workflows/coverage-test.yml @@ -25,8 +25,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - # Testing on version that Stan currently supports - python-version: '3.12' + python-version: '3.13' - name: install pints run: | diff --git a/.github/workflows/notebook-interfaces-test.yml b/.github/workflows/notebook-interfaces-test.yml index 56aac7745..b8b20b7f2 100644 --- a/.github/workflows/notebook-interfaces-test.yml +++ b/.github/workflows/notebook-interfaces-test.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' # We use e.g. install pints[stan] to install dependencies for interfaces # that have some code in pints/interfaces. Dependencies that are not used diff --git a/.github/workflows/unit-test-os-coverage.yml b/.github/workflows/unit-test-os-coverage.yml index 6014026be..9fb4ad5d1 100644 --- a/.github/workflows/unit-test-os-coverage.yml +++ b/.github/workflows/unit-test-os-coverage.yml @@ -21,8 +21,8 @@ jobs: strategy: matrix: - os: [ubuntu-20.04, macos-latest, windows-latest] - # Note: Ubuntu 22 is checked by other tests + os: [ubuntu-22.04, macos-latest, windows-latest] + # Note: Ubuntu 24 is checked by other tests steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/upload-to-pypi.yml b/.github/workflows/upload-to-pypi.yml index 8f3d0f0e3..50565dc48 100644 --- a/.github/workflows/upload-to-pypi.yml +++ b/.github/workflows/upload-to-pypi.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.13' - name: install dependencies run: | From 366fa33a86934e5695643a2cc1fe01785318c41d Mon Sep 17 00:00:00 2001 From: Michael Clerx Date: Wed, 17 Sep 2025 20:00:07 +0100 Subject: [PATCH 2/2] Undoing test upgrade to Python 3.13 for tests that use Stan --- .github/workflows/coverage-test.yml | 3 ++- .github/workflows/notebook-interfaces-test.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage-test.yml b/.github/workflows/coverage-test.yml index be445446f..17caed24d 100644 --- a/.github/workflows/coverage-test.yml +++ b/.github/workflows/coverage-test.yml @@ -25,7 +25,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + # Testing on version that Stan currently supports + python-version: '3.12' - name: install pints run: | diff --git a/.github/workflows/notebook-interfaces-test.yml b/.github/workflows/notebook-interfaces-test.yml index b8b20b7f2..e5fb44802 100644 --- a/.github/workflows/notebook-interfaces-test.yml +++ b/.github/workflows/notebook-interfaces-test.yml @@ -17,7 +17,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + # Testing on version that Stan currently supports + python-version: '3.12' # We use e.g. install pints[stan] to install dependencies for interfaces # that have some code in pints/interfaces. Dependencies that are not used