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 mois. Mis à jour il y a 9 jours.

Statut:
En cours
Priorité:
Normal
Assigné à:
Version cible:
Début:
07/03/2024
Echéance:
% réalisé:

0%

Restant à faire (heures):

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()

Demandes liées

Bloqué par Distribution EOLE - Tâche #35916: le projet tiramisu n’est pas préparé pour la 2.10. Nouveau

Révisions associées

Révision 8b724538 (diff)
Ajouté par Benjamin Bohard il y a 9 jours

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 9 jours

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 9 jours

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

Ref #35797

Historique

#1 Mis à jour par Benjamin Bohard il y a 9 jours

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Benjamin Bohard il y a 9 jours

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

Formats disponibles : Atom PDF