Projet

Général

Profil

Bug #11232

jenkins en erreur, TypeError: can only concatenate list (not "tuple") to list

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
07 juin 2016
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/var/lib/jenkins/jobs/welco/workspace/welco/settings.py", line 103, in <module>
    STATICFILES_FINDERS = global_settings.STATICFILES_FINDERS + ('gadjo.finders.XStaticFinder',)
TypeError: can only concatenate list (not "tuple") to list

depuis https://jenkins.entrouvert.org/job/welco/350/

Révisions associées

Révision 1878d612 (diff)
Ajouté par Thomas Noël il y a presque 8 ans

Django < 1.9 in requirements.txt (target is Django 1.8) (#11232)

Révision 5a68d5e7 (diff)
Ajouté par Thomas Noël il y a presque 8 ans

Django < 1.9 in setup.py (target is Django 1.8) (#11232)

Historique

#1

Mis à jour par Thomas Noël il y a presque 8 ans

je pense que c'est lié à l'utilisation de Django-1.9.6

#2

Mis à jour par Thomas Noël il y a presque 8 ans

--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-Django>=1.7
+Django>=1.7, <1.9

?

#3

Mis à jour par Frédéric Péters il y a presque 8 ans

Non, <1.9, on vise 1.8.

#4

Mis à jour par Thomas Noël il y a presque 8 ans

Ouaip j'avais corrigé mon commentaire en douce.

J'ai poussé < 1.9

commit 1878d612ab19f02c9ff56196c09587c93d2ce3be
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Tue Jun 7 12:29:31 2016 +0200

    Django < 1.9 in requirements.txt (target is Django 1.8) (#11232)

diff --git a/requirements.txt b/requirements.txt
index a0e41da..f91c907 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-Django>=1.7
+Django>=1.7, <1.9
 gadjo
 django-select2
 django-ckeditor<4.5.3
#5

Mis à jour par Thomas Noël il y a presque 8 ans

  • Statut changé de Nouveau à Résolu (à déployer)
  • Patch proposed changé de Non à Oui
#6

Mis à jour par Thomas Noël il y a presque 8 ans

Oublié dans setup.py, et c'était lui qui comptait via le pip de jenkins.sh ...

commit 5a68d5e7bc6f0bfa3eb4abb0c4ea7863af5a5347
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Tue Jun 7 13:42:39 2016 +0200

    Django < 1.9 in setup.py (target is Django 1.8) (#11232)

diff --git a/setup.py b/setup.py
index cabfa7a..940e08b 100644
--- a/setup.py
+++ b/setup.py
@@ -97,7 +97,7 @@ setup(
         'Programming Language :: Python',
         'Programming Language :: Python :: 2',
     ],
-    install_requires=['django>=1.7',
+    install_requires=['django>=1.7, <1.9',
         'gadjo',
         'django-select2',
         'django-ckeditor<4.5.3',

#7

Mis à jour par Benjamin Dauvergne il y a environ 6 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF