From ec49b4b90acc520642f31cf46c108e052d06aedb Mon Sep 17 00:00:00 2001 From: Dominic Oram Date: Wed, 28 Aug 2024 10:57:15 +0100 Subject: [PATCH] Fix minor issues with pyproject.toml --- pyproject.toml | 7 ++----- tests/unit_tests/hyperion/device_setup_plans/test_utils.py | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9fa2ada0d..88d1719de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ dependencies = [ "scanspec", "scipy", "semver", + "matplotlib", # # These dependencies may be issued as pre-release versions and should have a pin constraint # as by default pip-install will not upgrade to a pre-release. @@ -51,22 +52,18 @@ dependencies = [ dynamic = ["version"] license.file = "LICENSE" readme = "README.rst" -requires-python = ">=3.10" +requires-python = ">=3.11" [project.optional-dependencies] dev = [ - "black", "black", "build", "copier", "diff-cover", "GitPython", "ipython", - "matplotlib", - "mockito", "mypy", "myst-parser", - "ophyd-async", "pipdeptree", "pre-commit", "pydata-sphinx-theme>=0.12", diff --git a/tests/unit_tests/hyperion/device_setup_plans/test_utils.py b/tests/unit_tests/hyperion/device_setup_plans/test_utils.py index 29adbf73d..79001655d 100644 --- a/tests/unit_tests/hyperion/device_setup_plans/test_utils.py +++ b/tests/unit_tests/hyperion/device_setup_plans/test_utils.py @@ -49,7 +49,7 @@ def my_plan(): @pytest.fixture() def null_plan(): - return bps.null() + yield from bps.null() def test_given_shutter_open_fails_then_eiger_disarmed_and_correct_exception_returned(