Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BAI-1591 drop python 3.8 support and standardise versioning #1793

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading