Skip to content

Commit

Permalink
Merge pull request #1699 from pints-team/nopy-37
Browse files Browse the repository at this point in the history
Stopped testing 3.7, added testing on 3.12 and 3.13
  • Loading branch information
MichaelClerx authored Dec 18, 2024
2 parents 9843b64 + e7a5a0a commit d93fceb
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/copyright-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

- name: install pints
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
# Testing on version that Stan currently supports
python-version: '3.12'

- name: install pints
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

- name: install pints
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notebook-interfaces-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notebook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 pints
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'


- name: install pints
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test-os-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'

- name: install pints
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-test-python-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
# Note: Latest version is tested by coverage test and os tests

steps:
Expand All @@ -40,7 +40,7 @@ jobs:
python -m pip install .
- name: install stan
if: matrix.python-version != '3.6'
if: ${{ matrix.python-version >= '3.10' && matrix.python-version < '3.13' }}
run : python -m pip install .[stan]

- name: run unit tests
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
- [#1499](https://github.com/pints-team/pints/pull/1499) Added a log-uniform prior class.
### Changed
- [#1503](https://github.com/pints-team/pints/pull/1503) Stopped showing time units in controller logs, because the units change depending on the output type (see #1467).
- [#1699](https://github.com/pints-team/pints/pull/1699) PINTS is no longer tested on Python 3.7. Testing for Python 3.12 and 3.13 has been added.
### Deprecated
### Removed
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ def load_version():
'pystan>=3',
]
},
python_requires='>=3.7',
python_requires='>=3.8',
)

0 comments on commit d93fceb

Please sign in to comment.