Skip to content

Commit

Permalink
Merge pull request #1793 from gchq/BAI-1591-remove-python-3.8-support
Browse files Browse the repository at this point in the history
BAI-1591 drop python 3.8 support and standardise versioning
  • Loading branch information
PE39806 authored Jan 28, 2025
2 parents a8e65a5 + e493a6d commit bfb3caf
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion backend/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Documentation is rendered with Sphinx and served [here](https://gchq.github.io/B

<!-- prettier-ignore-start -->
> [!IMPORTANT]
> Python 3.8.1 or higher is required
> Python 3.9 or higher is required
<!-- prettier-ignore-end -->
#### Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/notebooks/access_requests_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)."
]
},
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/notebooks/datacards_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)."
]
},
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/notebooks/experiment_tracking_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand Down
4 changes: 2 additions & 2 deletions backend/docs/notebooks/schemas_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)."
]
},
Expand Down Expand Up @@ -134,7 +134,7 @@
" json_schema=json_schema\n",
")\n",
"\n",
"schema_id = schema.schema_id "
"schema_id = schema.schema_id"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion lib/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ A simple Python API Wrapper for Bailo

<!-- prettier-ignore-start -->
> [!IMPORTANT]
> Python 3.8.1 or higher is required
> Python 3.9 or higher is required
<!-- prettier-ignore-end -->
```bash
Expand Down
4 changes: 2 additions & 2 deletions lib/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bfb3caf

Please sign in to comment.