From 129133f02659e1f935502e780828f53ebe1292f1 Mon Sep 17 00:00:00 2001 From: Jack Betteridge Date: Thu, 20 Jun 2024 11:52:17 +0100 Subject: [PATCH] Update documentation to Python3.9-3.12 --- docs/source/download.rst | 15 ++++++--------- docs/source/install-debug.dot | 4 ++-- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/docs/source/download.rst b/docs/source/download.rst index d10fa49900..e47591e33d 100644 --- a/docs/source/download.rst +++ b/docs/source/download.rst @@ -107,18 +107,15 @@ packages can be installed into an existing Firedrake installation using System requirements ------------------- -Firedrake requires Python 3.8.x to 3.11.x. On MacOS Arm (M1 or M2) Python 3.9.x -to 3.11.x is required. Many externally managed dependencies such as VTK -have yet to create binary wheels for 3.11.x, but we have generated these -for the major supported platforms. -The installation script is tested on Ubuntu and MacOS X. On Ubuntu 22.04 -or later, the system installed Python 3 is supported and tested. On -MacOS, the homebrew_ installed Python 3 is supported:: +Firedrake requires Python 3.9 to 3.12. The installation script is +tested by CI on Ubuntu 24.04 LTS. On Ubuntu 22.04 or later, the system +installed Python 3 is supported. On MacOS, the homebrew_ installed +Python 3 is supported:: brew install python3 Installation is likely to work well on other Linux platforms, although -the script may stop to ask you to install some dependency packages. +the script may fail if dependency packages are not already installed. Installation on other Unix platforms may work but is untested. On Linux systems that do not use the Debian package management system, it will be necessary to pass the `--no-package-manager` option to the install @@ -129,7 +126,7 @@ they have the system dependencies: * A Fortran compiler (for PETSc) * Blas and Lapack * Git, Mercurial -* Python version 3.8.x-3.11.x (3.9.x-3.11.x on MacOS Arm) +* Python version 3.9-3.12 * The Python headers * autoconf, automake, libtool * CMake diff --git a/docs/source/install-debug.dot b/docs/source/install-debug.dot index f9ee8d5949..a043a0cded 100644 --- a/docs/source/install-debug.dot +++ b/docs/source/install-debug.dot @@ -8,7 +8,7 @@ digraph triage { venv_activated [label="venv activated?"]; install_script_up_to_date [label="Install script\nup to date?"]; using_anaconda [label="Using\nAnaconda?"]; - python_version [label="Python <3.8?"]; + python_version [label="Python <3.9?"]; using_macos [label="Using\nMacOS?"]; using_homebrew [label="Using\nHomebrew?"]; url_error [label="URL Error with SSL\ncertificate failure?"]; @@ -16,7 +16,7 @@ digraph triage { activate_venv [label="Activate the\nvenv first."]; uninstall_anaconda [label="Deactivate\nAnaconda."]; - update_python [label="Get Python 3.8-3.11"]; + update_python [label="Get Python 3.9-3.12"]; update_install_script [label="Fetch new\ninstall script"]; get_homebrew [label="Use Homebrew."]; brew_doctor [label="brew doctor"];