otsaloma / gaupol

Editor for text-based subtitle files
https://otsaloma.io/gaupol/
GNU General Public License v3.0
247 stars 35 forks source link

aeidon/locales.py:54: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15 #226

Closed sbraz closed 2 weeks ago

sbraz commented 3 weeks ago

Hi again, I'm going to open separate issues for the various warnings that appear while running the test suite with Python 3.13.0b1, in addition to #225 where I addressed some easy ones.

aeidon/agents/test/test_text.py::TestTextAgent::test_break_lines
aeidon/test/test_metadata.py::TestMetadataItem::test_get_description
  /var/tmp/portage/media-video/gaupol-1.15/work/gaupol-1.15/aeidon/locales.py:54: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead.
    return locale.getdefaultlocale()[0]