diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c532e839c..f5a959748f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # [Unreleased](https://github.com/pybamm-team/PyBaMM/) +# [v24.9.0](https://github.com/pybamm-team/PyBaMM/tree/v24.9.0) - 2024-09-03 + ## Features - Added additional user-configurable options to the (`IDAKLUSolver`) and adjusted the default values to improve performance. ([#4282](https://github.com/pybamm-team/PyBaMM/pull/4282)) diff --git a/CITATION.cff b/CITATION.cff index cc2479e8f3..d128cf485e 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -24,6 +24,6 @@ keywords: - "expression tree" - "python" - "symbolic differentiation" -version: "24.5" +version: "24.9.0" repository-code: "https://github.com/pybamm-team/PyBaMM" title: "Python Battery Mathematical Modelling (PyBaMM)" diff --git a/pyproject.toml b/pyproject.toml index 34ccd05e20..7fb1a5ce95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ build-backend = "setuptools.build_meta" [project] name = "pybamm" -version = "24.5" +version = "24.9.0" license = { file = "LICENSE.txt" } description = "Python Battery Mathematical Modelling" authors = [{name = "The PyBaMM Team", email = "pybamm@pybamm.org"}] diff --git a/scripts/update_version.py b/scripts/update_version.py index 3543f0b07b..a8fd884537 100644 --- a/scripts/update_version.py +++ b/scripts/update_version.py @@ -6,9 +6,6 @@ import os import re from datetime import date -from dateutil.relativedelta import relativedelta - - import pybamm @@ -17,11 +14,7 @@ def update_version(): Opens file and updates the version number """ release_version = os.getenv("VERSION")[1:] - release_date = ( - date.today() - if "rc" in release_version - else date.today() + relativedelta(day=31) - ) + release_date = date.today() # pybamm/version.py with open( @@ -84,15 +77,7 @@ def update_version(): with open(os.path.join(pybamm.root_dir(), "CHANGELOG.md"), "r+") as file: output_list = file.readlines() output_list[0] = changelog_line1 - # add a new heading for rc0 releases - if "rc0" in release_version: - output_list.insert(2, changelog_line2) - else: - # for rcX and final releases, update the already existing rc - # release heading - for i in range(0, len(output_list)): - if re.search("[v]\d\d\.\drc\d", output_list[i]): - output_list[i] = changelog_line2[:-1] + output_list.insert(2, changelog_line2) file.truncate(0) file.seek(0) file.writelines(output_list) diff --git a/src/pybamm/version.py b/src/pybamm/version.py index edeca1094b..ca0cfd956e 100644 --- a/src/pybamm/version.py +++ b/src/pybamm/version.py @@ -1 +1 @@ -__version__ = "24.5" +__version__ = "24.9.0" diff --git a/vcpkg.json b/vcpkg.json index a4ae73f302..6c50d65524 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "pybamm", - "version-string": "24.5", + "version-string": "24.9.0", "dependencies": [ "casadi", {