From: Aarni Koskela Date: Sun, 5 May 2024 13:48:29 +0000 (+0300) Subject: Prepare for 2.15.0 release (#1079) X-Git-Tag: v2.15.0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40b194f4777366e95cc2dfb680fd696b86ef1c04;p=thirdparty%2Fbabel.git Prepare for 2.15.0 release (#1079) --- diff --git a/AUTHORS b/AUTHORS index cfea92e3..67335b7a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -49,6 +49,8 @@ Babel is written and maintained by the Babel team and various contributors: - Arturas Moskvinas - Leonardo Pistone - Hyunjun Kim +- Ronan Amicel +- Christian Clauss - Best Olunusi - Teo - Ivan Koldakov diff --git a/CHANGES.rst b/CHANGES.rst index 31b1bd54..d3a7b00b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,28 @@ Babel Changelog =============== +Version 2.15.0 +-------------- + +Python version support +~~~~~~~~~~~~~~~~~~~~~~ + +* Babel 2.15.0 will require Python 3.8 or newer. (:gh:`1048`) + +Features +~~~~~~~~ + +* CLDR: Upgrade to CLDR 44 (:gh:`1071`) (@akx) +* Dates: Support for the "fall back to short format" logic for time delta formatting (:gh:`1075`) (@akx) +* Message: More versatile .po IO functions (:gh:`1068`) (@akx) +* Numbers: Improved support for alternate spaces when parsing numbers (:gh:`1007`) (@ronnix's first contribution) + +Infrastructure +~~~~~~~~~~~~~~ + +* Upgrade GitHub Actions (:gh:`1054`) (@cclauss's first contribution) +* The Unicode license is now included in `locale-data` and in the documentation (:gh:`1074`) (@akx) + Version 2.14.0 -------------- diff --git a/LICENSE b/LICENSE index 41a1e593..83b6e513 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2013-2023 by the Babel Team, see AUTHORS for more information. +Copyright (c) 2013-2024 by the Babel Team, see AUTHORS for more information. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/babel/__init__.py b/babel/__init__.py index ff986e9c..6a9789c5 100644 --- a/babel/__init__.py +++ b/babel/__init__.py @@ -12,7 +12,7 @@ access to various locale display names, localized number and date formatting, etc. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ @@ -25,7 +25,7 @@ from babel.core import ( parse_locale, ) -__version__ = '2.14.0' +__version__ = '2.15.0' __all__ = [ 'Locale', diff --git a/babel/core.py b/babel/core.py index 207c13b9..56a4ee50 100644 --- a/babel/core.py +++ b/babel/core.py @@ -4,7 +4,7 @@ Core locale representation and locale data access. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ diff --git a/babel/dates.py b/babel/dates.py index c2e4f0cc..df129604 100644 --- a/babel/dates.py +++ b/babel/dates.py @@ -11,7 +11,7 @@ * ``LC_ALL``, and * ``LANG`` - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ diff --git a/babel/lists.py b/babel/lists.py index a8471fd1..376bc963 100644 --- a/babel/lists.py +++ b/babel/lists.py @@ -10,7 +10,7 @@ * ``LC_ALL``, and * ``LANG`` - :copyright: (c) 2015-2023 by the Babel Team. + :copyright: (c) 2015-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/localedata.py b/babel/localedata.py index f1e8a129..a9f7d4bf 100644 --- a/babel/localedata.py +++ b/babel/localedata.py @@ -7,7 +7,7 @@ :note: The `Locale` class, which uses this module under the hood, provides a more convenient interface for accessing the locale data. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ diff --git a/babel/localtime/__init__.py b/babel/localtime/__init__.py index e1ece734..1066c951 100644 --- a/babel/localtime/__init__.py +++ b/babel/localtime/__init__.py @@ -5,7 +5,7 @@ Babel specific fork of tzlocal to determine the local timezone of the system. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ diff --git a/babel/localtime/_fallback.py b/babel/localtime/_fallback.py index 14979a53..7c99f488 100644 --- a/babel/localtime/_fallback.py +++ b/babel/localtime/_fallback.py @@ -4,7 +4,7 @@ Emulated fallback local timezone when all else fails. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ diff --git a/babel/messages/__init__.py b/babel/messages/__init__.py index 883a2e05..5a81b910 100644 --- a/babel/messages/__init__.py +++ b/babel/messages/__init__.py @@ -4,7 +4,7 @@ Support for ``gettext`` message catalogs. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ diff --git a/babel/messages/catalog.py b/babel/messages/catalog.py index 41adfaee..9f215cf1 100644 --- a/babel/messages/catalog.py +++ b/babel/messages/catalog.py @@ -4,7 +4,7 @@ Data structures for message catalogs. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/messages/checkers.py b/babel/messages/checkers.py index e5448e06..df1159de 100644 --- a/babel/messages/checkers.py +++ b/babel/messages/checkers.py @@ -6,7 +6,7 @@ :since: version 0.9 - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/messages/extract.py b/babel/messages/extract.py index 8e377987..862e6374 100644 --- a/babel/messages/extract.py +++ b/babel/messages/extract.py @@ -12,7 +12,7 @@ The main entry points into the extraction functionality are the functions `extract_from_dir` and `extract_from_file`. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index 34f9e890..aeda9763 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -4,7 +4,7 @@ Frontends for the message extraction functionality. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ diff --git a/babel/messages/jslexer.py b/babel/messages/jslexer.py index 6456bd03..31f0582e 100644 --- a/babel/messages/jslexer.py +++ b/babel/messages/jslexer.py @@ -5,7 +5,7 @@ A simple JavaScript 1.5 lexer which is used for the JavaScript extractor. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/messages/mofile.py b/babel/messages/mofile.py index ca02e683..0291b07c 100644 --- a/babel/messages/mofile.py +++ b/babel/messages/mofile.py @@ -4,7 +4,7 @@ Writing of files in the ``gettext`` MO (machine object) format. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/messages/plurals.py b/babel/messages/plurals.py index fa3f03ed..01c38f4c 100644 --- a/babel/messages/plurals.py +++ b/babel/messages/plurals.py @@ -4,7 +4,7 @@ Plural form definitions. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/messages/pofile.py b/babel/messages/pofile.py index 6e9dbdf0..89a92425 100644 --- a/babel/messages/pofile.py +++ b/babel/messages/pofile.py @@ -5,7 +5,7 @@ Reading and writing of files in the ``gettext`` PO (portable object) format. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/numbers.py b/babel/numbers.py index 6df1db8c..624e8d61 100644 --- a/babel/numbers.py +++ b/babel/numbers.py @@ -11,7 +11,7 @@ * ``LC_ALL``, and * ``LANG`` - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ # TODO: diff --git a/babel/plural.py b/babel/plural.py index 01df16c6..3be412f6 100644 --- a/babel/plural.py +++ b/babel/plural.py @@ -4,7 +4,7 @@ CLDR Plural support. See UTS #35. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/support.py b/babel/support.py index 1774d9d8..e6ee3780 100644 --- a/babel/support.py +++ b/babel/support.py @@ -7,7 +7,7 @@ .. note: the code in this module is not used by Babel itself - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/babel/util.py b/babel/util.py index 093197f9..605695b1 100644 --- a/babel/util.py +++ b/babel/util.py @@ -4,7 +4,7 @@ Various utility classes and functions. - :copyright: (c) 2013-2023 by the Babel Team. + :copyright: (c) 2013-2024 by the Babel Team. :license: BSD, see LICENSE for more details. """ from __future__ import annotations diff --git a/docs/conf.py b/docs/conf.py index 3be49818..128eacd7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -44,16 +44,16 @@ master_doc = 'index' # General information about the project. project = 'Babel' -copyright = '2023, The Babel Team' +copyright = '2024, The Babel Team' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '2.14' +version = '2.15' # The full version, including alpha/beta/rc tags. -release = '2.14.0' +release = '2.15.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/scripts/dump_data.py b/scripts/dump_data.py index b17beb7b..639c14d4 100755 --- a/scripts/dump_data.py +++ b/scripts/dump_data.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/scripts/dump_global.py b/scripts/dump_global.py index 1018a539..8b829401 100755 --- a/scripts/dump_global.py +++ b/scripts/dump_global.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/scripts/import_cldr.py b/scripts/import_cldr.py index 1ff39a8d..633ca9a0 100755 --- a/scripts/import_cldr.py +++ b/scripts/import_cldr.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/messages/test_catalog.py b/tests/messages/test_catalog.py index 4e133304..2df85deb 100644 --- a/tests/messages/test_catalog.py +++ b/tests/messages/test_catalog.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/messages/test_checkers.py b/tests/messages/test_checkers.py index ac1e1bc4..b2dc9dc4 100644 --- a/tests/messages/test_checkers.py +++ b/tests/messages/test_checkers.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/messages/test_extract.py b/tests/messages/test_extract.py index 086702ed..7d3a05aa 100644 --- a/tests/messages/test_extract.py +++ b/tests/messages/test_extract.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/messages/test_frontend.py b/tests/messages/test_frontend.py index 225d6b35..448dd735 100644 --- a/tests/messages/test_frontend.py +++ b/tests/messages/test_frontend.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/messages/test_mofile.py b/tests/messages/test_mofile.py index 986a74d6..7a699041 100644 --- a/tests/messages/test_mofile.py +++ b/tests/messages/test_mofile.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/messages/test_plurals.py b/tests/messages/test_plurals.py index 41438f58..e9f8e80f 100644 --- a/tests/messages/test_plurals.py +++ b/tests/messages/test_plurals.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/messages/test_pofile.py b/tests/messages/test_pofile.py index d322857d..99958b7b 100644 --- a/tests/messages/test_pofile.py +++ b/tests/messages/test_pofile.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/test_core.py b/tests/test_core.py index 2e784621..1bec2155 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/test_dates.py b/tests/test_dates.py index f25dd614..fb901314 100644 --- a/tests/test_dates.py +++ b/tests/test_dates.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/test_localedata.py b/tests/test_localedata.py index d4eb4e59..8a4fbef1 100644 --- a/tests/test_localedata.py +++ b/tests/test_localedata.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/test_numbers.py b/tests/test_numbers.py index eeb71a2f..ed0531c2 100644 --- a/tests/test_numbers.py +++ b/tests/test_numbers.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/test_plural.py b/tests/test_plural.py index 2fa56cf4..b10ccf5a 100644 --- a/tests/test_plural.py +++ b/tests/test_plural.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/test_support.py b/tests/test_support.py index ccd8fe60..12627205 100644 --- a/tests/test_support.py +++ b/tests/test_support.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which diff --git a/tests/test_util.py b/tests/test_util.py index 8ea68b2b..c661894c 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team +# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team # All rights reserved. # # This software is licensed as described in the file LICENSE, which