diff --git a/CHANGELOG.md b/CHANGELOG.md index c2a453c15..94800d008 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ ## Bug Fixes +# [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 11ce822fd..a14af062e 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -11,5 +11,5 @@ authors: family-names: Courtier - given-names: David family-names: Howey -version: "23.12" # 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 17fbf7b71..20c1e73bb 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"}, ] @@ -19,7 +19,7 @@ classifiers = [] requires-python = ">=3.8, <3.13" dependencies = [ "pybamm>=23.5", - "numpy>=1.16", + "numpy>=1.16, <2.0", "scipy>=1.3", "pints>=0.5", ] diff --git a/tests/plotting/test_plotly_manager.py b/tests/plotting/test_plotly_manager.py index fc562ff2f..80bc3bb58 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")