Skip to content
Snippets Groups Projects
Commit bb28337a authored by grollicus's avatar grollicus
Browse files

Merge branch 'feature/py3.11' into 'develop'

update python version to 3.11

See merge request !548
parents ffc1322c ba5a6af0
Branches
Tags
No related merge requests found
...@@ -5,7 +5,7 @@ stages: ...@@ -5,7 +5,7 @@ stages:
- publish - publish
codestyle: codestyle:
image: python:3.8-buster image: python:3.11-bullseye
stage: test stage: test
needs: [] needs: []
script: script:
...@@ -15,7 +15,7 @@ codestyle: ...@@ -15,7 +15,7 @@ codestyle:
allow_failure: true allow_failure: true
sanitycheck: sanitycheck:
image: python:3.8-buster image: python:3.11-bullseye
services: services:
- postgres:13.0 - postgres:13.0
stage: prepare stage: prepare
...@@ -143,7 +143,7 @@ test_internals: ...@@ -143,7 +143,7 @@ test_internals:
stage: test stage: test
needs: needs:
- build_test - build_test
image: python:3.8-buster image: python:3.11-bullseye
variables: variables:
FF_NETWORK_PER_BUILD: 1 FF_NETWORK_PER_BUILD: 1
POSTGRES_DB: fnord POSTGRES_DB: fnord
...@@ -207,7 +207,7 @@ test_nginx_static: ...@@ -207,7 +207,7 @@ test_nginx_static:
stage: test stage: test
needs: needs:
- build_nginx - build_nginx
image: python:3.8-buster image: python:3.11-bullseye
variables: variables:
FF_NETWORK_PER_BUILD: 1 FF_NETWORK_PER_BUILD: 1
BASE_URL: http://nginx BASE_URL: http://nginx
...@@ -269,7 +269,7 @@ deploy_develop: ...@@ -269,7 +269,7 @@ deploy_develop:
stage: publish stage: publish
needs: needs:
- publish - publish
image: python:3.8-buster image: python:3.11-bullseye
script: script:
- 'curl -X POST "$DEPLOYMENT_SERVICEWEBHOOK_URL_DEVELOP"' - 'curl -X POST "$DEPLOYMENT_SERVICEWEBHOOK_URL_DEVELOP"'
rules: rules:
...@@ -292,7 +292,7 @@ deploy_production: ...@@ -292,7 +292,7 @@ deploy_production:
stage: publish stage: publish
needs: needs:
- publish - publish
image: python:3.8-buster image: python:3.11-bullseye
script: script:
- 'curl -X POST "$DEPLOYMENT_SERVICEWEBHOOK_URL_PRODUCTION"' - 'curl -X POST "$DEPLOYMENT_SERVICEWEBHOOK_URL_PRODUCTION"'
rules: rules:
......
FROM python:3.9-bullseye as base FROM python:3.11-bullseye as base
ARG DEVELOPMENT=False ARG DEVELOPMENT=False
......
...@@ -60,7 +60,7 @@ Bietet eine von allen Seiten gemeinsam einbindbare Navigationsleiste im jeweilig ...@@ -60,7 +60,7 @@ Bietet eine von allen Seiten gemeinsam einbindbare Navigationsleiste im jeweilig
# Lokale Entwicklung # Lokale Entwicklung
Dieses Projekt basiert auf Python 3.8+ und Django 3.1+. Dieses Projekt basiert auf Python 3.11+ und Django 4.2+.
## Initiale Einrichtung ## Initiale Einrichtung
...@@ -79,7 +79,7 @@ Das Docker development image vereinfacht die initiale Einrichtung und sperrt all ...@@ -79,7 +79,7 @@ Das Docker development image vereinfacht die initiale Einrichtung und sperrt all
### Lokale Einrichtung ### Lokale Einrichtung
1. Installiere, falls noch nicht geschehen, Python in Version 3.8 (oder höher) und habe eine PostgreSQL-Datenbank zur Hand (geht potenziell auch mit sqlite aber das ist nicht getestet). Außerdem wird unter Umständen [GNU gettext](https://www.gnu.org/software/gettext/) benötigt, wenn man Übersetzungen kompilieren will. Alternativ kann auch das [docker dev image](#docker-dev-image) verwendet werden. 1. Installiere, falls noch nicht geschehen, Python in Version 3.11 (oder höher) und habe eine PostgreSQL-Datenbank zur Hand (geht potenziell auch mit sqlite aber das ist nicht getestet). Außerdem wird unter Umständen [GNU gettext](https://www.gnu.org/software/gettext/) benötigt, wenn man Übersetzungen kompilieren will. Alternativ kann auch das [docker dev image](#docker-dev-image) verwendet werden.
* Linux: Pakete `python3`, `postgresql` und `gettext` * Linux: Pakete `python3`, `postgresql` und `gettext`
* Mac: `brew install python3 postgresql gettext` bzw. https://postgresapp.com/ * Mac: `brew install python3 postgresql gettext` bzw. https://postgresapp.com/
* Windows: [latest stable Python 3 release](https://www.python.org/downloads/windows/) und [PostgreSQL Installer](https://www.postgresql.org/download/windows/) und [gettext binaries](https://mlocati.github.io/articles/gettext-iconv-windows.html) * Windows: [latest stable Python 3 release](https://www.python.org/downloads/windows/) und [PostgreSQL Installer](https://www.postgresql.org/download/windows/) und [gettext binaries](https://mlocati.github.io/articles/gettext-iconv-windows.html)
......
layout pyenv 3.11.3
layout python3 layout python3
export DJANGO_SETTINGS_MODULE=rc3platform.settings.dev export DJANGO_SETTINGS_MODULE=rc3platform.settings.dev
export DJANGO_HOST=127.0.0.1 export DJANGO_HOST=127.0.0.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment