python-babel / babel

The official repository for Babel, the Python Internationalization Library
http://babel.pocoo.org/
BSD 3-Clause "New" or "Revised" License
1.34k stars 448 forks source link

Upgrade to CLDR 44 #1070

Closed tomasr8 closed 6 months ago

tomasr8 commented 7 months ago

CLDR v44 has been released a while ago. Are there any plans to include it in babel?

ThiefMaster commented 7 months ago

v45 is scheduled to be released in less than a week. Maybe best to aim for that straight away?

image

akx commented 7 months ago

1071 bumps us up to CLDR 44.

Cc @nileshpatra via https://github.com/python-babel/babel/issues/1059#issuecomment-1979589995 – would it be useful for e.g. Debian that there'd be a Babel version that uses CLDR 44, even if CLDR 45 is released soon? That said, the next version of Babel will not officially support Python 3.7 anymore; is that an issue?

nileshpatra commented 7 months ago

On Mon, Apr 15, 2024 at 07:12:43AM -0700, Aarni Koskela wrote:

1071 bumps us up to CLDR 44. Cc @nileshpatra via https://github.com/python-babel/babel/issues/1059#issuecomment-1979589995 – would it be useful for e.g. Debian that there'd be a Babel version that uses CLDR 44, even if CLDR 45 is released soon?

I am not sure if I understand that question. Currently CLDR version in Debian is 44 - which is what we need. It probably will be upgraded to 45 at some point.

That said, the next version of Babel will not officially support Python 3.7 anymore; is that an issue?

No problem.

akx commented 7 months ago

I am not sure if I understand that question. Currently CLDR version in Debian is 44 - which is what we need.

Right, so I think it'll be a good idea to release a version of Babel that basically just bumps up to CLDR 44, just so that version can be easily shipped with the version of Debian that targets CLDR 44.

It probably will be upgraded to 45 at some point.

As far as I understand Debian's stability/release process, that might not be in the immediate cards as soon as 45 is released, though? :)

nileshpatra commented 7 months ago

On 15 April 2024 9:57:06 pm IST, Aarni Koskela @.***> wrote:

I am not sure if I understand that question. Currently CLDR version in Debian is 44 - which is what we need.

Right, so I think it'll be a good idea to release a version of Babel that basically just bumps up to CLDR 44, just so that version can be easily shipped with the version of Debian that targets CLDR 44.

It probably will be upgraded to 45 at some point.

As far as I understand Debian's stability/release process, that might not be in the immediate cards as soon as 45 is released, though? :)

I apologise if I wasn't clear w/ my bug report earlier. Babel is doing fine in debian stable release (which happens roughly every 1.5-2 years) and has cldr version 41.

The cldr version is 44 in current unstable/testing which will be the next stable release around an year from now. cldr maybe updated to 45 in a few months or so since there's still an year in the next Debian stable release. As such there's no set target yet. If you plan to upgrade to 45, you could do so -- I'll apply the relevant patches.

akx commented 7 months ago

The freshly released Babel 2.15.0 (GH, PyPI) is backed by CLDR 44.