diff --git a/CHANGELOG.md b/CHANGELOG.md index 69fd096d..715fc23e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ ## Bug Fixes + - [#165](https://github.com/pybop-team/PyBOP/issues/165) - Stores the attempted and best parameter values and the best cost for each iteration in the log attribute of the optimiser and updates the associated plots. - [#354](https://github.com/pybop-team/PyBOP/issues/354) - Fixes the calculation of the gradient in the `RootMeanSquaredError` cost. - [#347](https://github.com/pybop-team/PyBOP/issues/347) - Resets options between MSMR tests to cope with a bug in PyBaMM v23.9 which is fixed in PyBaMM v24.1. @@ -37,6 +38,15 @@ - [#270](https://github.com/pybop-team/PyBOP/pull/270) - Updates PR template. - [#91](https://github.com/pybop-team/PyBOP/issues/91) - Adds a check on the number of parameters for CMAES and makes XNES the default optimiser. +# [v24.3.1](https://github.com/pybop-team/PyBOP/tree/v24.3.1) - 2024-06-17 + +## Features + + +## Bug Fixes + +- [#369](https://github.com/pybop-team/PyBOP/pull/369) - Upper pins Numpy < 2.0 due to breaking Pints' functionality. + # [v24.3](https://github.com/pybop-team/PyBOP/tree/v24.3) - 2024-03-25 ## Features diff --git a/CITATION.cff b/CITATION.cff index 73dcce74..a14af062 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -11,5 +11,5 @@ authors: family-names: Courtier - given-names: David family-names: Howey -version: "24.3" # Update this when you release a new version +version: "24.3.1" # Update this when you release a new version repository-code: 'https://www.github.com/pybop-team/pybop' diff --git a/pyproject.toml b/pyproject.toml index 14ec41be..6d2e1b61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pybop" -version = "24.3" +version = "24.3.1" authors = [ {name = "The PyBOP Team"}, ] @@ -27,7 +27,7 @@ classifiers = [ requires-python = ">=3.9, <3.13" dependencies = [ "pybamm>=23.9", - "numpy>=1.16", + "numpy>=1.16, <2.0", "scipy>=1.3", "pints>=0.5", "bpx>=0.4", diff --git a/tests/plotting/test_plotly_manager.py b/tests/plotting/test_plotly_manager.py index fc562ff2..80bc3bb5 100644 --- a/tests/plotting/test_plotly_manager.py +++ b/tests/plotting/test_plotly_manager.py @@ -1,6 +1,6 @@ import subprocess -from distutils.spawn import find_executable from importlib.metadata import distributions +from shutil import which import numpy as np import plotly @@ -10,7 +10,7 @@ from pybop import PlotlyManager # Find the Python executable -python_executable = find_executable("python") +python_executable = which("python") @pytest.fixture(scope="session")