From 45035e154d3f76aaea1bfda1d18a628e45746ef6 Mon Sep 17 00:00:00 2001
From: Arnaud Daret <arnaud.daret@unicaen.fr>
Date: Thu, 24 Oct 2024 09:56:34 +0200
Subject: [PATCH] Update README for Debian12 + python3.9

---
 README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README.md b/README.md
index 49c05742..ddb896bb 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,20 @@ Installer les dépendances : `poetry install`
 
 Installer les hooks de pre-commit : `poetry run pre-commit install`
 
+### Debian
+
+Sur une Debian récente, python3.9 n'est plus installable.
+Possibilité d'utiliser [rye](https://rye.astral.sh/) pour le choix de la version de Python
+
+```bash
+curl -sSf https://rye.astral.sh/get | bash
+rye config --set-bool behavior.global-python=true
+rye fetch cpython@3.9.19
+poetry env use /home/$USER/.rye/py/cpython@3.9.19/bin/python3
+poetry install
+poetry run pre-commit install
+```
+
 ## Fichier `.env` à la racine du projet
 
 Créer un fichier `.env` avec les variables suivantes :
-- 
GitLab