Projet

Général

Profil

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.

Ajouté par Benjamin Bohard il y a 2 mois. Mis à jour il y a environ 2 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
01/10/2022
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Révisions associées

Révision 958475cd (diff)
Ajouté par Benjamin Bohard il y a 2 mois

La fonction getargspec est obsolète voire indisponible.

Ref #35817

Révision b0762971 (diff)
Ajouté par Joël Cuissinat il y a 2 mois

Update versioneer.py for Python 3.12

Ref: #35817

Historique

#1 Mis à jour par Benjamin Bohard il y a 2 mois

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Benjamin Bohard il y a 2 mois

  • Statut changé de En cours à À valider

#3 Mis à jour par Joël Cuissinat il y a 2 mois

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 environ 2 mois

  • Statut changé de À valider à Résolu

#5 Mis à jour par Joël Cuissinat il y a environ 2 mois

  • 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

Formats disponibles : Atom PDF