From 216eecff41372f2ec9375491b680ff87c393ecbd Mon Sep 17 00:00:00 2001 From: Felix Blanke <info@fblanke.de> Date: Fri, 31 May 2024 01:36:46 +0200 Subject: [PATCH] Bump python version to 3.10 --- .gitlab-ci.yml | 2 +- INSTALL.md | 6 +++--- Utils/setup.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe4d4446..55ef5901 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 c887af92..5344a998 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 1c951824..6a93207d 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 -- GitLab