← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2092458] [NEW] The USE_L10N setting is deprecated.

 

Public bug reported:

OpenStack 2024.2 Dalmatian

Dec 24 20:54:32 python3[248614]:  version_info = version.StrictVersion(__version__).version
Dec 24 20:54:34 python3[248618]: /usr/lib/python3.9/site-packages/django/conf/__init__.py:267: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
Dec 24 20:54:34 python3[248618]:  warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)
Dec 24 20:54:34 python3[248618]: /usr/lib/python3.9/site-packages/debreach/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.

/usr/share/openstack-dashboard/openstack_dashboard/settings.py - 212
line.

** Affects: horizon
     Importance: Undecided
         Status: New

** Description changed:

  OpenStack 2024.2 Dalmatian
  
- Dec 24 20:54:32 mow01-control01 python3[248614]:  version_info = version.StrictVersion(__version__).version
- Dec 24 20:54:34 mow01-control01 python3[248618]: /usr/lib/python3.9/site-packages/django/conf/__init__.py:267: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
- Dec 24 20:54:34 mow01-control01 python3[248618]:  warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)
- Dec 24 20:54:34 mow01-control01 python3[248618]: /usr/lib/python3.9/site-packages/debreach/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
+ Dec 24 20:54:32 python3[248614]:  version_info = version.StrictVersion(__version__).version
+ Dec 24 20:54:34 python3[248618]: /usr/lib/python3.9/site-packages/django/conf/__init__.py:267: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
+ Dec 24 20:54:34 python3[248618]:  warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)
+ Dec 24 20:54:34 python3[248618]: /usr/lib/python3.9/site-packages/debreach/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  
  /usr/share/openstack-dashboard/openstack_dashboard/settings.py - 212
  line.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/2092458

Title:
  The USE_L10N setting is deprecated.

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  OpenStack 2024.2 Dalmatian

  Dec 24 20:54:32 python3[248614]:  version_info = version.StrictVersion(__version__).version
  Dec 24 20:54:34 python3[248618]: /usr/lib/python3.9/site-packages/django/conf/__init__.py:267: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
  Dec 24 20:54:34 python3[248618]:  warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)
  Dec 24 20:54:34 python3[248618]: /usr/lib/python3.9/site-packages/debreach/__init__.py:6: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.

  /usr/share/openstack-dashboard/openstack_dashboard/settings.py - 212
  line.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2092458/+subscriptions



Follow ups