Bug #46837
installation d'une version de django-debug-toolbar plus compatible avec django 1.11
Début:
21 septembre 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
File "/home/testuser/envs/publik-env-py3/lib/python3.7/site-packages/debug_toolbar/toolbar.py", line 12, in <module> from django.urls import path ImportError: cannot import name 'path' from 'django.urls'
cf https://jenkins.entrouvert.org/job/publik-devinst/107/console
Fichiers
Révisions associées
Historique
Mis à jour par Nicolas Roche il y a plus de 3 ans
- Fichier 0001-pip-fix-django-debug-toolbar-version-46837.patch 0001-pip-fix-django-debug-toolbar-version-46837.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Nicolas Roche
- Patch proposed changé de Non à Oui
J'ai mis la 2.2 (<3)
$ pip install django-debug-toolbar== ERROR: Could not find a version that satisfies the requirement django-debug-toolbar== (from versions: 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.10.0, 0.10.1, 0.10.2, 0.11, 0.11.0, 1.0, 1.0.1, 1.1, 1.2, 1.2.1, 1.2.2, 1.3.0, 1.3.2, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.9.1, 1.10, 1.10.1, 1.11, 2.0a1, 2.0, 2.1, 2.2, 3.0a1, 3.0a2, 3.0a3, 3.0a4, 3.0)
Mis à jour par Emmanuel Cazenave il y a plus de 3 ans
Plutôt tout simplement ça :
- name: django-debug-toolbar + name: "django-debug-toolbar<3"
Mis à jour par Nicolas Roche il y a plus de 3 ans
Mis à jour par Emmanuel Cazenave il y a plus de 3 ans
- Statut changé de Solution proposée à Solution validée
Et dans le message de commit plutôt quelque chose qui dit qu'on utilise la dernière version compatible avec django 1.11 please ('fix' et 'pip' on s'en fout).
Mis à jour par Nicolas Roche il y a plus de 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 645689244fc8d9be601101ab7c178d6aa1623e80 Author: Nicolas ROCHE <nroche@entrouvert.com> Date: Mon Sep 21 15:47:50 2020 +0200 use the latest django debug toolbar version compatible with django 1.11 (#46837)
Mis à jour par Emmanuel Cazenave il y a plus de 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
use the latest django debug toolbar version compatible with django 1.11 (#46837)