Project

General

Profile

Bug #103023

crash des tests sur une debian Trixie ; sur scrutiny/wsgi/middleware.py : ModuleNotFoundError: No module named 'pkg_resources'

Added by Thomas Noël about 1 month ago. Updated about 1 month ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
Start date:
06 March 2025
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

En cherchant à lancer des tests sur ma machine (debian trixie, python 3.13) :

...
  File "/home/thomas/src/hobo/hobo/scrutiny/wsgi/middleware.py", line 4, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
nox > Session tests(django4, multitenant) failed.

Il faudrait sans doute passer à autre chose que pkg_resources (qui n'existe plus depuis python 3.12)

Associated revisions

Revision c5a0ba78 (diff)
Added by Frédéric Péters about 1 month ago

misc: use importlib.metadata to get module versions (#103023)

Revision e1719dc7 (diff)
Added by Frédéric Péters about 1 month ago

scrutiny: remove long-gone modules (#103023)

History

#1

Updated by Frédéric Péters about 1 month ago

  • Assignee set to Frédéric Péters
#2

Updated by Robot Gitea about 1 month ago

  • Status changed from Nouveau to En cours

Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :

#3

Updated by Robot Gitea about 1 month ago

  • Status changed from En cours to Solution proposée
#4

Updated by Robot Gitea about 1 month ago

  • Status changed from Solution proposée to Solution validée

Gael Pasgrimaud (gpasgrimaud) a approuvé une pull request sur Gitea concernant cette demande :

#5

Updated by Robot Gitea about 1 month ago

  • Status changed from Solution validée to Résolu (à déployer)

Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :

#6

Updated by Transition automatique about 1 month ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF