From b8a130d2546927ec5d43f4f920ccc97cb05e2412 Mon Sep 17 00:00:00 2001 From: Thomas O'Dwyer Date: Thu, 23 Jul 2026 11:33:21 +0100 Subject: [PATCH] Update text to recommend Python v3.10+ As we have updated OpenSAFELY CLI to drop support for Python v3.8 and v3.9 https://github.com/opensafely-core/opensafely-cli/issues/280 --- docs/install-python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install-python.md b/docs/install-python.md index 3276c26c..007250b2 100644 --- a/docs/install-python.md +++ b/docs/install-python.md @@ -4,7 +4,7 @@ For security, consistency, and readability, OpenSAFELY provides an API built in [**Python**](https://www.python.org/) for using the platform. This API includes script-based functions for specifying the patients and variables that make up a study dataset (using [ehrQL](ehrql/index.md)), and command line functions for importing codelists, generating dummy data, and testing that the study definition can be run successfully on the server. -**Python version 3.7 or higher** must be installed on your machine to perform these tasks. +**Python version 3.10-3.13** must be installed on your machine to perform these tasks. Many functions are provided in a Python module called `opensafely` which will also need to be installed — see the [`opensafely` CLI section](opensafely-cli.md) for more details.