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

Release v24.11.0 #4598

Merged
merged 175 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
f3faca4
Added ECM + split OCV model
parkec3 Aug 9, 2024
80428c9
Merge branch 'pybamm-team:develop' into ocvr_ecm
parkec3 Aug 9, 2024
f93e67b
pre-commit changes
parkec3 Aug 9, 2024
83239a3
style: pre-commit fixes
pre-commit-ci[bot] Aug 9, 2024
2a945f2
Added parameter objects in model
parkec3 Aug 12, 2024
3bc77c2
Merged remote into local changes
parkec3 Aug 12, 2024
dbeaeb5
still working
parkec3 Aug 13, 2024
a502d17
Merge branch 'pybamm-team:develop' into ocvr_ecm
parkec3 Aug 14, 2024
3daabce
parameter updates
parkec3 Aug 14, 2024
1fc5670
Merge branch 'pybamm-team:develop' into ocvr_ecm
parkec3 Aug 16, 2024
758175f
added tests
parkec3 Aug 16, 2024
99e3119
style: pre-commit fixes
pre-commit-ci[bot] Aug 16, 2024
b1de9d1
pre-commit
parkec3 Aug 16, 2024
84fba69
Merge branch 'ocvr_ecm' of https://github.com/parkec3/PyBaMM into ocv…
parkec3 Aug 16, 2024
3f1e7f5
added default plotting variables
parkec3 Aug 20, 2024
b4c1897
Merge branch 'pybamm-team:develop' into ocvr_ecm
parkec3 Aug 20, 2024
e4504a6
added docs
parkec3 Aug 20, 2024
9a996c4
updated for pytest and better coverage
parkec3 Aug 21, 2024
4f7fed0
added phase-dependent particle to LAM
parkec3 Aug 21, 2024
0b0171f
adding tests, still debugging
parkec3 Aug 28, 2024
ae2be71
draft graded electrodes notebook
brosaplanella Aug 28, 2024
b820e59
Merge branch 'develop' into ocvr_ecm
kratman Aug 28, 2024
719823e
added more phase-dependent pars
parkec3 Aug 29, 2024
f23ac77
updated tests and naming convention
parkec3 Sep 3, 2024
13270c2
Merge branch 'develop' into ocvr_ecm
kratman Sep 3, 2024
41f02c2
Merge branch 'pybamm-team:develop' into LAM_phases
parkec3 Sep 3, 2024
2511707
Merge pull request #4410 from pybamm-team/main
kratman Sep 3, 2024
ac93806
Remove outdated reminders (#4409)
kratman Sep 3, 2024
4786443
Merge branch 'develop' into ocvr_ecm
kratman Sep 3, 2024
3b21bf6
Move changelog update to unreleased
kratman Sep 3, 2024
3898453
Update CHANGELOG.md to include surface thermal model (#4412)
valentinsulzer Sep 3, 2024
4241246
Build(deps): bump the actions group across 1 directory with 3 updates…
dependabot[bot] Sep 4, 2024
b073fc7
Remove unnecessary `dt` checks (#4416)
MarcBerliner Sep 4, 2024
1851d9f
Merge branch 'pybamm-team:develop' into LAM_phases
parkec3 Sep 5, 2024
d01dd80
fixed phase volume fraction for reaction-driven
parkec3 Sep 5, 2024
d33d3bc
Total SEI thickness calculation added
parkec3 Sep 6, 2024
613230c
Renames `set_events` to `add_events_from` (#4421)
medha-14 Sep 6, 2024
ee325c7
docs: add medha-14 as a contributor for code (#4423)
allcontributors[bot] Sep 6, 2024
63e30d4
Updated tests to fix testing errors for new pars
parkec3 Sep 6, 2024
fb7fe35
added reaction-driven composite test
parkec3 Sep 6, 2024
d0c9ded
add graded electrodes example
brosaplanella Sep 7, 2024
d43142b
Merge branch 'develop' into graded-electrode-example
brosaplanella Sep 7, 2024
f28e687
add graded electrode notebook to index
brosaplanella Sep 7, 2024
b3aeaf1
Merge branch 'graded-electrode-example' of github.com:pybamm-team/PyB…
brosaplanella Sep 7, 2024
6c1815b
Merge pull request #4424 from pybamm-team/graded-electrode-example
valentinsulzer Sep 7, 2024
712a3ee
Merge branch 'develop' into ocvr_ecm
valentinsulzer Sep 7, 2024
10a2254
#4405 make dUdT and volume change functions of sto only (#4427)
rtimms Sep 9, 2024
0cc6f72
allow tol and inputs to be passes to get_initial_ocps (#4426)
rtimms Sep 9, 2024
1d94c3e
Updated tests, citatation for LAM phase
parkec3 Sep 9, 2024
fcbe756
chore: update pre-commit hooks (#4430)
pre-commit-ci[bot] Sep 9, 2024
b9e7d10
updated the LAM notebook and changelog
parkec3 Sep 10, 2024
80ef611
Merge branch 'develop' into LAM_phases
parkec3 Sep 10, 2024
361b094
updating to develop branch
parkec3 Sep 10, 2024
af601b1
Merge branch 'LAM_phases' of https://github.com/parkec3/PyBaMM into L…
parkec3 Sep 10, 2024
a43ab16
style: pre-commit fixes
pre-commit-ci[bot] Sep 10, 2024
7449d5d
precommit
parkec3 Sep 10, 2024
20c80b8
Merge branch 'LAM_phases' of https://github.com/parkec3/PyBaMM into L…
parkec3 Sep 10, 2024
6a8e339
fixed phase and domain thickness calcs
parkec3 Sep 11, 2024
7f263e4
Merge pull request #4369 from parkec3/LAM_phases
DrSOKane Sep 11, 2024
c2d8ac2
Migrating unittest to pytest 6 (#4354)
prady0t Sep 13, 2024
ba2aa67
Migrating unittest to pytest (Part 7) (#4431)
prady0t Sep 13, 2024
35bcb78
feat: support sensitivities for pybamm.Simulation and pybamm.Experime…
martinjrobins Sep 13, 2024
343cea4
change check_extrapolation to use t/y_event
pipliggins Sep 13, 2024
d6b213c
style: pre-commit fixes
pre-commit-ci[bot] Sep 13, 2024
6888833
add basic telemetry
valentinsulzer Sep 15, 2024
a643c7b
add posthog dependency
valentinsulzer Sep 15, 2024
c644876
ignore posthog url
valentinsulzer Sep 15, 2024
84a8a87
changelog
valentinsulzer Sep 15, 2024
cb2d075
use uuid to identify individual users
valentinsulzer Sep 15, 2024
a76aff7
reordering
valentinsulzer Sep 15, 2024
4bf6d80
add case where config is not found
valentinsulzer Sep 15, 2024
f7ec885
agriya comments and coverage
valentinsulzer Sep 16, 2024
abac35f
more no cover
valentinsulzer Sep 16, 2024
8e3eb31
Build(deps): bump github/codeql-action in the actions group (#4444)
dependabot[bot] Sep 16, 2024
05a0b24
chore: update pre-commit hooks (#4445)
pre-commit-ci[bot] Sep 16, 2024
f47c12e
Merge branch 'develop' into output_vars_extrapolation
pipliggins Sep 17, 2024
e1118ec
Update CODEOWNERS (#4452)
MarcBerliner Sep 18, 2024
48dbb68
feat: add OpenMP parallelization to IDAKLU solver for lists of input …
martinjrobins Sep 18, 2024
5bb146f
Merge branch 'develop' into ocvr_ecm
valentinsulzer Sep 19, 2024
4cda488
Merge pull request #4330 from parkec3/ocvr_ecm
valentinsulzer Sep 19, 2024
06d7ecc
Merge branch 'develop' into output_vars_extrapolation
pipliggins Sep 19, 2024
37c94f9
Add test
pipliggins Sep 19, 2024
cee2cad
update changelog
pipliggins Sep 19, 2024
7be637c
Faster (re)initialization of ODEs in `IDA` (#4453)
MarcBerliner Sep 19, 2024
b012684
Switch test to triggered event
pipliggins Sep 20, 2024
f5717ff
Merge branch 'develop' into output_vars_extrapolation
MarcBerliner Sep 20, 2024
d362c98
Merge pull request #4440 from pipliggins/output_vars_extrapolation
MarcBerliner Sep 20, 2024
18ef2b2
Build(deps): bump github/codeql-action in the actions group (#4460)
dependabot[bot] Sep 23, 2024
1b6ef03
chore: update pre-commit hooks (#4461)
pre-commit-ci[bot] Sep 23, 2024
e148006
Added __iter__ and __contains__ method to pybamm.ParameterValues (#4465)
AbhishekChaudharii Sep 25, 2024
ffad85c
docs: add AbhishekChaudharii as a contributor for test (#4467)
allcontributors[bot] Sep 25, 2024
1390ea3
Remove chemistry dep warning (#4466)
kratman Sep 25, 2024
62a7ee8
perf: refactor and speed-ups for Jax BDF Solver (#4456)
BradyPlanden Sep 26, 2024
ad0faa1
merge develop, remove autoinstall
valentinsulzer Sep 26, 2024
b6fa67a
Final pytest migration (#4443)
prady0t Sep 28, 2024
78c2410
Removing all instances of unittest (#4472)
prady0t Oct 1, 2024
5913154
Require setuptools for citations (#4478)
kratman Oct 1, 2024
5cf68bd
chore: update pre-commit hooks (#4476)
pre-commit-ci[bot] Oct 1, 2024
08e5cf2
Build(deps): bump github/codeql-action in the actions group (#4474)
dependabot[bot] Oct 1, 2024
444ecc1
Fast Hermite interpolation and observables (#4464)
MarcBerliner Oct 2, 2024
025b019
merge develop
valentinsulzer Oct 3, 2024
a41d3ab
update telemetry to opt-in
valentinsulzer Oct 3, 2024
3939e7f
remove duplicate test
valentinsulzer Oct 3, 2024
b8f588b
coverage
valentinsulzer Oct 3, 2024
2ca16ac
Fix a type issue for windows (#4486)
kratman Oct 3, 2024
2e222c6
implement timeout
valentinsulzer Oct 5, 2024
bc53572
Merge branch 'develop' into telemetry
valentinsulzer Oct 6, 2024
9751574
Fix doc failures in notebooks (#4498)
kratman Oct 7, 2024
a7d476e
Implement sodium-ion DFN (#4451)
brosaplanella Oct 7, 2024
0636e94
Build(deps): bump the actions group with 3 updates (#4499)
dependabot[bot] Oct 7, 2024
9e62b66
chore: update pre-commit hooks (#4500)
pre-commit-ci[bot] Oct 7, 2024
e4eb82a
feat: add discrete time sum expression tree node (#4501)
martinjrobins Oct 9, 2024
0efe5f6
Removes `param = self.param` to use `self.param` directly (#4494)
medha-14 Oct 10, 2024
ab0020a
More accurate `QuickPlot`s with Hermite interpolation (#4483)
MarcBerliner Oct 10, 2024
7ea74f3
Adds doc strings for attributes in `base_model` and `base_submodel` (…
medha-14 Oct 10, 2024
a34ff4e
Merge branch 'develop' into telemetry
valentinsulzer Oct 11, 2024
41ca5f6
docs: add MarcBerliner as a contributor for code, doc, and infra (#4505)
allcontributors[bot] Oct 11, 2024
974b10a
docs: add MarcBerliner as a contributor for maintenance (#4506)
allcontributors[bot] Oct 11, 2024
3bf3ea8
Fix Jax links (#4504)
kratman Oct 11, 2024
aa9a66e
Merge branch 'develop' into telemetry
kratman Oct 11, 2024
d48f8c6
Update src/pybamm/config.py
valentinsulzer Oct 12, 2024
3ee7dd0
refactor: use pytest fixtures to reduce repetition in tests (#4509)
Aswinr24 Oct 13, 2024
96d52e6
docs: add Aswinr24 as a contributor for test (#4511)
allcontributors[bot] Oct 14, 2024
f14ebed
Build(deps): bump the actions group with 3 updates (#4513)
dependabot[bot] Oct 14, 2024
e5be8a5
chore: update pre-commit hooks (#4515)
pre-commit-ci[bot] Oct 14, 2024
9eb4bc7
Replacing setUp fixture with setup_method (#4514)
prady0t Oct 15, 2024
47c165d
Add "voltage as a state" option (#4507)
rtimms Oct 15, 2024
fb81f21
Add _from_json functionality for pybamm.sign (#4517)
pipliggins Oct 15, 2024
82f7a0f
Removing the macos-12 runner (#4520)
kratman Oct 17, 2024
815bf91
10 second timeout
valentinsulzer Oct 18, 2024
47311e6
Merge branch 'telemetry' of github.com:pybamm-team/PyBaMM into telemetry
valentinsulzer Oct 18, 2024
fd567d2
Merge branch 'develop' into telemetry
valentinsulzer Oct 18, 2024
8d1e192
don't use inputimeout
valentinsulzer Oct 18, 2024
e52a406
Fix CasADI path and disable IREE for MacOS (#4528)
kratman Oct 18, 2024
1a835a4
Merge branch 'develop' into telemetry
kratman Oct 18, 2024
208ae11
docs: update param values notebook (#4531)
martinjrobins Oct 21, 2024
ed2bfec
docs: add input parameters to getting started docs (#4533)
martinjrobins Oct 21, 2024
f20a00e
chore: update pre-commit hooks (#4537)
pre-commit-ci[bot] Oct 21, 2024
164f71e
docs: describe public api in front-page of API docs (#4536)
martinjrobins Oct 22, 2024
9560875
Fix indexing bug with infeasible experiments for `IDAKLUSolver` (#4541)
MarcBerliner Oct 23, 2024
3864e5d
Allow using IDAKLU(output_variables=...) with Experiments (#4534)
pipliggins Oct 28, 2024
75d403d
Merge branch 'develop' into telemetry
valentinsulzer Oct 28, 2024
1bf5b89
add more tests for config
valentinsulzer Oct 28, 2024
aa74cfe
Build(deps): bump github/codeql-action in the actions group (#4548)
dependabot[bot] Oct 28, 2024
01a7c08
chore: update pre-commit hooks (#4549)
pre-commit-ci[bot] Oct 28, 2024
7df73c4
Merge branch 'develop' into telemetry
valentinsulzer Oct 30, 2024
b9b721f
add coupled variable to expression tree and discretisation
aabills Oct 31, 2024
f307491
add test; add coupledvariable dict to model
aabills Oct 31, 2024
65a45af
style: pre-commit fixes
pre-commit-ci[bot] Oct 31, 2024
4d638c9
pre-commit
aabills Oct 31, 2024
0d4f12d
Trigger CI
aabills Oct 31, 2024
c259bb0
add tests for coverage; valentin comments
aabills Oct 31, 2024
19a7738
Merge pull request #4556 from aabills/coupled-variable-2
valentinsulzer Nov 4, 2024
969a879
Using `tempfile` for test_symbol_visualise to remove flaky test. (#4544)
prady0t Nov 4, 2024
106c249
chore: update pre-commit hooks (#4564)
pre-commit-ci[bot] Nov 4, 2024
f4e4955
add reaction heating (#4557)
aabills Nov 4, 2024
b0382e6
Cleanup formatting in error messages (#4565)
kratman Nov 5, 2024
4a50562
docs: add sensitivities notebook (#4559)
martinjrobins Nov 5, 2024
9a479cf
Make ParameterValues.pop return a value (#4571)
kratman Nov 6, 2024
f05cae2
bug: use direct casadi bspline function for 1D & 2D cubic interp (#4572)
martinjrobins Nov 7, 2024
215252b
Merge branch 'develop' into telemetry
valentinsulzer Nov 7, 2024
0183250
coverage
valentinsulzer Nov 7, 2024
0e0936a
Build(deps): bump the actions group with 2 updates (#4574)
dependabot[bot] Nov 11, 2024
9ac0b5b
chore: update pre-commit hooks (#4575)
pre-commit-ci[bot] Nov 11, 2024
1022c6b
Merge branch 'develop' into telemetry
valentinsulzer Nov 12, 2024
0eae1a4
Merge pull request #4441 from pybamm-team/telemetry
valentinsulzer Nov 12, 2024
bf8f623
Misc. bug fixes (#4581)
kratman Nov 12, 2024
cb50363
Throw an error when concatenations have different number of children …
aabills Nov 12, 2024
4223be8
Update baseline for CasADi 3.6.7 bump (#4582)
agriyakhetarpal Nov 13, 2024
bcdd0b5
allow tol in initial voltage for setting stoichiometries (#4586)
rtimms Nov 14, 2024
36f8833
Build(deps): bump the actions group with 2 updates (#4592)
dependabot[bot] Nov 18, 2024
6dfa38e
chore: update pre-commit hooks (#4593)
pre-commit-ci[bot] Nov 18, 2024
e17b549
[Bug]: `pybamm.Simulation.set_parameters` and `pybamm.Simulation.set_…
Akhil-Sharma30 Nov 19, 2024
6c7c21a
Fix telemetry issues in wheel build and unit tests (#4591)
kratman Nov 19, 2024
97a37fd
Release 24.11.0
kratman Nov 20, 2024
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
33 changes: 32 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,8 @@
"profile": "https://github.com/AbhishekChaudharii",
"contributions": [
"doc",
"code"
"code",
"test"
]
},
{
Expand Down Expand Up @@ -960,6 +961,36 @@
"code",
"test"
]
},
{
"login": "medha-14",
"name": "Medha Bhardwaj",
"avatar_url": "https://avatars.githubusercontent.com/u/143182673?v=4",
"profile": "https://github.com/medha-14",
"contributions": [
"code"
]
},
{
"login": "MarcBerliner",
"name": "Marc Berliner",
"avatar_url": "https://avatars.githubusercontent.com/u/34451391?v=4",
"profile": "http://marcberliner.com",
"contributions": [
"code",
"doc",
"infra",
"maintenance"
]
},
{
"login": "Aswinr24",
"name": "Aswinr24",
"avatar_url": "https://avatars.githubusercontent.com/u/135364633?v=4",
"profile": "https://github.com/Aswinr24",
"contributions": [
"test"
]
}
],
"contributorsPerLine": 7,
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ src/pybamm/meshes/ @martinjrobins @rtimms @valentinsulzer @rtimms
src/pybamm/models/ @brosaplanella @DrSOKane @rtimms @valentinsulzer @TomTranter @rtimms
src/pybamm/parameters/ @brosaplanella @DrSOKane @rtimms @valentinsulzer @TomTranter @rtimms @kratman
src/pybamm/plotting/ @martinjrobins @rtimms @Saransh-cpp @valentinsulzer @rtimms @kratman @agriyakhetarpal
src/pybamm/solvers/ @martinjrobins @rtimms @valentinsulzer @TomTranter @rtimms
src/pybamm/solvers/ @martinjrobins @rtimms @valentinsulzer @TomTranter @rtimms @MarcBerliner
src/pybamm/spatial_methods/ @martinjrobins @rtimms @valentinsulzer @rtimms
src/pybamm/* @pybamm-team/maintainers # the files directly under /pybamm/, will not recurse

Expand Down
10 changes: 0 additions & 10 deletions .github/release_reminder.md

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/benchmark_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
PYBAMM_DISABLE_TELEMETRY: "true"

jobs:
benchmarks:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lychee_url_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

# use stable version for now to avoid breaking changes
- name: Lychee URL checker
uses: lycheeverse/lychee-action@v1.10.0
uses: lycheeverse/lychee-action@v2.1.0
with:
# arguments with file types to check
args: >-
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/periodic_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
# workflow manually
workflow_dispatch:

env:
PYBAMM_DISABLE_TELEMETRY: "true"

jobs:
benchmarks:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +54,7 @@ jobs:
LD_LIBRARY_PATH: $HOME/.local/lib

- name: Upload results as artifact
uses: actions/upload-artifact@v4.3.6
uses: actions/upload-artifact@v4.4.3
with:
name: asv_periodic_results
path: results
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:

# Set options available for all jobs that use cibuildwheel
env:
PYBAMM_DISABLE_TELEMETRY: "true"
# Increase pip debugging output, equivalent to `pip -vv`
CIBW_BUILD_VERBOSITY: 2
# Disable build isolation to allow pre-installing build-time dependencies.
Expand Down Expand Up @@ -75,6 +76,7 @@ jobs:
run: pipx run cibuildwheel --output-dir wheelhouse
env:
CIBW_ENVIRONMENT: >
PYBAMM_DISABLE_TELEMETRY="true"
PYBAMM_USE_VCPKG=ON
VCPKG_ROOT_DIR=C:\vcpkg
VCPKG_DEFAULT_TRIPLET=x64-windows-static-md
Expand All @@ -92,7 +94,7 @@ jobs:
python -c "import pybamm; print(pybamm.IDAKLUSolver())"
python -m pytest -m cibw {project}/tests/unit
- name: Upload Windows wheels
uses: actions/upload-artifact@v4.3.6
uses: actions/upload-artifact@v4.4.3
with:
name: wheels_windows
path: ./wheelhouse/*.whl
Expand All @@ -116,6 +118,8 @@ jobs:
- name: Build wheels on Linux
run: pipx run cibuildwheel --output-dir wheelhouse
env:
CIBW_ENVIRONMENT: >
PYBAMM_DISABLE_TELEMETRY="true"
CIBW_ARCHS_LINUX: x86_64
CIBW_BEFORE_ALL_LINUX: >
yum -y install openblas-devel lapack-devel &&
Expand All @@ -129,7 +133,7 @@ jobs:
python -m pytest -m cibw {project}/tests/unit

- name: Upload wheels for Linux
uses: actions/upload-artifact@v4.3.6
uses: actions/upload-artifact@v4.4.3
with:
name: wheels_manylinux
path: ./wheelhouse/*.whl
Expand Down Expand Up @@ -242,7 +246,9 @@ jobs:
python scripts/install_KLU_Sundials.py
python -m cibuildwheel --output-dir wheelhouse
env:
# 10.13 for Intel (macos-12/macos-13), 11.0 for Apple Silicon (macos-14 and macos-latest)
CIBW_ENVIRONMENT: >
PYBAMM_DISABLE_TELEMETRY="true"
# 10.13 for Intel (macos-13), 11.0 for Apple Silicon (macos-14 and macos-latest)
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-14' && '11.0' || '10.13' }}
CIBW_ARCHS_MACOS: auto
CIBW_BEFORE_BUILD: python -m pip install cmake casadi setuptools wheel delocate
Expand All @@ -261,7 +267,7 @@ jobs:
python -m pytest -m cibw {project}/tests/unit

- name: Upload wheels for macOS (amd64, arm64)
uses: actions/upload-artifact@v4.3.6
uses: actions/upload-artifact@v4.4.3
with:
name: wheels_${{ matrix.os }}
path: ./wheelhouse/*.whl
Expand All @@ -281,7 +287,7 @@ jobs:
run: pipx run build --sdist

- name: Upload SDist
uses: actions/upload-artifact@v4.3.6
uses: actions/upload-artifact@v4.4.3
with:
name: sdist
path: ./dist/*.tar.gz
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/release_reminder.yml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/run_benchmarks_over_history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
ncommits:
description: "Number of commits to benchmark between commit_start and commit_end"
default: "100"

env:
PYBAMM_DISABLE_TELEMETRY: "true"

jobs:
benchmarks:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -46,7 +50,7 @@ jobs:
${{ github.event.inputs.commit_start }}..${{ github.event.inputs.commit_end }}

- name: Upload results as artifact
uses: actions/upload-artifact@v4.3.6
uses: actions/upload-artifact@v4.4.3
with:
name: asv_over_history_results
path: results
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/run_periodic_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- cron: "0 3 * * *"

env:
PYBAMM_DISABLE_TELEMETRY: "true"
FORCE_COLOR: 3
PYBAMM_IDAKLU_EXPR_CASADI: ON
PYBAMM_IDAKLU_EXPR_IREE: ON
Expand All @@ -31,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-12, macos-14, windows-latest ]
os: [ ubuntu-latest, macos-13, macos-14, windows-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
name: Tests (${{ matrix.os }} / Python ${{ matrix.python-version }})

Expand All @@ -46,7 +47,7 @@ jobs:
sudo apt-get install gfortran gcc graphviz pandoc libopenblas-dev texlive-latex-extra dvipng

- name: Install macOS system dependencies
if: matrix.os == 'macos-12' || matrix.os == 'macos-14'
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_AUTO_UPDATE: 1
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:

- name: Upload coverage report
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.0.2
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
uses: actions/upload-artifact@184d73b71b93c222403b2e7f1ffebe4508014249 # v4.4.1
with:
name: SARIF file
path: results.sarif
Expand All @@ -68,6 +68,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4
with:
sarif_file: results.sarif
11 changes: 4 additions & 7 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:

env:
PYBAMM_DISABLE_TELEMETRY: "true"
FORCE_COLOR: 3
PYBAMM_IDAKLU_EXPR_CASADI: ON
PYBAMM_IDAKLU_EXPR_IREE: ON
Expand Down Expand Up @@ -36,12 +37,11 @@ jobs:
pre-commit run -a

run_unit_integration_and_coverage_tests:
needs: style
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-12, macos-14, windows-latest]
os: [ubuntu-latest, macos-13, macos-14, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
name: Tests (${{ matrix.os }} / Python ${{ matrix.python-version }})

Expand All @@ -65,7 +65,7 @@ jobs:
sudo apt-get install libopenblas-dev texlive-latex-extra dvipng

- name: Install macOS system dependencies
if: matrix.os == 'macos-12' || matrix.os == 'macos-14'
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_AUTO_UPDATE: 1
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:

- name: Upload coverage report
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.0.2
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand All @@ -132,7 +132,6 @@ jobs:

# Skips IDAKLU module compilation for speedups, which is already tested in other jobs.
run_doctests:
needs: style
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -177,7 +176,6 @@ jobs:
run: python -m nox -s docs

run_example_tests:
needs: style
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -233,7 +231,6 @@ jobs:
run: python -m nox -s examples

run_scripts_tests:
needs: style
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/work_precision_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
types: [published]
workflow_dispatch:

env:
PYBAMM_DISABLE_TELEMETRY: "true"

jobs:
benchmarks_on_release:
if: github.repository_owner == 'pybamm-team'
Expand All @@ -27,7 +30,7 @@ jobs:
python benchmarks/work_precision_sets/time_vs_reltols.py
python benchmarks/work_precision_sets/time_vs_abstols.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
delete-branch: true
branch-suffix: short-commit-hash
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ input/*

# simulation outputs
out/
config.py
matplotlibrc
*.pickle
*.sav
Expand All @@ -65,6 +64,7 @@ coverage.xml
htmlcov/

# virtual environment
.venv
env/
venv/
venv3.5/
Expand Down
3 changes: 3 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ file:///home/runner/work/PyBaMM/PyBaMM/docs/source/user_guide/fundamentals/pybam

# Errors in docs/source/user_guide/index.md
file:///home/runner/work/PyBaMM/PyBaMM/docs/source/user_guide/api_docs

# Telemetry
https://us.i.posthog.com
Loading
Loading