Projet

Général

Profil

Bug #55625

erreur d'import avec dernier authentic

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
16 juillet 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Même affaire que #55623,

  File "/home/fred/src/eo/authentic2-auth-fedict/src/authentic2_auth_fedict/authenticators.py", line 24, in <module>
    from authentic2.utils import redirect_to_login
ImportError: cannot import name 'redirect_to_login' from 'authentic2.utils' (/home/fred/src/eo/authentic/src/authentic2/utils/__init__.py)

Révisions associées

Révision ae793753 (diff)
Ajouté par Frédéric Péters il y a plus de 2 ans

trivial: update import to fit old and new authentic function location (#55625)

Historique

#1

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

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

try/except ImportError parce qu'il n'y a pas de gestion de branche stable pour ce module, c'est toujours la dernière version qui est tirée lors du build de l'image docker d'imio.

commit ae7937538a258befe1d065ef4168bac5b3bd64c5
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Fri Jul 16 08:07:40 2021 +0200

    trivial: update import to fit old and new authentic function location (#55625)
#2

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

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF