Project

General

Profile

Development #41236

compatibilité django 2.2

Added by Frédéric Péters over 1 year ago. Updated over 1 year ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
01 Apr 2020
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

Avanti.


Files


Related issues

Related to Publik - Project management #49998: compatibilité django 2.2Nouveau09 Jan 202131 Mar 2021

Actions

Associated revisions

Revision e7463c49 (diff)
Added by Frédéric Péters over 1 year ago

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

Revision 76452b02 (diff)
Added by Frédéric Péters over 1 year ago

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

Revision edd8d249 (diff)
Added by Frédéric Péters over 1 year ago

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

Revision 6e5da92f (diff)
Added by Frédéric Péters over 1 year ago

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

Revision 94c031e1 (diff)
Added by Emmanuel Cazenave over 1 year ago

jenkins: run tests in parallel (#41236)

History

#1

Updated by Frédéric Péters over 1 year 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 over 1 year 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 over 1 year ago

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

Updated by Frédéric Péters over 1 year 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 over 1 year ago

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

Updated by Frédéric Péters 9 months ago

Also available in: Atom PDF