diff --git a/docs/howto/develop/setup.md b/docs/howto/develop/setup.md index 6c897cbf1d69cbd7cf3937331fffcffab583ef72..332901a57c448e2258a4c4eef259f675996e55be 100644 --- a/docs/howto/develop/setup.md +++ b/docs/howto/develop/setup.md @@ -59,19 +59,19 @@ git submodule update --init ### Set up a Python environment -The NOMAD code currently targets Python 3.9. You should work in a Python virtual environment. +The NOMAD code currently requires at least Python 3.9, but we recommend using Python 3.11. You should work in a Python virtual environment. #### Pyenv If your host machine has an older version installed, -you can use [pyenv](https://github.com/pyenv/pyenv){:target="_blank"} to use Python 3.9 in parallel with your +you can use [pyenv](https://github.com/pyenv/pyenv){:target="_blank"} to use Python 3.11 in parallel with your system's Python. #### Virtualenv Create a virtual environment. It allows you to keep NOMAD and its dependencies separate from your system's Python installation. -Make sure that the virtual environment is based on Python 3.9. +Make sure that the virtual environment is based on Python 3.11. Use either the built-in `venv` module (see example) or [virtualenv](https://pypi.org/project/virtualenv/){:target="_blank"}. ```shell diff --git a/docs/tutorial/develop_plugin.md b/docs/tutorial/develop_plugin.md index f60077d022d4e8ab55381d6edc2b571d8880d7bb..d5f285406e6d7f36634480d2045ff64d72199dfc 100644 --- a/docs/tutorial/develop_plugin.md +++ b/docs/tutorial/develop_plugin.md @@ -169,7 +169,7 @@ and the "Allow GitHub Actions to create and approve pull requests" options and c ## Setting up the python environment ### Creating a virtual environment -Before we can start developing we recommend to create a virtual environment using Python 3.9 +Before we can start developing we recommend to create a virtual environment using Python 3.11 ```sh python3.11 -m venv .pyenv