Project

General

Profile

Développement #41236

compatibilité django 2.2

Added by Frédéric Péters almost 5 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normal
Target version:
-
Start date:
01 April 2020
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

Avanti.


Files


Related issues

Related to Publik - Gestion de projet #49998: compatibilité django 2.2Fermé09 January 202131 March 2021

Actions

Associated revisions

Revision e7463c49 (diff)
Added by Frédéric Péters almost 5 years ago

misc: update to new style middlewares (with compat layer) (#41236)

Revision 76452b02 (diff)
Added by Frédéric Péters almost 5 years ago

misc: update template loader for django 2.2 compatibility (#41236)

Revision edd8d249 (diff)
Added by Frédéric Péters almost 5 years ago

misc: make sure redirect URLs are real strings (#41236)

Revision 6e5da92f (diff)
Added by Frédéric Péters almost 5 years ago

tox: test against both django 1.11 and 2.2 (#41236)

Revision 94c031e1 (diff)
Added by Emmanuel Cazenave almost 5 years ago

jenkins: run tests in parallel (#41236)

History

#1

Updated by Frédéric Péters almost 5 years ago

À 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.

#2

Updated by Emmanuel Cazenave almost 5 years ago

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.

#3

Updated by Emmanuel Cazenave almost 5 years ago

  • Status changed from Solution proposée to Solution validée
#4

Updated by Frédéric Péters almost 5 years ago

  • Status changed from Solution validée to 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)
#5

Updated by Frédéric Péters almost 5 years ago

  • Status changed from Résolu (à déployer) to Solution déployée
#6

Updated by Frédéric Péters about 4 years ago

Also available in: Atom PDF