Skip to content

Commit b50a1d2

Browse files
authored
Prepare for 2.17.0 (#1182)
* Update authors * Update changelog * Update copyright dates * Update version
1 parent 5f117b2 commit b50a1d2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+118
-46
lines changed

AUTHORS

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Babel is written and maintained by the Babel team and various contributors:
1212
- Philip Jenvey
1313
- benselme
1414
- Isaac Jurado
15+
- Tomas R.
1516
- Tobias Bieniek
1617
- Erick Wilder
1718
- Jonah Lawrence
@@ -20,15 +21,13 @@ Babel is written and maintained by the Babel team and various contributors:
2021
- Kevin Deldycke
2122
- Ville Skyttä
2223
- Jon Dufresne
24+
- Hugo van Kemenade
2325
- Jun Omae
24-
- Hugo
2526
- Heungsub Lee
26-
- Tomas R
2727
- Jakob Schnitzer
2828
- Sachin Paliwal
2929
- Alex Willmer
3030
- Daniel Neuhäuser
31-
- Hugo van Kemenade
3231
- Miro Hrončok
3332
- Cédric Krier
3433
- Luke Plant
@@ -50,6 +49,13 @@ Babel is written and maintained by the Babel team and various contributors:
5049
- Arturas Moskvinas
5150
- Leonardo Pistone
5251
- Hyunjun Kim
52+
- wandrew004
53+
- James McKinney
54+
- Tomáš Hrnčiar
55+
- Gabe Sherman
56+
- mattdiaz007
57+
- Dylan Kiss
58+
- Daniel Roschka
5359
- buhtz
5460
- Bohdan Malomuzh
5561
- Leonid

CHANGES.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,58 @@
11
Babel Changelog
22
===============
33

4+
Version 2.17.0
5+
--------------
6+
7+
Happy 2025! This release is being made from FOSDEM 2025, in Brussels, Belgium.
8+
9+
Thank you to all contributors, new and old,
10+
and here's to another great year of internationalization and localization!
11+
12+
Features
13+
~~~~~~~~
14+
15+
* CLDR: Babel now uses CLDR 46, by @tomasr8 in :gh:`1145`
16+
* Dates: Allow specifying an explicit format in parse_date/parse_time by @tomasr8 in :gh:`1131`
17+
* Dates: More alternate characters are now supported by `format_skeleton`. By @tomasr8 in :gh:`1122`
18+
* Dates: Support short and narrow formats for format_timedelta when using `add_direction`, by @akx in :gh:`1163`
19+
* Messages: .po files now enclose white spaces in filenames like GNU gettext does. By @Dunedan in :gh:`1105`, and @tomasr8 in :gh:`1120`
20+
* Messages: Initial support for `Message.python_brace_format`, by @tomasr8 in :gh:`1169`
21+
* Numbers: LC_MONETARY is now preferred when formatting currencies, by @akx in :gh:`1173`
22+
23+
Bugfixes
24+
~~~~~~~~
25+
26+
* Dates: Make seconds optional in `parse_time` time formats by @tomasr8 in :gh:`1141`
27+
* Dates: Replace `str.index` with `str.find` by @tomasr8 in :gh:`1130`
28+
* Dates: Strip extra leading slashes in `/etc/localtime` by @akx in :gh:`1165`
29+
* Dates: Week numbering and formatting of dates with week numbers was repaired by @jun66j5 in :gh:`1179`
30+
* General: Improve handling for `locale=None` by @akx in :gh:`1164`
31+
* General: Remove redundant assignment in `Catalog.__setitem__` by @tomasr8 in :gh:`1167`
32+
* Messages: Fix extracted lineno with nested calls, by @dylankiss in :gh:`1126`
33+
* Messages: Fix of list index out of range when translations is empty, by @gabe-sherman in :gh:`1135`
34+
* Messages: Fix the way obsolete messages are stored by @tomasr8 in :gh:`1132`
35+
* Messages: Simplify `read_mo` logic regarding `catalog.charset` by @tomasr8 in :gh:`1148`
36+
* Messages: Use the first matching method & options, rather than first matching method & last options, by @jpmckinney in :gh:`1121`
37+
38+
Deprecation and compatibility
39+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40+
41+
* Dates: Fix deprecation warnings for `datetime.utcnow()` by @tomasr8 in :gh:`1119`
42+
* Docs: Adjust docs/conf.py to add compatibility with sphinx 8 by @hrnciar in :gh:`1155`
43+
* General: Import `Literal` from the typing module by @tomasr8 in :gh:`1175`
44+
* General: Replace `OrderedDict` with just `dict` by @tomasr8 in :gh:`1149`
45+
* Messages: Mark `wraptext` deprecated; use `TextWrapper` directly in `write_po` by @akx in :gh:`1140`
46+
47+
Infrastructure
48+
~~~~~~~~~~~~~~
49+
50+
* Add tzdata as dev dependency and sync with tox.ini by @wandrew004 in :gh:`1159`
51+
* Duplicate test code was deleted by @mattdiaz007 in :gh:`1138`
52+
* Increase test coverage of the `python_format` checker by @tomasr8 in :gh:`1176`
53+
* Small cleanups by @akx in :gh:`1160`, :gh:`1166`, :gh:`1170` and :gh:`1172`
54+
* Update CI to use python 3.13 and Ubuntu 24.04 by @tomasr8 in :gh:`1153`
55+
456
Version 2.16.0
557
--------------
658

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2024 by the Babel Team, see AUTHORS for more information.
1+
Copyright (c) 2013-2025 by the Babel Team, see AUTHORS for more information.
22

33
Redistribution and use in source and binary forms, with or without
44
modification, are permitted provided that the following conditions

babel/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
access to various locale display names, localized number and date
1313
formatting, etc.
1414
15-
:copyright: (c) 2013-2024 by the Babel Team.
15+
:copyright: (c) 2013-2025 by the Babel Team.
1616
:license: BSD, see LICENSE for more details.
1717
"""
1818

@@ -25,7 +25,7 @@
2525
parse_locale,
2626
)
2727

28-
__version__ = '2.16.0'
28+
__version__ = '2.17.0'
2929

3030
__all__ = [
3131
'Locale',

babel/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Core locale representation and locale data access.
66
7-
:copyright: (c) 2013-2024 by the Babel Team.
7+
:copyright: (c) 2013-2025 by the Babel Team.
88
:license: BSD, see LICENSE for more details.
99
"""
1010

babel/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* ``LC_ALL``, and
1212
* ``LANG``
1313
14-
:copyright: (c) 2013-2024 by the Babel Team.
14+
:copyright: (c) 2013-2025 by the Babel Team.
1515
:license: BSD, see LICENSE for more details.
1616
"""
1717

babel/lists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* ``LC_ALL``, and
1111
* ``LANG``
1212
13-
:copyright: (c) 2015-2024 by the Babel Team.
13+
:copyright: (c) 2015-2025 by the Babel Team.
1414
:license: BSD, see LICENSE for more details.
1515
"""
1616
from __future__ import annotations

babel/locale-data/LICENSE.unicode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ UNICODE LICENSE V3
22

33
COPYRIGHT AND PERMISSION NOTICE
44

5-
Copyright © 2004-2024 Unicode, Inc.
5+
Copyright © 2004-2025 Unicode, Inc.
66

77
NOTICE TO USER: Carefully read the following legal agreement. BY
88
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR

babel/localedata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:note: The `Locale` class, which uses this module under the hood, provides a
88
more convenient interface for accessing the locale data.
99
10-
:copyright: (c) 2013-2024 by the Babel Team.
10+
:copyright: (c) 2013-2025 by the Babel Team.
1111
:license: BSD, see LICENSE for more details.
1212
"""
1313

babel/localtime/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Babel specific fork of tzlocal to determine the local timezone
66
of the system.
77
8-
:copyright: (c) 2013-2024 by the Babel Team.
8+
:copyright: (c) 2013-2025 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111

0 commit comments

Comments
 (0)