Projet

Général

Profil

Bug #67410

djangorestframework 3.9 vs nouvelle version Markdown==3.4.1

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

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

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non
Club:
Non

Description

L'import échoue de la sorte :

  File "/tmp/authentic2-wallonie-connect-679/tox-jenkins/authentic2-wallonie-connect/py3-dj22-drf39-djfilter21/lib/python3.9/site-packages/authentic2/custom_user/managers.py", line 30, in <module>
    from authentic2.attribute_kinds import clean_number
  File "/tmp/authentic2-wallonie-connect-679/tox-jenkins/authentic2-wallonie-connect/py3-dj22-drf39-djfilter21/lib/python3.9/site-packages/authentic2/attribute_kinds.py", line 40, in <module>
    from rest_framework import serializers
  File "/tmp/authentic2-wallonie-connect-679/tox-jenkins/authentic2-wallonie-connect/py3-dj22-drf39-djfilter21/lib/python3.9/site-packages/rest_framework/serializers.py", line 30, in <module>
    from rest_framework.compat import Mapping, postgres_fields, unicode_to_repr
  File "/tmp/authentic2-wallonie-connect-679/tox-jenkins/authentic2-wallonie-connect/py3-dj22-drf39-djfilter21/lib/python3.9/site-packages/rest_framework/compat.py", line 192, in <module>
    if markdown.version <= '2.2':
AttributeError: module 'markdown' has no attribute 'version'

Sur les tox qui buildent encore avec 3.9, il faut aussi limiter la version Markdown.


Demandes liées

Lié à Publik Installation Développeur - Bug #67456: erreur d'installation authentic, markdown vs djangorestframeworkFermé19 juillet 2022

Actions

Historique

#1

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

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

authentic a déjà un Markdown<3; hobo aussi. welco visiblement ne charge pas le module drf qui tente cette ligne. J'ai finalement juste modifié authentic2-wallonie-connect.

#2

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

  • Lié à Bug #67456: erreur d'installation authentic, markdown vs djangorestframework ajouté
#3

Mis à jour par Transition automatique il y a plus d'un an

Automatic expiration

Formats disponibles : Atom PDF