openfun / richie

:pencil: An opensource CMS to build education portals
https://richie.education
MIT License
256 stars 80 forks source link

⬆️(backend) upgrade to python 3.11 #2396

Closed jonathanreveille closed 1 month ago

jonathanreveille commented 1 month ago

The application was running in python 3.10, it was about time to upgrade it into python 3.11.

In this upgrade, we have upgraded the cookiecutter folder with the version of python to 3.11.

Purpose

Upgrading the application to python 3.11 Make bootstrap works. When using the slim version of python:3.11-slim-bookworm, the command who failed saying that there is an issue with the package : setuptools-scm>=8.0. I've tried to take the heavier version, and make bootstrap works like a charm.

Proposal

Must wait for this PR to be merged before merging this one.

Version of Docker image for python 3.11 :