diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index a8eb68471..c02fbc9d8 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.11'] + python-version: ['3.9', '3.11'] steps: - uses: actions/checkout@v4 diff --git a/backend/Dockerfile b/backend/Dockerfile index f8991f465..b9a94a313 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM python:3.13.1-bullseye AS sphinx-docs +FROM python:3.12.8-bullseye AS sphinx-docs RUN apt update && apt install -y pandoc diff --git a/backend/Dockerfile.dev b/backend/Dockerfile.dev index b419fe982..295ea386d 100644 --- a/backend/Dockerfile.dev +++ b/backend/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM python:3.13.1-bullseye AS sphinx-docs +FROM python:3.12.8-bullseye AS sphinx-docs RUN apt update && apt install -y pandoc diff --git a/backend/docs/README.md b/backend/docs/README.md index 13d56c845..1c1127cad 100644 --- a/backend/docs/README.md +++ b/backend/docs/README.md @@ -33,7 +33,7 @@ Documentation is rendered with Sphinx and served [here](https://gchq.github.io/B > [!IMPORTANT] -> Python 3.8.1 or higher is required +> Python 3.9 or higher is required #### Prerequisites diff --git a/backend/docs/notebooks/access_requests_demo.ipynb b/backend/docs/notebooks/access_requests_demo.ipynb index 9574736a1..e28b30de6 100644 --- a/backend/docs/notebooks/access_requests_demo.ipynb +++ b/backend/docs/notebooks/access_requests_demo.ipynb @@ -22,7 +22,7 @@ "\n", "Prerequisites:\n", "\n", - "* Python 3.8.1 or higher (including a notebook environment for this demo).\n", + "* Python 3.9 or higher (including a notebook environment for this demo).\n", "* A local or remote Bailo service (see https://github.com/gchq/Bailo)." ] }, diff --git a/backend/docs/notebooks/datacards_demo.ipynb b/backend/docs/notebooks/datacards_demo.ipynb index 7ae0ad8d2..ac54bc215 100644 --- a/backend/docs/notebooks/datacards_demo.ipynb +++ b/backend/docs/notebooks/datacards_demo.ipynb @@ -20,7 +20,7 @@ "\n", "Prerequisites:\n", "\n", - "* Python 3.8.1 or higher (including a notebook environment for this demo).\n", + "* Python 3.9 or higher (including a notebook environment for this demo).\n", "* A local or remote Bailo service (see https://github.com/gchq/Bailo)." ] }, diff --git a/backend/docs/notebooks/experiment_tracking_demo.ipynb b/backend/docs/notebooks/experiment_tracking_demo.ipynb index 1b34b0825..f3afd7fa8 100644 --- a/backend/docs/notebooks/experiment_tracking_demo.ipynb +++ b/backend/docs/notebooks/experiment_tracking_demo.ipynb @@ -23,7 +23,7 @@ "Prerequisites:\n", "\n", "* Completion of the basic notebooks, in particular **models_and_releases_demo_pytorch.ipynb**.\n", - "* Python 3.8.1 or higher (including a notebook environment for this demo).\n", + "* Python 3.9 or higher (including a notebook environment for this demo).\n", "* A local or remote Bailo service (see https://github.com/gchq/Bailo).\n", "* Dependencies for MLFlow.\n", "* A local or remote MLFlow Tracking server, if following the MLFlow steps.\n" diff --git a/backend/docs/notebooks/models_and_releases_demo_pytorch.ipynb b/backend/docs/notebooks/models_and_releases_demo_pytorch.ipynb index 988efe5ab..838742833 100644 --- a/backend/docs/notebooks/models_and_releases_demo_pytorch.ipynb +++ b/backend/docs/notebooks/models_and_releases_demo_pytorch.ipynb @@ -23,7 +23,7 @@ "\n", "Prerequisites:\n", "\n", - "* Python 3.8.1 or higher (including a notebook environment for this demo).\n", + "* Python 3.9 or higher (including a notebook environment for this demo).\n", "* A local or remote Bailo service (see https://github.com/gchq/Bailo).\n" ] }, diff --git a/backend/docs/notebooks/schemas_demo.ipynb b/backend/docs/notebooks/schemas_demo.ipynb index e4eee22fc..93f88cc1a 100644 --- a/backend/docs/notebooks/schemas_demo.ipynb +++ b/backend/docs/notebooks/schemas_demo.ipynb @@ -20,7 +20,7 @@ "\n", "Prerequisites:\n", "\n", - "* Python 3.8.1 or higher (including a notebook environment for this demo).\n", + "* Python 3.9 or higher (including a notebook environment for this demo).\n", "* A local or remote Bailo service (see https://github.com/gchq/Bailo)." ] }, @@ -134,7 +134,7 @@ " json_schema=json_schema\n", ")\n", "\n", - "schema_id = schema.schema_id " + "schema_id = schema.schema_id" ] }, { diff --git a/lib/python/README.md b/lib/python/README.md index 33207a877..34fc5ba7d 100644 --- a/lib/python/README.md +++ b/lib/python/README.md @@ -44,7 +44,7 @@ A simple Python API Wrapper for Bailo > [!IMPORTANT] -> Python 3.8.1 or higher is required +> Python 3.9 or higher is required ```bash diff --git a/lib/python/pyproject.toml b/lib/python/pyproject.toml index 301d8f182..777a68d53 100644 --- a/lib/python/pyproject.toml +++ b/lib/python/pyproject.toml @@ -12,10 +12,10 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.11", ] -requires-python = ">=3.8.1" +requires-python = ">=3.9" dynamic = ["version"] dependencies = [ "semantic-version==2.10.0",