Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test on Python 3.10 #1439

Merged
merged 4 commits into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/copyright-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Set up Python
uses: actions/setup-python@v2

- name: install pints
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/coverage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Set up Python
uses: actions/setup-python@v2

- name: install pints
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Set up Python
uses: actions/setup-python@v2

- name: install pints
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/notebook-interfaces-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Set up Python
uses: actions/setup-python@v2

# 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
7 changes: 2 additions & 5 deletions .github/workflows/notebook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Set up Python
uses: actions/setup-python@v2

- name: install pints
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/style-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Set up Python
uses: actions/setup-python@v2

- name: install pints
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/unit-test-os-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Set up Python
uses: actions/setup-python@v2

- 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,13 +21,13 @@ jobs:

strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v1

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/upload-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Set up Python
uses: actions/setup-python@v2

- name: install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ All notable changes to this project will be documented in this file.
- [#1417](https://github.com/pints-team/pints/pull/1417) Added a module `toy.stochastic` for stochastic models. In particular, `toy.stochastic.MarkovJumpModel` implements Gillespie's algorithm for easier future implementation of stochastic models.

### Changed
- [#1439](https://github.com/pints-team/pints/pull/1439), [#1433](https://github.com/pints-team/pints/pull/1433) PINTS is no longer tested on Python 3.5. Testing for Python 3.10 has been added.
- [#1435](https://github.com/pints-team/pints/pull/1435) The optional Stan interface now uses (and requires) pystan 3 or newer. The ``update_data`` method has been remove (model compilation is now cached so that there is no performance benefit to using this method).
- [#1433](https://github.com/pints-team/pints/pull/1433) PINTS is no longer tested on Python 3.5.
- [#1424](https://github.com/pints-team/pints/pull/1424) Fixed a bug in PSO that caused it to use more particles than advertised.
- [#1424](https://github.com/pints-team/pints/pull/1424) xNES, SNES, PSO, and BareCMAES no longer use a `TriangleWaveTransform` to handle rectangular boundaries (this was found to lead to optimisers diverging in some cases).

Expand Down