Bug #51912
migration python3 des scripts prepare-template.py
Début:
11 mars 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Vu sur #51803, un appel /usr/bin/python prepare-template.py, qui en effet ne passe pas en python 3 :
Traceback (most recent call last): File ".../templates/variants/grenoble-metropole-2019/prepare-template.py", line 47, in <module> content = content.replace(FILENAME, '') TypeError: a bytes-like object is required, not 'str'
Il peut y en avoir d'autres.
Fichiers
Révisions associées
villeurbanne-2018: make template preparation script python3 compliant (#51912)
grenoble-metropole-2019: fix template preparation script (#51912)
Historique
Mis à jour par Serghei Mihai il y a environ 3 ans
- Fichier 0001-grenoble-metropole-2019-make-template-preparation-sc.patch 0001-grenoble-metropole-2019-make-template-preparation-sc.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Adaptation pour Grenoble.
Mis à jour par Serghei Mihai il y a environ 3 ans
- Fichier 0001-villeurbanne-2018-make-template-preparation-script-p.patch 0001-villeurbanne-2018-make-template-preparation-script-p.patch ajouté
- Assigné à mis à Serghei Mihai
Et pour Villeurbanne.
Mis à jour par Paul Marillonnet il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Ok.
Mis à jour par Serghei Mihai il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit e3361ae53649b11bc5f7fbb6d8089a523a8bbf06 (origin/main) Author: Serghei Mihai <smihai@entrouvert.com> Date: Fri Mar 12 10:45:25 2021 +0100 villeurbanne-2018: make template preparation script python3 compliant (#51912) commit 3e577835bf8e356adf82797073c8bd1465636d84 Author: Serghei Mihai <smihai@entrouvert.com> Date: Thu Mar 11 14:46:31 2021 +0100 grenoble-metropole-2019: make template preparation script python3 compliant (#51912)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
grenoble-metropole-2019: make template preparation script python3 compliant (#51912)