diff --git a/.github/workflows/copyright-test.yml b/.github/workflows/copyright-test.yml index 64f2738c8..a28ddedde 100644 --- a/.github/workflows/copyright-test.yml +++ b/.github/workflows/copyright-test.yml @@ -20,12 +20,12 @@ jobs: if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: - python-version: '3.14' + python-version: '3.15' - name: install pints run: | diff --git a/.github/workflows/coverage-test.yml b/.github/workflows/coverage-test.yml index 17caed24d..c9d425f0d 100644 --- a/.github/workflows/coverage-test.yml +++ b/.github/workflows/coverage-test.yml @@ -20,13 +20,13 @@ jobs: if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: # Testing on version that Stan currently supports - python-version: '3.12' + python-version: '3.14' - name: install pints run: | diff --git a/.github/workflows/docs-test.yml b/.github/workflows/docs-test.yml index 50cbe7ede..da672b221 100644 --- a/.github/workflows/docs-test.yml +++ b/.github/workflows/docs-test.yml @@ -20,12 +20,12 @@ jobs: if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: - python-version: '3.14' + python-version: '3.15' - name: install pints run: | diff --git a/.github/workflows/notebook-interfaces-test.yml b/.github/workflows/notebook-interfaces-test.yml index e5fb44802..738802763 100644 --- a/.github/workflows/notebook-interfaces-test.yml +++ b/.github/workflows/notebook-interfaces-test.yml @@ -12,13 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: # Testing on version that Stan currently supports - python-version: '3.12' + python-version: '3.14' # 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/notebook-test.yml b/.github/workflows/notebook-test.yml index 8f13b2e47..145a2a411 100644 --- a/.github/workflows/notebook-test.yml +++ b/.github/workflows/notebook-test.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: - python-version: '3.14' + python-version: '3.15' - name: install pints run: | diff --git a/.github/workflows/style-test.yml b/.github/workflows/style-test.yml index d57f60e53..fbdd52e46 100644 --- a/.github/workflows/style-test.yml +++ b/.github/workflows/style-test.yml @@ -20,12 +20,12 @@ jobs: if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: - python-version: '3.14' + python-version: '3.15' - name: install pints diff --git a/.github/workflows/unit-test-os-coverage.yml b/.github/workflows/unit-test-os-coverage.yml index 333fc7988..68b8e6a7a 100644 --- a/.github/workflows/unit-test-os-coverage.yml +++ b/.github/workflows/unit-test-os-coverage.yml @@ -21,16 +21,16 @@ jobs: strategy: matrix: - os: [ubuntu-22.04, macos-latest, windows-latest] - # Note: Ubuntu 24 is checked by other tests + os: [ubuntu-24.04, macos-latest, windows-latest] + # Note: Ubuntu 26 is checked by other tests steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: - python-version: '3.14' + python-version: '3.15' - name: install pints run: | diff --git a/.github/workflows/unit-test-python-coverage.yml b/.github/workflows/unit-test-python-coverage.yml index ece4df60e..5a00b25dc 100644 --- a/.github/workflows/unit-test-python-coverage.yml +++ b/.github/workflows/unit-test-python-coverage.yml @@ -21,14 +21,14 @@ jobs: strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] # Note: Latest version is tested by coverage test and os tests steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} architecture: x64 @@ -40,7 +40,7 @@ jobs: python -m pip install . - name: install stan - if: ${{ matrix.python-version >= '3.10' && matrix.python-version < '3.13' }} + if: ${{ matrix.python-version == '3.12' || matrix.python-version >= '3.14' }} run : python -m pip install .[stan] - name: run unit tests diff --git a/.github/workflows/upload-to-pypi.yml b/.github/workflows/upload-to-pypi.yml index 4a80123f1..a19851a1e 100644 --- a/.github/workflows/upload-to-pypi.yml +++ b/.github/workflows/upload-to-pypi.yml @@ -19,12 +19,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: - python-version: '3.14' + python-version: '3.15' - name: install dependencies run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 142e81ded..852a7ae41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ All notable changes to this project will be documented in this file. ### Added ### Changed +- [#1699](https://github.com/pints-team/pints/pull/1699) PINTS is no longer tested on Python 3.9. Testing for Python 3.15 has been added. +- [#1699](https://github.com/pints-team/pints/pull/1699) PINTS is no longer tested on Ubuntu 22.04. Testing on Ubuntu 26.04 has been added. ### Deprecated ### Removed ### Fixed