Skip to content

Commit

Permalink
Prepare for 2.15.0 release (#1079)
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed May 5, 2024
1 parent c2e6c6e commit 40b194f
Show file tree
Hide file tree
Showing 41 changed files with 66 additions and 42 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions 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
--------------

Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
4 changes: 2 additions & 2 deletions babel/__init__.py
Expand Up @@ -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.
"""

Expand All @@ -25,7 +25,7 @@
parse_locale,
)

__version__ = '2.14.0'
__version__ = '2.15.0'

__all__ = [
'Locale',
Expand Down
2 changes: 1 addition & 1 deletion babel/core.py
Expand Up @@ -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.
"""

Expand Down
2 changes: 1 addition & 1 deletion babel/dates.py
Expand Up @@ -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.
"""

Expand Down
2 changes: 1 addition & 1 deletion babel/lists.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/localedata.py
Expand Up @@ -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.
"""

Expand Down
2 changes: 1 addition & 1 deletion babel/localtime/__init__.py
Expand Up @@ -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.
"""

Expand Down
2 changes: 1 addition & 1 deletion babel/localtime/_fallback.py
Expand Up @@ -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.
"""

Expand Down
2 changes: 1 addition & 1 deletion babel/messages/__init__.py
Expand Up @@ -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.
"""

Expand Down
2 changes: 1 addition & 1 deletion babel/messages/catalog.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/messages/checkers.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/messages/extract.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/messages/frontend.py
Expand Up @@ -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.
"""

Expand Down
2 changes: 1 addition & 1 deletion babel/messages/jslexer.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/messages/mofile.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/messages/plurals.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/messages/pofile.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/numbers.py
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion babel/plural.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/support.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion babel/util.py
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Expand Up @@ -44,16 +44,16 @@

# 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.
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 40b194f

Please sign in to comment.