Development #64298
Publik - Project management #64274: montée de version django (→ 3.2 LTS)
django 3.2 vs {% skeleton_extra_placeholder %}
Début:
18 avril 2022
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Après django 2.2 il y a eu ce commit :
commit 04ac9b45a34440fa447feb6ae934687aacbfc5f4 Author: Alex Gaynor <alex.gaynor@gmail.com> Date: Tue Oct 8 22:25:20 2019 -0400 Improved performance of django.template.base.Parser. pop(0), which is used to fetch each token, is O(n) in the length of the list. By reversing the list and operating off the end, we can perform next_token(), prepend_token(), and delete_first_token() in constant time.
et comme skeleton_extra_placeholder fonctionne en partant d'une copie des tokens, le résultat produit n'est plus correct.
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a environ 2 ans
- Fichier 0001-misc-adapt-skeletontemplate-tag-for-3.2-64298.patch 0001-misc-adapt-skeletontemplate-tag-for-3.2-64298.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Sans ajouter d'exécution des tests avec 3.2 dans jenkins pour le moment, en me disant que je vais sauver la planète en attendant qu'un calendrier de bascule puisse être envisagé.
Mis à jour par Thomas Noël il y a environ 2 ans
- Statut changé de Solution proposée à Solution validée
Ack, quoique je n'ai rien vu dans le programme des Verts contre le pop(0). Un oubli, sans doute.
Mis à jour par Frédéric Péters il y a environ 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 68e707037715de67dc38e8cc4ac9c41cabd6ad7c Author: Frédéric Péters <fpeters@entrouvert.com> Date: Mon Apr 18 11:29:31 2022 +0200 misc: adapt skeletontemplate tag for 3.2 (#64298) This follows this django change: commit 04ac9b45a34440fa447feb6ae934687aacbfc5f4 Author: Alex Gaynor <alex.gaynor@gmail.com> Date: Tue Oct 8 22:25:20 2019 -0400 Improved performance of django.template.base.Parser. pop(0), which is used to fetch each token, is O(n) in the length of the list. By reversing the list and operating off the end, we can perform next_token(), prepend_token(), and delete_first_token() in constant time.
Mis à jour par Transition automatique il y a environ 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: adapt skeletontemplate tag for 3.2 (#64298)
This follows this django change:
commit 04ac9b45a34440fa447feb6ae934687aacbfc5f4
Author: Alex Gaynor <alex.gaynor@gmail.com>
Date: Tue Oct 8 22:25:20 2019 -0400