Projet

Général

Profil

Bug #6637

Fails to run with python 2.6

Ajouté par Frédéric Péters il y a environ 9 ans. Mis à jour il y a plus de 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
Début:
08 mars 2015
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:

Description

Setting up python-eopayment (0.0.22.18.g6801e39-1~eob70+1) ...
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/dist-packages/eopayment/__init__.py', 34, 45, '    return {backend: get_backend(backend) for backend in __BACKENDS}\n'))

SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/dist-packages/eopayment/ogone.py', 511, 49, '        params = {key.upper(): params[key][0] for key in params}\n'))

Fichiers

Historique

#1

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

I thought we decided we only targeted python 2.7 now, anyway here is the patch.

#2

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

Well, having python2.6-minimal installed on the servers, even if not the default python installation, caused that failure.

#3

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

Ok, there is maybe something doable in the control file to limit setup to python 2.7, until we find it I'll refrain from using python 2.7 features.

#4

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

I think I can push then :)

#5

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

  • Statut changé de Nouveau à Solution déployée
#6

Mis à jour par Benjamin Dauvergne il y a plus de 8 ans

  • Assigné à mis à Benjamin Dauvergne
  • Version cible mis à 1.2

Formats disponibles : Atom PDF