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

Make release v24.1 #3780

Merged
merged 773 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
773 commits
Select commit Hold shift + click to select a range
d0be7ba
#3558 remove script for RPATH adjustment
agriyakhetarpal Nov 27, 2023
b9edb5c
#3558 enable comment to disable build isolation
agriyakhetarpal Nov 27, 2023
6ece7a1
Remove GOVERNANCE.md (#3565)
Saransh-cpp Nov 27, 2023
95935a0
Merge branch 'develop' into serialisation
pipliggins Nov 27, 2023
8b2cb45
#3558 cleanup jobs, skip PyPI deployment on forks
agriyakhetarpal Nov 27, 2023
4a0bbd3
#3558 cover Windows wheel job with tests
agriyakhetarpal Nov 27, 2023
c86f8fe
Merge pull request #3557 from Saransh-cpp/ruff-config
Saransh-cpp Nov 27, 2023
1b97101
Sync lower bounds with conda package
Saransh-cpp Nov 27, 2023
04f4230
Add outputs to example notebook
pipliggins Nov 28, 2023
ca63509
style: pre-commit fixes
pre-commit-ci[bot] Nov 28, 2023
df35b91
Fix ruff errors
pipliggins Nov 28, 2023
b13240c
#2188 implement evaluate at in 1D
rtimms Nov 28, 2023
25b1e75
Merge pull request #3397 from pipliggins/serialisation
martinjrobins Nov 28, 2023
1b973d3
#2188 changelog and coverage
rtimms Nov 28, 2023
566a405
#2188 merge develop
rtimms Nov 28, 2023
ebacf49
Merge pull request #3570 from Saransh-cpp/lower-bounds
Saransh-cpp Nov 28, 2023
9e82990
reverted changes from 3c59897a3ef85e0753997dbb7cc9d3e1c1814835
AbhishekChaudharii Nov 29, 2023
23d6e9a
#2188 valentin comments
rtimms Nov 29, 2023
7c5995f
value can be a 2-column array added in steps.py
AbhishekChaudharii Nov 29, 2023
53efe92
style: pre-commit fixes
pre-commit-ci[bot] Nov 29, 2023
2e202a9
#2188 merge develop
rtimms Nov 29, 2023
6120caf
#2188 debug domains
rtimms Nov 29, 2023
d421162
#2188 add 3E notebook to toctree
rtimms Nov 29, 2023
a1ae912
#2188 coverage
rtimms Nov 29, 2023
562815b
Added "parameter_info" and modified "print_parameter_info"
cringeyburger Nov 29, 2023
09f6bc8
add omega
aabills Nov 29, 2023
242c1c1
fix test failure
aabills Nov 29, 2023
65c6dcb
add youngs modulus
aabills Nov 29, 2023
d150be3
Use `next(iter())` to evaluate `casadi` search paths
agriyakhetarpal Nov 30, 2023
b260113
Merge branch 'develop' into i3558-repair-wheel
agriyakhetarpal Nov 30, 2023
5df9f8a
#3558 try to initialise IDAKLU solver instead of just importing it
agriyakhetarpal Dec 1, 2023
8274a49
pre commit command change
shubhambhar007 Dec 1, 2023
05cc754
pre commit command change
shubhambhar007 Dec 1, 2023
5a9fee1
pre commit command change
shubhambhar007 Dec 1, 2023
684bc96
added simple example and fix
Scottmar93 Dec 1, 2023
52697f2
#3558 #3100 keep equal `casadi` dependency versions
agriyakhetarpal Dec 1, 2023
8608682
#3558 #3100 Don't use a default path to search for alternative `casad…
agriyakhetarpal Dec 1, 2023
258a188
test commands
shubhambhar007 Dec 3, 2023
396c046
reverted change log
shubhambhar007 Dec 3, 2023
d9a1d94
Added docstrings and exception handling to parameter_info and print_p…
cringeyburger Dec 3, 2023
b86f58c
Added Issue 3361 to features' section of CHANGELOG.md
cringeyburger Dec 3, 2023
4e72df1
Fix bug #3543 by summing the irreversible and reversible heating term…
chmabaur Dec 4, 2023
030c99b
Run pre-commit checks that were forgotten in the last commit
chmabaur Dec 4, 2023
0176a26
reverted changes
shubhambhar007 Dec 4, 2023
f33204c
docs: update README.md [skip ci]
allcontributors[bot] Dec 5, 2023
ae288bc
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 5, 2023
b5fe6af
Merge pull request #3586 from chmabaur/issue-3543-thermal
valentinsulzer Dec 5, 2023
31e08c7
update changelog
aabills Dec 5, 2023
0fd0385
make partial molar volume also a function of temperature
aabills Dec 5, 2023
4aec7cd
Merge pull request #3588 from pybamm-team/all-contributors/add-chmabaur
valentinsulzer Dec 5, 2023
e802b11
Merge pull request #3576 from abillscmu/omega-stoich-2
valentinsulzer Dec 5, 2023
e2f8a43
Implemented "get_parameter_info" to return a dictionary of parameters…
cringeyburger Dec 5, 2023
bc7dc95
fixed T and sto order in example
Scottmar93 Dec 5, 2023
ffd36dd
Merge branch 'pybamm-team:develop' into issue_3392_improve_documentation
AbhishekChaudharii Dec 5, 2023
efba2e0
removed cccv_ode
AbhishekChaudharii Dec 5, 2023
6b6ad0d
style: pre-commit fixes
pre-commit-ci[bot] Dec 5, 2023
0aa0358
removed cccv_ode - fix
AbhishekChaudharii Dec 5, 2023
d38a8b5
Improved readability
cringeyburger Dec 5, 2023
b2848f5
#2188 changelog
rtimms Dec 5, 2023
3273471
Merge pull request #3582 from pybamm-team/minimal-example-of-lookup-t…
valentinsulzer Dec 5, 2023
cd39f6e
Merge pull request #3580 from shubhambhar007/shubham/pre_commit
Saransh-cpp Dec 5, 2023
9c85dd7
Merge pull request #3573 from pybamm-team/issue-2188-evaluate-at
rtimms Dec 5, 2023
ba23d41
#3530 add classes to handle termination
valentinsulzer Dec 6, 2023
80254cf
Merge branch 'develop' into issue-3530-custom-termination
valentinsulzer Dec 6, 2023
4fa8933
Issue 3392 improve documentation (#3474)
AbhishekChaudharii Dec 6, 2023
189bf5e
docs: add AbhishekChaudharii as a contributor for doc (#3594)
allcontributors[bot] Dec 6, 2023
32fad00
docs: add shubhambhar007 as a contributor for infra (#3595)
allcontributors[bot] Dec 6, 2023
a465ad5
#3530 docs and example
valentinsulzer Dec 6, 2023
d80aca4
#3530 test
valentinsulzer Dec 6, 2023
024f8f5
changelog
valentinsulzer Dec 6, 2023
2fc6cc5
Merge branch 'develop' into issue-3530-custom-termination
valentinsulzer Dec 6, 2023
6bcc50c
Added docstrings and modified "get_parameter_info" to store the entir…
cringeyburger Dec 6, 2023
5fb4ed2
Implemented a parameter table to print parameter info, from"print_par…
cringeyburger Dec 6, 2023
01723a5
parameter table size optimisation and code formatting
cringeyburger Dec 7, 2023
292086d
Made the parameter table dynamic and modified docstrings of "get_para…
cringeyburger Dec 7, 2023
3ab36c0
Added "get_parameter_info" and modified information about "print_para…
cringeyburger Dec 7, 2023
3f422bd
Update changelog about breaking change for Jax solver
agriyakhetarpal Dec 7, 2023
ae9a637
#3443 Add minimal docs about Windows and Python support
agriyakhetarpal Dec 7, 2023
f41be98
Merge branch 'develop' into bump-jax-jaxlib-versions
agriyakhetarpal Dec 7, 2023
9c46caf
Merge branch 'develop' into issue-3361-improve-print_parameter_info-f…
cringeyburger Dec 7, 2023
0da48b2
Update pybamm/models/base_model.py
valentinsulzer Dec 7, 2023
03878d0
#3530 fix tests and examples, try fixing docs
valentinsulzer Dec 7, 2023
2aa120e
more doctest formatting
valentinsulzer Dec 7, 2023
601e9de
configure doctest so we don't have to import pybamm
valentinsulzer Dec 8, 2023
13af373
fix accidentally removed code
valentinsulzer Dec 8, 2023
20a9492
Update pybamm/expression_tree/symbol.py
valentinsulzer Dec 8, 2023
bbb2149
Merge branch 'doctest-conf' into issue-3530-custom-termination
valentinsulzer Dec 8, 2023
d5106c7
Added documentation for filename argrument in simulation.py
AbhishekChaudharii Dec 8, 2023
f87ba02
Merge branch 'pybamm-team:develop' into issue_3392_improve_API_docume…
AbhishekChaudharii Dec 8, 2023
93c265b
Merge pull request #3600 from pybamm-team/doctest-conf
valentinsulzer Dec 8, 2023
22d1229
Merge pull request #3550 from agriyakhetarpal/bump-jax-jaxlib-versions
Saransh-cpp Dec 8, 2023
2415a72
docs
valentinsulzer Dec 8, 2023
a109848
fix docs and coverage
valentinsulzer Dec 8, 2023
1763268
Merge branch 'develop' into support-python-3.12
agriyakhetarpal Dec 8, 2023
fa679d1
try fixing docs
valentinsulzer Dec 8, 2023
3aa0892
Check coverage on 3.11 for now
agriyakhetarpal Dec 8, 2023
b647035
Ignore pytest cache
agriyakhetarpal Dec 8, 2023
d681070
Mention unavailability of `[odes]` on Python 3.12
agriyakhetarpal Dec 8, 2023
d4a8e9f
Add Python 3.12 support and trove classifier
agriyakhetarpal Dec 8, 2023
3bc79c7
Remove references to and imports of `distutils`
agriyakhetarpal Dec 8, 2023
168fcb0
Add checks revolving Python 3.12 and `[odes]`
agriyakhetarpal Dec 8, 2023
5753dbb
Update CHANGELOG to reflect Python 3.12 support
agriyakhetarpal Dec 8, 2023
99ad3d0
coverage again
valentinsulzer Dec 8, 2023
3468e08
update comment
valentinsulzer Dec 8, 2023
fe3eb65
Merge pull request #3602 from AbhishekChaudharii/issue_3392_improve_A…
valentinsulzer Dec 8, 2023
4ad2853
Merge pull request #3596 from pybamm-team/issue-3530-custom-termination
valentinsulzer Dec 8, 2023
723998d
Merge branch 'develop' into support-python-3.12
agriyakhetarpal Dec 9, 2023
61cc1c8
Fix editable installation error
agriyakhetarpal Dec 9, 2023
af26526
Modified "get_parameter_info" and "print_parameter_info" to store and…
cringeyburger Dec 10, 2023
1618199
Merge remote-tracking branch 'origin/issue-3361-improve-print_paramet…
cringeyburger Dec 10, 2023
5ccd185
Modified "get_parameter_info" and "print_parameter_info" to store and…
cringeyburger Dec 10, 2023
d365023
Updated all instances of "_parameter_info" with "get_parameter_info" …
cringeyburger Dec 10, 2023
53bedfd
Merge branch 'develop' into issue-3361-improve-print_parameter_info-f…
cringeyburger Dec 10, 2023
331fdf3
chore: update pre-commit hooks
pre-commit-ci[bot] Dec 11, 2023
e0bec2b
Merge pull request #3607 from pybamm-team/pre-commit-ci-update-config
valentinsulzer Dec 12, 2023
55a70da
Style and docstring modifications
cringeyburger Dec 12, 2023
a129e02
Bump actions/setup-python from 4 to 5 (#3608)
dependabot[bot] Dec 12, 2023
e29e75b
Added conditions to workflows to be skiped (#3616)
jlauber18 Dec 14, 2023
903323e
docs: add jlauber18 as a contributor for infra (#3619)
allcontributors[bot] Dec 14, 2023
d900a81
#3558 build SuiteSparse with INSTALL_RPATH
agriyakhetarpal Dec 14, 2023
6a9743d
#3558 Remove some unused CMake arguments
agriyakhetarpal Dec 14, 2023
29941ce
#3558 Remove SuiteSparse macOS RPATH fixer script
agriyakhetarpal Dec 14, 2023
8e59c1b
#3361 #3558 Improve caching and remove `examples/`
agriyakhetarpal Dec 14, 2023
ab6b6bd
Merge branch 'develop' into i3558-repair-wheel
agriyakhetarpal Dec 14, 2023
7f1f74f
#3558 Remove `scripts/fix_suitesparse_rpath_mac.sh`
agriyakhetarpal Dec 14, 2023
f27aa2c
Changing pyproject config
prady0t Dec 14, 2023
ff6d81c
changed string formatting using pyupgrade
prady0t Dec 14, 2023
75b58bc
added commit hash
prady0t Dec 14, 2023
ade8e7d
#3558 Set BUILD AND INSTALL RPATHs correctly
agriyakhetarpal Dec 14, 2023
58d81a7
style: pre-commit fixes
pre-commit-ci[bot] Dec 14, 2023
40a9dcf
Apply suggestions from code review
prady0t Dec 14, 2023
7e00f40
Merge branch 'pybamm-team:develop' into feat/smoothmin
kratman Dec 14, 2023
6e9b373
Update pyproject.toml
prady0t Dec 15, 2023
031d9a5
Merge pull request #3579 from prady0t/new-format-fix
Saransh-cpp Dec 15, 2023
e2d8792
docs: add prady0t as a contributor for infra (#3620)
allcontributors[bot] Dec 15, 2023
7464857
Resolve merge conflicts & merge to develop
arjxn-py Dec 16, 2023
777850c
Merge branch 'develop' into install_odes
arjxn-py Dec 16, 2023
256747c
Merge pull request #3584 from cringeyburger/issue-3361-improve-print_…
valentinsulzer Dec 16, 2023
60c6e02
Prevent separate function to install dependencies
arjxn-py Dec 17, 2023
d97df92
Bump actions/download-artifact from 3 to 4
dependabot[bot] Dec 18, 2023
b667fec
Bump actions/upload-artifact from 3 to 4
dependabot[bot] Dec 18, 2023
96b0886
fix a value error in function `electrolyte_diffusivity_Ai2020`
XuboGU Dec 19, 2023
b604201
chore: update pre-commit hooks (#3632)
pre-commit-ci[bot] Dec 19, 2023
c2be738
Unique names for artifacts
Saransh-cpp Dec 19, 2023
bcd9798
Sync artifact names with the upload action
Saransh-cpp Dec 19, 2023
463f477
Merge pull request #3531 from agriyakhetarpal/support-python-3.12
Saransh-cpp Dec 19, 2023
f365ea5
#3100 bump `vcpkg` baseline for `casadi` `3.6.4`
agriyakhetarpal Dec 19, 2023
65a9d6e
#3100 #3193 Add note for keeping `casadi` version in sync
agriyakhetarpal Dec 19, 2023
3267a4a
Merge pull request #3634 from pybamm-team/dependabot/github_actions/a…
Saransh-cpp Dec 19, 2023
96e13f1
Merge pull request #3633 from pybamm-team/dependabot/github_actions/a…
Saransh-cpp Dec 19, 2023
b32acfe
Merge pull request #3635 from XuboGU/develop
valentinsulzer Dec 19, 2023
0080c1a
docs: update README.md [skip ci]
allcontributors[bot] Dec 19, 2023
8a3e956
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Dec 19, 2023
afedace
Merge pull request #3640 from pybamm-team/all-contributors/add-XuboGU
valentinsulzer Dec 19, 2023
f2938b3
Remove initial conditions
kratman Dec 19, 2023
8581b87
Merge branch 'develop' into feat/smoothmin
kratman Dec 19, 2023
6a315fd
style: pre-commit fixes
pre-commit-ci[bot] Dec 19, 2023
0c6c5dc
Change function names
kratman Dec 19, 2023
6927fce
Fix typo
kratman Dec 19, 2023
85d930a
Merge pull request #3642 from kratman/fix/removeInitialConds
valentinsulzer Dec 19, 2023
366dcda
#3639 Fix Python CI by pre-installing `setuptools`
agriyakhetarpal Dec 20, 2023
86e0e15
#3639 fix some more doctests failures
agriyakhetarpal Dec 20, 2023
c8266ed
Check for shell files directly
arjxn-py Dec 20, 2023
1943aa5
Merge pull request #3645 from agriyakhetarpal/fix-python-3.12-ci
valentinsulzer Dec 20, 2023
7177160
Merge branch 'pybamm-team:develop' into feat/smoothmin
kratman Dec 20, 2023
503f896
Improved error handling by raising TypeError when a str is passed to …
AbhishekChaudharii Dec 21, 2023
ae05b4f
style: pre-commit fixes
pre-commit-ci[bot] Dec 21, 2023
e4f4af3
Merge branch 'develop' into i3558-repair-wheel
agriyakhetarpal Dec 21, 2023
a04fce6
#3646 fix parallel level, set environment variable
agriyakhetarpal Dec 21, 2023
3dc8c8c
#3646 set parallel variable for `build_ext` (IDAKLU)
agriyakhetarpal Dec 21, 2023
7e72c38
Merge pull request #3396 from kratman/feat/smoothmin
valentinsulzer Dec 21, 2023
139e34d
#3646 set parallel jobs for `pybamm_install_odes`
agriyakhetarpal Dec 22, 2023
971ef8a
#3646 set parallel jobs for `install_sundials.sh`
agriyakhetarpal Dec 22, 2023
4979598
Merge branch 'develop' into install_odes
arjxn-py Dec 22, 2023
7e0cc70
Add note to avoid installation failure
arjxn-py Dec 22, 2023
fade900
improved type hinting and used annotations
AbhishekChaudharii Dec 22, 2023
c14ed01
Merge branch 'pybamm-team:develop' into casadi-windows-wheels
agriyakhetarpal Dec 22, 2023
6f50b40
Updated docstrings to be in line with the type hints added
AbhishekChaudharii Dec 23, 2023
15e0597
Add note for path validation
arjxn-py Dec 23, 2023
6221017
Apply suggestions from code review
arjxn-py Dec 23, 2023
b8eaaab
Rename file & suggested fixes
arjxn-py Dec 23, 2023
4e1dbec
Set `CMAKE_BUILD_PARALLEL_LEVEL`
arjxn-py Dec 23, 2023
e770c92
Fix broken doctree due to rename
arjxn-py Dec 23, 2023
2a97c7c
Fix configurations and adhere to scientific python guidelines
Saransh-cpp Dec 23, 2023
a704571
List wheel as a build-dep, cleanup tabs v/s spaces
Saransh-cpp Dec 23, 2023
758a052
Move to ruff format
Saransh-cpp Dec 23, 2023
c60fd50
Fix config
Saransh-cpp Dec 23, 2023
2027181
add try with finally block
shubhambhar007 Dec 23, 2023
d2edbca
Ignore F821 for lithium-plating.ipynb
Saransh-cpp Dec 23, 2023
60ebd41
Format everything
Saransh-cpp Dec 23, 2023
d8eedf1
Migrate to ruff-format
Saransh-cpp Dec 23, 2023
da51644
review
shubhambhar007 Dec 23, 2023
34d3e6b
Fix title underline
arjxn-py Dec 23, 2023
e766cca
Fix table malformation
arjxn-py Dec 23, 2023
96d63de
Add non-fixable link to `.lycheeignore`
arjxn-py Dec 23, 2023
691057f
Merge pull request #3654 from Saransh-cpp/repo-review-1
Saransh-cpp Dec 23, 2023
8dc0421
Merge pull request #3656 from Saransh-cpp/ruff-format
Saransh-cpp Dec 24, 2023
6ca2f9b
Merge develop
agriyakhetarpal Dec 24, 2023
dddea9c
Merge branch 'develop' into install_odes
arjxn-py Dec 24, 2023
430c86f
style: pre-commit fixes
pre-commit-ci[bot] Dec 24, 2023
6aa6685
Apply suggestions from code review
arjxn-py Dec 24, 2023
9fd0cfd
chore: update pre-commit hooks (#3663)
pre-commit-ci[bot] Dec 25, 2023
ee64eaf
ignore internal nbmake warnings - pytest (notebook tests) (#3665)
Saransh-cpp Dec 27, 2023
ed3f741
Merge branch 'pybamm-team:develop' into install_odes
agriyakhetarpal Dec 27, 2023
7110cac
import jax.extended
prady0t Dec 31, 2023
995d7e3
Use distinct names for macOS and Linux wheel artifacts (#3677)
agriyakhetarpal Jan 1, 2024
c24383c
Update license copyright year(s) (#3673)
github-actions[bot] Jan 1, 2024
be2c348
docs: update README.md [skip ci]
allcontributors[bot] Jan 3, 2024
7ca862a
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 3, 2024
1c1bcdd
Merge pull request #3680 from pybamm-team/all-contributors/add-Abhish…
rtimms Jan 3, 2024
ad3b816
Merge pull request #3671 from prady0t/fix-jax
kratman Jan 3, 2024
56b3386
Merge pull request #3650 from AbhishekChaudharii/issue_3623
kratman Jan 3, 2024
1d2bf31
Merge develop again
agriyakhetarpal Jan 3, 2024
c2b19ed
Fix formatting
kratman Jan 3, 2024
6d88e91
Merge pull request #3681 from kratman/fix/formatDevelop
kratman Jan 3, 2024
4fe3e00
Merge develop yet again
agriyakhetarpal Jan 3, 2024
79fa0b8
Merge branch 'develop' into i3558-repair-wheel
agriyakhetarpal Jan 3, 2024
0218ac4
style: pre-commit fixes
pre-commit-ci[bot] Jan 3, 2024
3bd05c4
Merge pull request #3655 from shubhambhar007/shubham/doctests
kratman Jan 3, 2024
ca74358
Update JAX Imports
cringeyburger Jan 3, 2024
b2e852e
Merge pull request #3684 from cringeyburger/issue-3683-update-jax-imp…
agriyakhetarpal Jan 3, 2024
c02b8eb
docs: update README.md [skip ci]
allcontributors[bot] Jan 3, 2024
ccc72a6
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Jan 3, 2024
d46cbe3
Merge pull request #3686 from pybamm-team/all-contributors/add-cringe…
agriyakhetarpal Jan 4, 2024
3bf9084
Degradation example update (#3691)
DrSOKane Jan 5, 2024
738cd57
Use `python -m pip` invocation instead
agriyakhetarpal Jan 5, 2024
9017c21
#3646 set CMake parallelism for Windows wheels
agriyakhetarpal Jan 6, 2024
632bcec
#3646 Use `os.cpu_count` rather than processor affinity
agriyakhetarpal Jan 6, 2024
051e233
Merge pull request #3569 from agriyakhetarpal/i3558-repair-wheel
Saransh-cpp Jan 6, 2024
0369f0c
Merge pull request #3637 from agriyakhetarpal/casadi-windows-wheels
Saransh-cpp Jan 6, 2024
0b87513
Merge pull request #3417 from arjxn-py/install_odes
Saransh-cpp Jan 6, 2024
c602d7c
Bump to v24.1rc0
Saransh-cpp Jan 1, 2024
82f04dc
Fix up `pytest` minversion
agriyakhetarpal Jan 1, 2024
0182ab1
Fix regex for version in pyproject.toml
Saransh-cpp Jan 1, 2024
09632a2
Fix release issue tag
Saransh-cpp Jan 1, 2024
d978f6f
Use quotes
Saransh-cpp Jan 1, 2024
17a4494
Update wheel_failure.md
Saransh-cpp Jan 1, 2024
0580f06
Fix YAML
Saransh-cpp Jan 1, 2024
89b9420
Fix docs about Jax solver compatibility with Python versions (#3702)
agriyakhetarpal Jan 12, 2024
6ddd47e
Merge pull request #3706 from agriyakhetarpal/fix-pybamm-install-odes
agriyakhetarpal Jan 12, 2024
f22f547
#3690 fix issue with skipped steps (#3708)
rtimms Jan 15, 2024
adda336
#3611 use actual cell volume for average total heating (#3707)
rtimms Jan 16, 2024
a4be1a3
Improve the release workflow (#3737)
Saransh-cpp Jan 17, 2024
b84f7ad
Bump to v24.1rc1
Saransh-cpp Jan 17, 2024
cf43cfd
#3630 fix interpolant shape error (#3761)
rtimms Jan 24, 2024
7d83dc1
Bump to v24.1rc2
Saransh-cpp Jan 24, 2024
7cdb5ef
Bump to v24.1
Saransh-cpp Jan 29, 2024
5200e3b
Resolve conflicts
Saransh-cpp Jan 29, 2024
e0ac58a
Fix doctests failures in scheduled tests (#3784)
agriyakhetarpal Jan 30, 2024
e29dcc0
Resolve broken `scikits.odes` installation on self-hosted M-series ru…
agriyakhetarpal Jan 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
87 changes: 86 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
"login": "wigging",
"name": "Gavin Wiggins",
"avatar_url": "https://avatars.githubusercontent.com/u/6828967?v=4",
"profile": "https://wigging.me",
"profile": "https://gavinw.me",
"contributions": [
"bug",
"code"
Expand Down Expand Up @@ -708,6 +708,91 @@
"contributions": [
"infra"
]
},
{
"login": "Agnik7",
"name": "Agnik Bakshi",
"avatar_url": "https://avatars.githubusercontent.com/u/77234005?v=4",
"profile": "https://github.com/Agnik7",
"contributions": [
"doc"
]
},
{
"login": "RuiheLi",
"name": "RuiheLi",
"avatar_url": "https://avatars.githubusercontent.com/u/84007676?v=4",
"profile": "https://github.com/RuiheLi",
"contributions": [
"code",
"test"
]
},
{
"login": "chmabaur",
"name": "chmabaur",
"avatar_url": "https://avatars.githubusercontent.com/u/127507466?v=4",
"profile": "https://github.com/chmabaur",
"contributions": [
"bug",
"code"
]
},
{
"login": "AbhishekChaudharii",
"name": "Abhishek Chaudhari",
"avatar_url": "https://avatars.githubusercontent.com/u/91185083?v=4",
"profile": "https://github.com/AbhishekChaudharii",
"contributions": [
"doc",
"code"
]
},
{
"login": "shubhambhar007",
"name": "Shubham Bhardwaj",
"avatar_url": "https://avatars.githubusercontent.com/u/32607282?v=4",
"profile": "https://github.com/shubhambhar007",
"contributions": [
"infra"
]
},
{
"login": "jlauber18",
"name": "Jonathan Lauber",
"avatar_url": "https://avatars.githubusercontent.com/u/28939653?v=4",
"profile": "https://github.com/jlauber18",
"contributions": [
"infra"
]
},
{
"login": "prady0t",
"name": "Pradyot Ranjan",
"avatar_url": "https://avatars.githubusercontent.com/u/99216956?v=4",
"profile": "https://github.com/prady0t",
"contributions": [
"infra"
]
},
{
"login": "XuboGU",
"name": "XuboGU",
"avatar_url": "https://avatars.githubusercontent.com/u/53944452?v=4",
"profile": "https://github.com/XuboGU",
"contributions": [
"code",
"bug"
]
},
{
"login": "cringeyburger",
"name": "Ankit Meda",
"avatar_url": "https://avatars.githubusercontent.com/u/121183876?v=4",
"profile": "https://github.com/cringeyburger",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
Expand Down
3 changes: 0 additions & 3 deletions .coveragerc

This file was deleted.

6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
a63e49ece0f9336d1f5c2562f7459e555c6e6693
# activated standard pre-commits - https://github.com/pybamm-team/PyBaMM/pull/3192
5273214b585c5a4286609aed40e0b092d0e05f42
# migrated config to pyproject.toml - https://github.com/pybamm-team/PyBaMM/pull/3557
12c5d77203bd93542785d237bac00bad5ed5469a
# activated pyupgrade - https://github.com/pybamm-team/PyBaMM/pull/3579
ff6d81c01331c7d269303b4a8321d9881bdf98fa
# migrated to ruff-format - https://github.com/pybamm-team/PyBaMM/pull/3655
60ebd4148059a95428a496f4f55c1175ead362d3
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ updates:
directory: "/"
schedule:
interval: "weekly"
# group updates in a single PR
groups:
actions:
patterns:
- "*"
2 changes: 1 addition & 1 deletion .github/release_reminder.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create {{ date | date('YY.MM') }} (final or rc0) release
labels: priority:high
labels: "priority: high"
---
Quarterly reminder to create a -

Expand Down
23 changes: 12 additions & 11 deletions .github/release_workflow.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release workflow

This file contains the workflow required to make a `PyBaMM` release on GitHub and PyPI by the maintainers.
This file contains the workflow required to make a `PyBaMM` release on GitHub, PyPI, and conda-forge by the maintainers.

## rc0 releases (automated)

Expand All @@ -9,8 +9,8 @@ This file contains the workflow required to make a `PyBaMM` release on GitHub an
- `pybamm/version.py`
- `docs/conf.py`
- `CITATION.cff`
- `pyproject.toml`
- `vcpkg.json`
- `docs/_static/versions.json`
- `CHANGELOG.md`

These changes will be automatically pushed to a new branch `vYY.MM` and a PR from `vvYY.MM` to `develop` will be created (to sync the branches).
Expand All @@ -21,9 +21,9 @@ This file contains the workflow required to make a `PyBaMM` release on GitHub an

## rcX releases (manual)

If a new release candidate is required after the release of `rc0` -
If a new release candidate is required after the release of `rc{X-1}` -

1. Fix a bug in `vYY.MM` (no new features should be added to `vYY.MM` once `rc0` is released) and `develop` individually.
1. Cherry-pick the bug fix (no new features should be added to `vYY.MM` once `rc{X-1}` is released) commit to `vYY.MM` branch once the fix is merged into `develop`. The CHANGELOG entry for such fixes should go under the `rc{X-1}` heading in `CHANGELOG.md`

2. Run `update_version.yml` manually while using `append_to_tag` to specify the release candidate version number (`rc1`, `rc2`, ...).

Expand All @@ -32,11 +32,11 @@ If a new release candidate is required after the release of `rc0` -
- `pybamm/version.py`
- `docs/conf.py`
- `CITATION.cff`
- `pyproject.toml`
- `vcpkg.json`
- `docs/_static/versions.json`
- `CHANGELOG.md`

These changes will be automatically pushed to the existing `vYY.MM` branch and a PR from `vvYY.MM` to `develop` will be created (to sync the branches).
These changes will be automatically pushed to the existing `vYY.MM` branch and a PR will be created to update version strings in `develop`.

4. Create a new GitHub _pre-release_ with the same tag (`vYY.MMrcX`) from the `vYY.MM` branch and a description copied from `CHANGELOG.md`.

Expand All @@ -53,11 +53,11 @@ Once satisfied with the release candidates -
- `pybamm/version.py`
- `docs/conf.py`
- `CITATION.cff`
- `pyproject.toml`
- `vcpkg.json`
- `docs/_static/versions.json`
- `CHANGELOG.md`

These changes will be automatically pushed to the existing `vYY.MM` branch and a PR from `vvYY.MM` to `develop` will be created (to sync the branches).
These changes will be automatically pushed to the existing `vYY.MM` branch and a PR will be created to update version strings in `develop`.

3. Next, a PR from `vYY.MM` to `main` will be generated that should be merged once all the tests pass.

Expand All @@ -70,10 +70,11 @@ Once satisfied with the release candidates -
Some other essential things to check throughout the release process -

- If updating our custom vcpkg registory entries [pybamm-team/sundials-vcpkg-registry](https://github.com/pybamm-team/sundials-vcpkg-registry) or [pybamm-team/casadi-vcpkg-registry](https://github.com/pybamm-team/casadi-vcpkg-registry) (used to build Windows wheels), make sure to update the baseline of the registories in vcpkg-configuration.json to the latest commit id.
- Update jax and jaxlib to the latest version in `pybamm.util` and `setup.py`, fixing any bugs that arise
- Make sure the URLs in `docs/_static/versions.json` are valid
- Update jax and jaxlib to the latest version in `pybamm.util` and `pyproject.toml`, fixing any bugs that arise
- As the release workflow is initiated by the `release` event, it's important to note that the default `GITHUB_REF` used by `actions/checkout` during the checkout process will correspond to the tag created during the release process. Consequently, the workflows will consistently build PyBaMM based on the commit associated with this tag. Should new commits be introduced to the `vYY.MM` branch, such as those addressing build issues, it becomes necessary to manually update this tag to point to the most recent commit -
```
git tag -f <tag_name> <commit_hash>
git push origin <tag_name> # can only be carried out by the maintainers
git push -f <pybamm-team/PyBaMM_remote_name> <tag_name> # can only be carried out by the maintainers
```
- If changes are made to the API, console scripts, entry points, new optional dependencies are added, support for major Python versions is dropped or added, or core project information and metadata are modified at the time of the release, make sure to update the `meta.yaml` file in the `recipe/` folder of the [conda-forge/pybamm-feedstock](https://github.com/conda-forge/pybamm-feedstock) repository accordingly by following the instructions in the [conda-forge documentation](https://conda-forge.org/docs/maintainer/updating_pkgs.html#updating-the-feedstock-repository) and re-rendering the recipe
- The conda-forge release workflow will automatically be triggered following a stable PyPI release, and the aforementioned updates should be carried out directly in the main repository by pushing changes to the automated PR created by the conda-forge-bot. A manual PR can also be created if the updates are not included in the automated PR for some reason. This manual PR **must** bump the build number in `meta.yaml` and **must** be from a personal fork of the repository.
2 changes: 1 addition & 1 deletion .github/wheel_failure.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Fortnightly build for wheels failed
labels: priority:high, bug
labels: "priority: high, bug"
---

The build is failing with the following logs - {{ env.LOGS }}
2 changes: 1 addition & 1 deletion .github/workflows/benchmark_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Build and push Docker images to Docker Hub

on:
workflow_dispatch:
push:
branches:
- develop

jobs:
build_docker_images:
# This workflow is only of value to PyBaMM and would always be skipped in forks
if: github.repository_owner == 'pybamm-team'
name: Image (${{ matrix.build-args }})
runs-on: ubuntu-latest
strategy:
matrix:
build-args: ["No solvers", "JAX", "ODES", "IDAKLU", "ALL"]
fail-fast: true

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Create tags for Docker images based on build-time arguments
id: tags
run: |
if [ "${{ matrix.build-args }}" = "No solvers" ]; then
echo "tag=latest" >> "$GITHUB_OUTPUT"
elif [ "${{ matrix.build-args }}" = "JAX" ]; then
echo "tag=jax" >> "$GITHUB_OUTPUT"
elif [ "${{ matrix.build-args }}" = "ODES" ]; then
echo "tag=odes" >> "$GITHUB_OUTPUT"
elif [ "${{ matrix.build-args }}" = "IDAKLU" ]; then
echo "tag=idaklu" >> "$GITHUB_OUTPUT"
elif [ "${{ matrix.build-args }}" = "ALL" ]; then
echo "tag=all" >> "$GITHUB_OUTPUT"
fi

- name: Build and push Docker image to Docker Hub (${{ matrix.build-args }})
uses: docker/build-push-action@v5
with:
context: .
file: scripts/Dockerfile
tags: pybamm/pybamm:${{ steps.tags.outputs.tag }}
push: true
platforms: linux/amd64, linux/arm64

- name: List built image(s)
run: docker images
5 changes: 5 additions & 0 deletions .github/workflows/lychee_url_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,18 @@ jobs:
--accept 200,429
--exclude-path ./CHANGELOG.md
--exclude-path ./scripts/update_version.py
--exclude-path asv.conf.json
--exclude-path docs/conf.py
'./**/*.rst'
'./**/*.md'
'./**/*.py'
'./**/*.ipynb'
'./**/*.json'
'./**/*.toml'
# fail the action on broken links
fail: true
jobSummary: true
format: markdown
env:
# to be used in case rate limits are surpassed
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
12 changes: 6 additions & 6 deletions .github/workflows/periodic_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand All @@ -48,9 +48,9 @@ jobs:
LD_LIBRARY_PATH: $HOME/.local/lib

- name: Upload results as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: asv_new_results
name: asv_periodic_results
path: results

publish-results:
Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand All @@ -73,9 +73,9 @@ jobs:
token: ${{ secrets.BENCH_PAT }}

- name: Download results artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: asv_new_results
name: asv_periodic_results
path: new_results

- name: Copy new results and push to pybamm-bench repo
Expand Down
Loading
Loading