Skip to content

Commit

Permalink
Update documentation to Python3.9-3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Jun 20, 2024
1 parent be7ef80 commit 129133f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
15 changes: 6 additions & 9 deletions docs/source/download.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/source/install-debug.dot
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ 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?"];
which_python [label="<which python3> points\nat <$(brew --prefix)/bin/python3>?"];

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"];
Expand Down

0 comments on commit 129133f

Please sign in to comment.