Development #41236
compatibilité django 2.2
0%
Description
Avanti.
Fichiers
Demandes liées
Révisions associées
misc: update template loader for django 2.2 compatibility (#41236)
misc: make sure redirect URLs are real strings (#41236)
tox: test against both django 1.11 and 2.2 (#41236)
jenkins: run tests in parallel (#41236)
Historique
Mis à jour par Frédéric Péters il y a environ 4 ans
- Fichier 0004-tox-test-against-both-django-1.11-and-2.2-41236.patch 0004-tox-test-against-both-django-1.11-and-2.2-41236.patch ajouté
- Fichier 0003-misc-make-sure-redirect-URLs-are-real-strings-41236.patch 0003-misc-make-sure-redirect-URLs-are-real-strings-41236.patch ajouté
- Fichier 0002-misc-update-template-loader-for-django-2.2-compatibi.patch 0002-misc-update-template-loader-for-django-2.2-compatibi.patch ajouté
- Fichier 0001-misc-update-to-new-style-middlewares-with-compat-lay.patch 0001-misc-update-to-new-style-middlewares-with-compat-lay.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
À noter que je ne suis pas sûr de vouloir pousser la modification tox vu que ça ajoute dix minutes au job; peut-être garder ça pour le moment où la migration django 2.2 apparaitra dans notre planning.
Mis à jour par Emmanuel Cazenave il y a environ 4 ans
- Fichier 0005-jenkins-run-tests-in-parallel-41236.patch 0005-jenkins-run-tests-in-parallel-41236.patch ajouté
En option le patch ci-joint qui récupère à peu près les dix minutes perdues dont tu parles : https://jenkins.entrouvert.org/job/wcs-wip/job/wip%252F41236-django-22-parall/ (le dernier build en erreur juste pour vérifier qu'on a bien les résultats junit quand un test foire).
L'UI donne l'impression que 'Unit tests django 1.11' et 'Unit tests django 2.2' se jouent séquentiellement mais en fait non, et du coup pour voir le temps réel il faut regarder 'Average full run time'.
On peut en parler dans un autre ticket si tu préfères, quoiqu'il en soit je valide tes patchs.
Mis à jour par Emmanuel Cazenave il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 94c031e1a68f3e8291580f53793e689eae090661 Author: Emmanuel Cazenave <ecazenave@entrouvert.com> Date: Thu Apr 2 05:55:40 2020 +0200 jenkins: run tests in parallel (#41236) commit 6e5da92f76bcab321a9916dd0a9ee7644ba78e63 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed Apr 1 14:59:46 2020 +0200 tox: test against both django 1.11 and 2.2 (#41236) commit edd8d2499b5d9c3769b4b40ae41872b62b06573b Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed Apr 1 16:08:56 2020 +0200 misc: make sure redirect URLs are real strings (#41236) commit 76452b02387b5f2517d2225dd1602f9e7fa54a4c Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed Apr 1 14:58:08 2020 +0200 misc: update template loader for django 2.2 compatibility (#41236) commit e7463c49ad4aa8ef7283334242f0635c88317bb5 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Wed Apr 1 14:57:25 2020 +0200 misc: update to new style middlewares (with compat layer) (#41236)
Mis à jour par Frédéric Péters il y a environ 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Lié à Project management #49998: compatibilité django 2.2 ajouté
misc: update to new style middlewares (with compat layer) (#41236)