diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 7b70d5bdc9..349a45cc6f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,7 +3,7 @@ # The devcontainer should use the build target and run as root with podman # or docker with user namespaces. # -FROM python:3.8 as build +FROM python:3.9 as build ARG PIP_OPTIONS @@ -24,7 +24,7 @@ WORKDIR /context # install python package into /venv RUN pip install ${PIP_OPTIONS} -FROM python:3.8-slim as runtime +FROM python:3.9-slim as runtime # Add apt-get system dependecies for runtime here if needed diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index 33dd22da8c..77dd8f9132 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -29,12 +29,12 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] # can add windows-latest, macos-latest - python: ["3.9", "3.10", "3.11"] + python: ["3.10", "3.11"] install: ["-e .[dev]"] # Make one version be non-editable to test both paths of version code include: - os: "ubuntu-latest" - python: "3.8" + python: "3.9" install: ".[dev]" runs-on: ${{ matrix.os }} diff --git a/docs/developer/how-to/pin-requirements.rst b/docs/developer/how-to/pin-requirements.rst index 97784060c4..e42226fbcf 100644 --- a/docs/developer/how-to/pin-requirements.rst +++ b/docs/developer/how-to/pin-requirements.rst @@ -46,7 +46,7 @@ of the dependencies and sub-dependencies with pinned versions. You can download any of these files by clicking on them. It is best to use the one that ran with the lowest Python version as this is more likely to be compatible with all the versions of Python in the test matrix. -i.e. ``requirements-test-ubuntu-latest-3.8.txt`` in this example. +i.e. ``requirements-test-ubuntu-latest-3.9.txt`` in this example. Applying the lock file ---------------------- diff --git a/docs/developer/tutorials/dev-install.rst b/docs/developer/tutorials/dev-install.rst index 13e029d5f4..59f16a919b 100644 --- a/docs/developer/tutorials/dev-install.rst +++ b/docs/developer/tutorials/dev-install.rst @@ -16,7 +16,7 @@ Install dependencies -------------------- You can choose to either develop on the host machine using a `venv` (which -requires python 3.8 or later) or to run in a container under `VSCode +requires python 3.9 or later) or to run in a container under `VSCode `_ .. tab-set:: diff --git a/docs/user/tutorials/installation.rst b/docs/user/tutorials/installation.rst index beb9aa2677..4b19a17614 100644 --- a/docs/user/tutorials/installation.rst +++ b/docs/user/tutorials/installation.rst @@ -9,7 +9,7 @@ Installation Check your version of python ---------------------------- -You will need python 3.8 or later. You can check your version of python by +You will need python 3.9 or later. You can check your version of python by typing into a terminal:: $ python3 --version diff --git a/pyproject.toml b/pyproject.toml index d921d02291..5417400b88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ name = "ophyd_async" classifiers = [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: BSD License", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -27,7 +26,7 @@ dependencies = [ dynamic = ["version"] license.file = "LICENSE" readme = "README.rst" -requires-python = ">=3.8" +requires-python = ">=3.9" [project.optional-dependencies] ca = ["aioca>=1.6"] diff --git a/tests/core/_device/_backend/test_sim.py b/tests/core/_device/_backend/test_sim.py index bbb37b7a26..a7459b9429 100644 --- a/tests/core/_device/_backend/test_sim.py +++ b/tests/core/_device/_backend/test_sim.py @@ -8,7 +8,7 @@ import pytest from bluesky.protocols import Reading -from ophyd_async.core import SignalBackend, SimSignalBackend, Signal, T +from ophyd_async.core import Signal, SignalBackend, SimSignalBackend, T class MyEnum(str, Enum):