Projet

Général

Profil

Development #41236

compatibilité django 2.2

Ajouté par Frédéric Péters il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
01 avril 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Avanti.


Fichiers


Demandes liées

Lié à Publik - Project management #49998: compatibilité django 2.2Fermé09 janvier 202131 mars 2021

Actions

Révisions associées

Révision e7463c49 (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

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

Révision 76452b02 (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

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

Révision edd8d249 (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

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

Révision 6e5da92f (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

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

Révision 94c031e1 (diff)
Ajouté par Emmanuel Cazenave il y a environ 4 ans

jenkins: run tests in parallel (#41236)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 4 ans

À 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

Mis à jour par Emmanuel Cazenave il y a environ 4 ans

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

Mis à jour par Emmanuel Cazenave il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée
#4

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)
#5

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
#6

Mis à jour par Frédéric Péters il y a plus de 3 ans

Formats disponibles : Atom PDF