Project

General

Profile

Development #41236

compatibilité django 2.2

Added by Frédéric Péters 2 months ago. Updated about 2 months ago.

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

0%

Patch proposed:
Yes
Planning:
No

Description

Avanti.

0004-tox-test-against-both-django-1.11-and-2.2-41236.patch View (914 Bytes) Frédéric Péters, 01 Apr 2020 05:39 PM

0003-misc-make-sure-redirect-URLs-are-real-strings-41236.patch View (960 Bytes) Frédéric Péters, 01 Apr 2020 05:39 PM

0002-misc-update-template-loader-for-django-2.2-compatibi.patch View (1.24 KB) Frédéric Péters, 01 Apr 2020 05:39 PM

0001-misc-update-to-new-style-middlewares-with-compat-lay.patch View (3.25 KB) Frédéric Péters, 01 Apr 2020 05:39 PM

0005-jenkins-run-tests-in-parallel-41236.patch View (2.48 KB) Emmanuel Cazenave, 02 Apr 2020 09:10 AM

Associated revisions

Revision e7463c49 (diff)
Added by Frédéric Péters about 2 months ago

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

Revision 76452b02 (diff)
Added by Frédéric Péters about 2 months ago

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

Revision edd8d249 (diff)
Added by Frédéric Péters about 2 months ago

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

Revision 6e5da92f (diff)
Added by Frédéric Péters about 2 months ago

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

Revision 94c031e1 (diff)
Added by Emmanuel Cazenave about 2 months ago

jenkins: run tests in parallel (#41236)

History

#1 Updated by Frédéric Péters 2 months 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 2 months 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 2 months ago

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

#4 Updated by Frédéric Péters about 2 months 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 about 2 months ago

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

Also available in: Atom PDF