Skip to content

Commit ab3b7e2

Browse files
committed
Merge branch 'dev' into hotfix/tidy-test-suite
2 parents 20354d6 + 0ccccfc commit ab3b7e2

27 files changed

Lines changed: 994 additions & 608 deletions
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# <Title of Bug Fix>
2+
3+
**Issue:** Link to the issue relating to this bug.
4+
5+
**Python Version(s) Tested:** Python versions this fix has been verified against.
6+
7+
**Operating System(s):** Operating systems this fix has been tested in.
8+
9+
## 📝 Summary
10+
11+
Please provide a summary of the original bug, and the fix implemented to address it.
12+
13+
## 🔍 Diagnosis
14+
15+
If applicable, please summarise any information relating to how the bug was identified, and the root causes.
16+
17+
## 🔄 Changes
18+
19+
Provide any additional detail on the changes applied to address the issue.
20+
21+
## ✔️ Checklist
22+
- [ ] Unit and integration tests passing.
23+
- [ ] Pre-commit hooks passing.
24+
- [ ] Quality checks passing.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# <Feature Title>
2+
3+
**Issue:** Link to the issue proposing this feature.
4+
5+
**Python Version(s) Tested:** Python versions this feature has been tested on.
6+
7+
**Operating System(s):** Operating systems this feature has been tested on.
8+
9+
**Documentation PR:** Issue on [Docs repo](https://github.com/simvue-io/docs).
10+
11+
## 📝 Summary
12+
13+
Please provide a summary of the feature including why it is beneficial to other users.
14+
15+
## 🔄 Changes
16+
17+
Outline the changes/additions made to implement this feature.
18+
19+
## ✔️ Checklist
20+
- [ ] Unit and integration tests passing.
21+
- [ ] Pre-commit hooks passing.
22+
- [ ] Quality checks passing.
23+
- [ ] Updated the [documentation](https://github.com/simvue-io/docs).

‎.github/pull_request_template.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Please select from the following templates by clicking 'Preview' and then the relevant link:
2+
3+
🆕 [**Feature**](?expand=1&template=feature.md)
4+
5+
🐛 [**Bug Fix**](?expand=1&template=bug_fix.md)

‎.github/workflows/test_client_macos.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: macos-latest
1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Set up Python 3.12
19+
- name: Set up Python 3.13
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: "3.12"
22+
python-version: "3.13"
2323
- name: Install dependencies
2424
run: |
2525
rm poetry.lock

‎.github/workflows/test_client_ubuntu.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424
timeout-minutes: 30
2525
steps:
2626
- uses: actions/checkout@v4
27-
- name: Set up Python 3.12
27+
- name: Set up Python 3.13
2828
uses: actions/setup-python@v5
2929
with:
30-
python-version: "3.12"
30+
python-version: "3.13"
3131
- name: Install dependencies
3232
run: python -m pip install poetry
3333
- name: Test with pytest
3434
run: |
3535
export SIMVUE_URL=${{ secrets.SIMVUE_URL }}
3636
export SIMVUE_TOKEN=${{ secrets.SIMVUE_TOKEN }}
3737
poetry install --all-extras
38-
poetry run python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
38+
# poetry run python -m pip install torch --index-url https://download.pytorch.org/whl/cpu FIXME: PyTorch current broken for Python3.13
3939
poetry run pytest tests/ -x --cov --cov-report=xml -m 'not scenario' -c /dev/null -p no:warnings -n 0 -v
4040
- name: Upload coverage reports to Codecov
4141
run: |

‎.github/workflows/test_multiple_python.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
timeout-minutes: 30
2323
strategy:
2424
matrix:
25-
python-version: ['3.9', '3.10', '3.11']
25+
python-version: ['3.10', '3.11', '3.12']
2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Set up Python ${{ matrix.python-version }}

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
args: [--branch, main, --branch, dev]
2424
- id: check-added-large-files
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: v0.6.9
26+
rev: v0.7.2
2727
hooks:
2828
- id: ruff
2929
args: [ --fix, --exit-non-zero-on-fix, "--ignore=C901" ]

‎CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
## Unreleased
44

5+
* Add support for defining Simvue run defaults using `tool.simvue` in a project `pyproject.toml` file.
6+
* Drop support for INI based configuration files.
7+
* Retrieve all metric values if `max_points` is unspecified or set to `None`.
8+
9+
## [v1.1.1](https://github.com/simvue-io/client/releases/tag/v1.1.1) - 2024-10-22
10+
11+
* Add missing `offline.cache` key to TOML config.
12+
* Fix repetition of server URL validation for each call to configuration.
13+
14+
## [v1.1.0](https://github.com/simvue-io/client/releases/tag/v1.1.0) - 2024-10-21
15+
516
* Add option to specify a callback executed when an alert is triggered for a run.
617
* Allow retrieval of all alerts when no constraints are specified.
718
* Add carbon emissions statistics as optional metrics.

‎CITATION.cff‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ keywords:
4242
- alerting
4343
- simulation
4444
license: Apache-2.0
45-
commit: 18a0bc4b9254da39988909f0d187b0c9dab8000f
46-
version: 1.0.6
47-
date-released: '2024-10-10'
45+
commit: a475a0e3f6e48257f8d2d04d0ddf1652e2d9e924
46+
version: 1.1.1
47+
date-released: '2024-10-22'

0 commit comments

Comments
 (0)