Tâche #35817
Scénario #35753: EOLE 2.10 : remplacer inspect.getargspec par "inspect.signature" ou "inspect.getfullargspec"
Remplacer la fonction getargspec par la fonction getfullargspec dans le projet python-nevow.
Début:
01/10/2022
Echéance:
% réalisé:
100%
Restant à faire (heures):
0.0
Révisions associées
La fonction getargspec est obsolète voire indisponible.
Ref #35817
Update versioneer.py for Python 3.12
Ref: #35817
Historique
#1 Mis à jour par Benjamin Bohard il y a environ 2 ans
- Statut changé de Nouveau à En cours
#2 Mis à jour par Benjamin Bohard il y a environ 2 ans
- Statut changé de En cours à À valider
#3 Mis à jour par Joël Cuissinat il y a environ 2 ans
Erreur à la compilation :
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 24, in <module>
version=versioneer.get_version(),
^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/versioneer.py", line 1482, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/versioneer.py", line 1414, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/versioneer.py", line 343, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
https://docs.python.org/3/whatsnew/3.12.html#configparser
configparser no longer has a SafeConfigParser class. Use the shorter ConfigParser name instead.
#4 Mis à jour par Benjamin Bohard il y a presque 2 ans
- Statut changé de À valider à Résolu
#5 Mis à jour par Joël Cuissinat il y a presque 2 ans
- Statut changé de Résolu à Fermé
- % réalisé changé de 0 à 100
- Restant à faire (heures) mis à 0.0
root@eolebase:~# dpkg -l | grep python3-nevow ii python3-nevow 0.14.4+git2024031301-2 all Web application templating system for Python and Twisted