From f5f7c5dd1dbf361347a756def8efad7483101f48 Mon Sep 17 00:00:00 2001 From: kratman Date: Fri, 22 Nov 2024 17:53:31 -0500 Subject: [PATCH 1/3] Release patches --- noxfile.py | 6 ++++-- pyproject.toml | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 5ab32f463f..232397deb5 100644 --- a/noxfile.py +++ b/noxfile.py @@ -252,9 +252,11 @@ def run_tests(session): set_environment_variables(PYBAMM_ENV, session=session) session.install("setuptools", silent=False) session.install("-e", ".[all,dev,jax]", silent=False) - specific_test_files = session.posargs if session.posargs else [] session.run( - "python", "-m", "pytest", *specific_test_files, "-m", "unit or integration" + "python", + "-m", + "pytest", + *(session.posargs if session.posargs else ["-m", "unit or integration"]), ) diff --git a/pyproject.toml b/pyproject.toml index 1002b86cc0..b54bdcc1e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,8 @@ dependencies = [ "pandas>=1.5.0", "pooch>=1.8.1", "posthog", + "pyyaml", + "platformdirs", ] [project.urls] From 1d052ba685106982f24f61fa6466fedb55a7cfde Mon Sep 17 00:00:00 2001 From: kratman Date: Fri, 22 Nov 2024 17:56:32 -0500 Subject: [PATCH 2/3] Add changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3005a6c16e..ad12a62363 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - Modified `quick_plot.plot` to accept a list of times and generate superimposed graphs for specified time points. ([#4529](https://github.com/pybamm-team/PyBaMM/pull/4529)) +## Bug Fixes + +- Added some dependencies which were left out of the `pyproject.toml` file ([#000](https://github.com/pybamm-team/PyBaMM/pull/0000)) + ## Breaking changes - Double-layer SEI models have been removed (with the corresponding parameters). All models assume now a single SEI layer. ([#4470](https://github.com/pybamm-team/PyBaMM/pull/4470)) From 372c3bc39ae5d2bf73ad43f3158e0eec3d1296e1 Mon Sep 17 00:00:00 2001 From: "Eric G. Kratz" Date: Fri, 22 Nov 2024 17:58:07 -0500 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad12a62363..d4cc3cc176 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ ## Bug Fixes -- Added some dependencies which were left out of the `pyproject.toml` file ([#000](https://github.com/pybamm-team/PyBaMM/pull/0000)) +- Added some dependencies which were left out of the `pyproject.toml` file ([#4602](https://github.com/pybamm-team/PyBaMM/pull/4602)) ## Breaking changes