Projet

Général

Profil

Tâche #35797

Scénario #35784: EOLE 2.10 : Traquer les warnings python dans le code EOLE

DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15

Ajouté par Joël Cuissinat il y a environ 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
07/03/2024
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Description

../usr/lib/python3/dist-packages/creole/i18n.py:38
  /usr/lib/python3/dist-packages/creole/i18n.py:38: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
    lc, encoding = locale.getdefaultlocale()

../usr/lib/python3/dist-packages/tiramisu/i18n.py:38
  /usr/lib/python3/dist-packages/tiramisu/i18n.py:38: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
    lc, encoding = locale.getdefaultlocale()

../usr/lib/python3/dist-packages/pyeole/translation/i18n.py:21
  /usr/lib/python3/dist-packages/pyeole/translation/i18n.py:21: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
    lc, encoding = locale.getdefaultlocale()

Révisions associées

Révision 8b724538 (diff)
Ajouté par Benjamin Bohard il y a presque 2 ans

Utiliser locale.getlocale pour récupérer la langue du système.

Ref #35797

Révision 1549aec6 (diff)
Ajouté par Benjamin Bohard il y a presque 2 ans

Utiliser locale.getlocale pour récupérer la langue du système.

Ref #35797

Révision 1982352e (diff)
Ajouté par Benjamin Bohard il y a presque 2 ans

Utiliser locale.getlocale pour récupérer la langue du système.

Ref #35797

Révision ed54afc4 (diff)
Ajouté par Benjamin Bohard il y a presque 2 ans

Utiliser locale.getlocale pour récupérer la langue du système.

Ref #35797

Révision 889d8c95 (diff)
Ajouté par Benjamin Bohard il y a presque 2 ans

Utiliser locale.getlocale() pour récupérer l’encodage.

Ref #35797

Historique

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

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Benjamin Bohard il y a presque 2 ans

  • Description mis à jour (diff)
  • Assigné à mis à Benjamin Bohard

#3 Mis à jour par Benjamin Bohard il y a presque 2 ans

  • Statut changé de En cours à À valider

#4 Mis à jour par Laurent Gourvenec 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

OK

#6 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Bloqué par Tâche #35916: le projet tiramisu n’est pas préparé pour la 2.10. supprimé

Formats disponibles : Atom PDF