From a8505a4de1d365d7eac6313908cac6dda2708a05 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 12 Dec 2023 15:19:43 +0200 Subject: [PATCH] Prepare for 2.14.0 release (#1047) --- AUTHORS | 4 ++++ CHANGES.rst | 45 +++++++++++++++++++++++++++++++++++++++++---- babel/__init__.py | 2 +- docs/conf.py | 4 ++-- 4 files changed, 48 insertions(+), 7 deletions(-) diff --git a/AUTHORS b/AUTHORS index da8eb3a3c..cfea92e37 100644 --- a/AUTHORS +++ b/AUTHORS @@ -49,6 +49,10 @@ Babel is written and maintained by the Babel team and various contributors: - Arturas Moskvinas - Leonardo Pistone - Hyunjun Kim +- Best Olunusi +- Teo +- Ivan Koldakov +- Rico Hermans - Daniel - Oleh Prypin - Petr Viktorin diff --git a/CHANGES.rst b/CHANGES.rst index 41013bba3..31b1bd543 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,43 @@ Babel Changelog =============== +Version 2.14.0 +-------------- + +Upcoming deprecation +~~~~~~~~~~~~~~~~~~~~ + +* This version, Babel 2.14, is the last version of Babel to support Python 3.7. + Babel 2.15 will require Python 3.8 or newer. +* We had previously announced Babel 2.13 to have been the last version to support + Python 3.7, but being able to use CLDR 43 with Python 3.7 was deemed important + enough to keep supporting the EOL Python version for one more release. + +Possibly backwards incompatible changes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* ``Locale.number_symbols`` will now have first-level keys for each numbering system. + Since the implicit default numbering system still is ``"latn"``, what had previously + been e.g. ``Locale.number_symbols['decimal']`` is now ``Locale.number_symbols['latn']['decimal']``. +* Babel no longer directly depends on either ``distutils`` or ``setuptools``; if you had been + using the Babel setuptools command extensions, you would need to explicitly depend on ``setuptools`` – + though given you're running ``setup.py`` you probably already do. + +Features +~~~~~~~~ + +* CLDR/Numbers: Add support of local numbering systems for number symbols by @kajte in :gh:`1036` +* CLDR: Upgrade to CLDR 43 by @rix0rrr in :gh:`1043` +* Frontend: Allow last_translator to be passed as an option to extract_message by @AivGitHub in :gh:`1044` +* Frontend: Decouple `pybabel` CLI frontend from distutils/setuptools by @akx in :gh:`1041` +* Numbers: Improve parsing of malformed decimals by @Olunusib and @akx in :gh:`1042` + +Infrastructure +~~~~~~~~~~~~~~ + +* Enforce trailing commas (enable Ruff COM rule and autofix) by @akx in :gh:`1045` +* CI: use GitHub output formats by @akx in :gh:`1046` + Version 2.13.1 -------------- @@ -15,11 +52,11 @@ Fixes Version 2.13.0 -------------- -Upcoming deprecation -~~~~~~~~~~~~~~~~~~~~ +Upcoming deprecation (reverted) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* This version, Babel 2.13, is the last version of Babel to support Python 3.7. - Babel 2.14 will require Python 3.8 or newer. +* It was previously announced that this version, Babel 2.13, would be the last version of + Babel to support Python 3.7. Babel 2.14 will still support Python 3.7. Features ~~~~~~~~ diff --git a/babel/__init__.py b/babel/__init__.py index b3c50d297..ff986e9ce 100644 --- a/babel/__init__.py +++ b/babel/__init__.py @@ -25,7 +25,7 @@ parse_locale, ) -__version__ = '2.13.1' +__version__ = '2.14.0' __all__ = [ 'Locale', diff --git a/docs/conf.py b/docs/conf.py index 5e4ade202..3be498181 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,9 +51,9 @@ # built documents. # # The short X.Y version. -version = '2.13' +version = '2.14' # The full version, including alpha/beta/rc tags. -release = '2.13.1' +release = '2.14.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.