./devel/py-babel, Collection of tools for internationalizing Python applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.16.0, Package name: py312-babel-2.16.0, Maintainer: pkgsrc-users

Babel is a Python library that provides an integrated collection of
utilities that assist with internationalizing and localizing Python
applications (in particular web-based applications.)


Required to run:
[devel/py-setuptools] [time/py-pytz] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 9129.008 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 08:08:41 by Thomas Klausner | Files touched by this commit (21)
Log message:
i*: clean up after python38 removal
   2024-08-11 08:45:24 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-babel: update to 2.16.0.

Version 2.16.0
--------------

Features
~~~~~~~~

* CLDR: Upgrade to CLDR 45 by @tomasr8 in :gh:`1077`
* Lists: Support list format fallbacks by @akx in :gh:`1099`
* Messages: Initial support for reading mapping configuration as TOML by @akx in \ 
:gh:`1108`

Bugfixes
~~~~~~~~

* CLDR: Do not allow substituting alternates or drafts in derived locales by \ 
@akx in :gh:`1113`
* Core: Allow falling back to modifier-less locale data by @akx in :gh:`1104`
* Core: Allow use of importlib.metadata for finding entrypoints by @akx in :gh:`1102`
* Dates: Avoid crashing on importing localtime when TZ is malformed by @akx in \ 
:gh:`1100`
* Messages: Allow parsing .po files that have an extant but empty Language \ 
header by @akx in :gh:`1101`
* Messages: Fix ``--ignore-dirs`` being incorrectly read (#1094) by @john-psina \ 
and @Edwin18 in :gh:`1052` and :gh:`1095`
* Messages: Make pgettext search plurals when translation is not found by \ 
@tomasr8 in :gh:`1085`

Infrastructure
~~~~~~~~~~~~~~

* Replace deprecated `ast.Str` with `ast.Constant` by @tomasr8 in :gh:`1083`
* CI fixes by @akx in :gh:`1080`, :gh:`1097`, :gh:`1103`, :gh:`1107`
* Test on Python 3.13 beta releases by @akx in
* Normalize package name to lower-case in setup.py by @akx in :gh:`1110`

Documentation
~~~~~~~~~~~~~

* Add a mention to the docs that `format_skeleton(..., fuzzy=True)` may raise by \ 
@tomasr8 in :gh:`1106`
* Two hyperlinks (to CLDR) and some typos by @buhtz in :gh:`1115`
   2024-08-10 08:29:30 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-babel: fix TEST_DEPENDS
   2024-05-06 06:42:45 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-babel: updated to 2.15.0

Version 2.15.0

Python version support

* Babel 2.15.0 will require Python 3.8 or newer.

Features

* CLDR: Upgrade to CLDR 44
* Dates: Support for the "fall back to short format" logic for time \ 
delta formatting
* Message: More versatile .po IO functions
* Numbers: Improved support for alternate spaces when parsing numbers

Infrastructure

* Upgrade GitHub Actions
* The Unicode license is now included in `locale-data` and in the documentation
   2023-12-17 23:17:58 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-babel: update to 2.14.0.

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`
   2023-10-27 11:04:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-babel: updated to 2.13.1

Version 2.13.1

This is a patch release to fix a few bugs.

Fixes

* Fix a typo in ``_locales_to_names``
* Fix ``setuptools`` dependency for Python 3.12
   2023-10-07 06:12:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-babel: updated to 2.13.0

Version 2.13.0

Upcoming deprecation

* 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.

Features

* Add flag to ignore POT-Creation-Date for updates
* Support 't' specifier in keywords
* Add f-string parsing for Python 3.12 (PEP 701)

Fixes

* Various typing-related fixes
* babel.messages.catalog: deduplicate _to_fuzzy_match_key logic
* Freeze format_time() tests to a specific date to fix test failures
* Spelling and grammar fixes
* Renovate lint tools
* Use SPDX license identifier
* Use aware UTC datetimes internally