From 455674052e5710049c6d2f636883ea38371b8fff Mon Sep 17 00:00:00 2001 From: "Eric G. Kratz" Date: Fri, 22 Nov 2024 18:14:58 -0500 Subject: [PATCH] Fix dependenices (#4602) * Release patches * Add changelog * Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ noxfile.py | 6 ++++-- pyproject.toml | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3005a6c16e..d4cc3cc176 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 ([#4602](https://github.com/pybamm-team/PyBaMM/pull/4602)) + ## 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)) 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]