diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe4d4446e760b1ef6a270759725ffa6ba2cd7c5e..55ef59013fcb8d31491024c17bbbfb9a707653b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: python:3.9 +image: python:3.10 services: - mysql diff --git a/INSTALL.md b/INSTALL.md index c887af92dba1d2661b5b53ef9a17041d2c1a730d..5344a998cffe2603aaaffb0583e91fb43e533c38 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -10,7 +10,7 @@ setup. ### System Requirements -* Python 3.8+ incl. development tools +* Python 3.10+ incl. development tools * Virtualenv * pdflatex & beamer class (`texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-extra texlive-luatex`) @@ -37,7 +37,7 @@ Python requirements are listed in ``requirements.txt``. They can be installed wi ### Manual Setup -1. setup a virtual environment using the proper python version ``virtualenv venv -p python3.7`` +1. setup a virtual environment using the proper python version ``virtualenv venv -p python3.10`` 1. activate virtualenv ``source venv/bin/activate`` 1. install python requirements ``pip install -r requirements.txt`` 1. setup necessary database tables etc. ``python manage.py migrate`` @@ -68,7 +68,7 @@ is not stored in any repository or similar, and disable DEBUG mode (``settings.p 1. create a folder, e.g. ``mkdir /srv/AKPlanning/`` 1. change to the new directory ``cd /srv/AKPlanning/`` 1. clone this repository ``git clone URL .`` -1. setup a virtual environment using the proper python version ``virtualenv venv -p python3.7`` +1. setup a virtual environment using the proper python version ``virtualenv venv -p python3.10`` 1. activate virtualenv ``source venv/bin/activate`` 1. update tools ``pip install --upgrade setuptools pip wheel`` 1. install python requirements ``pip install -r requirements.txt`` diff --git a/Utils/setup.sh b/Utils/setup.sh index 1c951824905e99e4650f40a562b633b92d7b8b02..6a93207d197e75da2875b31ea8e0e631e114e837 100755 --- a/Utils/setup.sh +++ b/Utils/setup.sh @@ -10,7 +10,7 @@ rm -rf venv/ # Setup Python Environment # Requires: Virtualenv, appropriate Python installation -virtualenv venv -p python3.9 +virtualenv venv -p python3.10 source venv/bin/activate pip install --upgrade setuptools pip wheel pip install -r requirements.txt