d4a69248c5- Update to 2.15.0 * Babel 2.15.0 will require Python 3.8 or newer * 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 * Upgrade GitHub Actions * The Unicode license is now included in locale-data and in the documentation - Adjust upstream source name in spec file
devel
Dirk Mueller2024-07-15 18:42:17 +00:00
5ccea0d862Accepting request 1135251 from devel:languages:pythonAna Guerrero2023-12-28 21:54:30 +00:00
8f5a9956e8- update to 2.14.0: * `Locale.number_symbols will now have first-level keys for each numbering system. * Babel no longer directly depends on either distutils or setuptools; if you had been using the Babel setuptools command extensions, you would need explicitly depend on setuptools * CLDR/Numbers: Add support of local numbering systems for number symbols * CLDR: Upgrade to CLDR 43 * Frontend: Allow last_translator to be passed as an option to extract_message * Frontend: Decouple pybabel` CLI frontend from distutils/setuptools * Numbers: Improve parsing of malformed decimalsDirk Mueller2023-12-27 09:40:55 +00:00
90d2511ddaAccepting request 1133432 from devel:languages:pythonAna Guerrero2023-12-15 20:46:39 +00:00
cc4d60351a* Fix a typo in `_locales_to_names * Fix setuptools dependency for Python 3.12 * Add flag to ignore POT-Creation-Date for updates * Support 't' specifier in keywords * Add f-string parsing for Python 3.12 (PEP 701) * Various typing-related fixes failures * Spelling and grammar fixes * Renovate lint tools * Use SPDX license identifier * Use aware UTC datetimes internally - Update to 2.11.0 - update to 2.10.3 - update to 2.10.2 * Messages: Fix distutils import. Regressed in :gh:843. * CLDR: Upgrade to CLDR 41.0. * Messages: Implement --init-missing option for pybabel update ignored directory patterns with ones of your own. * Messages: Add --check to verify if catalogs are up-to-date * Messages: Add --header-comment to override default header comment * The internal babel/_compat.py module is no more * Python 3.10 is officially supported * There's now a friendly GitHub issue template. * Add GitHub URL for PyPi * Python 3.12 compatibility: Prefer setuptools imports to distutils imports * Python 3.11 compatibility: Add deprecations to l*gettext variants * CI: Babel is now tested with PyPy 3.7. * Date formatting: Allow using other` as fallback form * A typo in the plural format for Maltese is fixed. * Messages: Catalog date parsing is now timezone independent.Dirk Mueller2023-12-15 12:24:59 +00:00
b03b0399f2Accepting request 1133136 from home:pgajdos:pythonDirk Mueller2023-12-15 12:11:54 +00:00
c28a8c8a79Accepting request 1109065 from devel:languages:pythonAna Guerrero2023-09-06 16:56:30 +00:00
e68fde015b- update to 2.9.1 (bsc#1185768, CVE-2021-42771, bsc#1185768, CVE-2021-20095): - obsoletes CVE-2021-42771-rel-path-traversal.patch in older distsDirk Mueller2023-09-05 14:34:39 +00:00
81bec5de6f- Add fix-tests.patch to make tests work with EST/EDT swap, gh#python-babel/babel#988 - Update to 2.12.1: * Include py.typed file in wheels by @AlexWaygood in #975 * Become 2.12.1 by @akx in #976 - 2.12.0: * docs(changes): Fix broken issue links by @DenverCoder1 in #922 * Update docs build configuration by @akx in #924 * feat: Adds Format.compact_decimal utility by @DenverCoder1 in #921 * Remove vestigial Python 2 long check by @akx in #925 * feat: Support for short compact currency formats by @DenverCoder1 in #926 * Drop support for EOL Python 3.6 by @akx in #919 * Cast number to Decimal in _get_compact_format by @DenverCoder1 in #930 * Replace %/.format/concatenation with f-strings where feasible by @akx in #927 * ci: Fix testing dependencies by @DenverCoder1 in #936 * javascript extract improvements by @johanneswilm in #939 * Fix compact singular formats and patterns with no numbers by @DenverCoder1 in #932 * fix typo by @uniontech-lilinjie in #941 * Enable pre-commit by @akx in #943 * Added inline type annotations to Babel by @DenverCoder1 in #934 * Implement zoneinfo support and make pytz optional by @ds-cbo in #940 * Unify datetime imports by @akx in #945 * Minor cleanups by @akx in #948 * Renovate formatting in test_checkers and test_frontend by @akx in #950 * Add ruff for linting by @akx in #949 * Upgrade to CLDR 42 by @akx in #951 * Update test dependencies (tox v4) by @DenverCoder1 in #953 * Remove redundant tests for babel.support by @akx in #954 * Support for formatting NaN, Infinity by @DenverCoder1 in #955 * Clean up babel.localtime by @akx in #952Daniel Garcia2023-05-08 10:04:44 +00:00
3d34f95c5bAccepting request 1082233 from home:dirkmueller:acdc:as_python3_moduleMatej Cepl2023-04-23 01:44:07 +00:00
ee9fbac5c4- update to 2.10.1: * Messages: Fix `distutils import. Regressed in :gh:843. * The get_next_timezone_transition likely as soon as Babel 2.11. * CLDR: Upgrade to CLDR 41.0. * The c and e plural form operands introduced in CLDR 40 are parsed * Non-nominative forms of units are currently ignored. * Messages: Implement --init-missing option for pybabel update * Messages: For extract, you can now replace the built-in .* / _* ignored directory patterns with ones of your own. * Messages: Add --check to verify if catalogs are up-to-date * Messages: Add --header-comment to override default header comment * Dates: parse_time now supports 12-hour clock, and is better at parsing partial times. * Dates: parse_date and parse_time now raise ParseError, a subclass of ValueError, in certain cases. * Dates: parse_date and parse_time now accept the format parameter. * The internal babel/_compat.py module is no more * Python 3.10 is officially supported * There's now a friendly GitHub issue template. * Don't use the deprecated format_number function internally or in tests * Add GitHub URL for PyPi * Python 3.12 compatibility: Prefer setuptools imports to distutils imports * Python 3.11 compatibility: Add deprecations to l*gettext variants * CI: Babel is now tested with PyPy 3.7. * Date formatting: Allow using other as fallback form * Locales: `Locale.parse * A typo in the plural format for Maltese is fixed. * Messages: Catalog date parsing is now timezone independent. * Messages: Fix duplicate locations when writing without linenoDirk Mueller2022-06-04 18:12:28 +00:00
891e0342da* bsc#1185768 (CVE-2021-42771) The internal locale-data loading functions now validate the name of the locale file to be loaded and only allow files within Babel's data directory.Matej Cepl2021-10-29 21:16:59 +00:00
2578bf0a5a- update to 2.9.1: * The internal locale-data loading functions now validate the name of the locale file to be loaded and only allow files within Babel's data directory.Dirk Mueller2021-05-11 21:42:06 +00:00
ac256de84d- update to 2.3.4: * CLDR: The lxml library is no longer used for CLDR importing, so it should not cause strange failures e * CLI: Every last single CLI usage regression should now be gone, and both distutils and stand-alone CLI * CLI: Usage regressions that had snuck in between 2.2 and 2.3 should be no more. (https://github.com/py * Dates: Period (am/pm) formatting was broken in certain locales (namely zh_TW). Thanks to @jun66j5 for * CLDR: Add an API for territory language data (https://github.com/python-babel/babel/pull/315) * Core: Character order and measurement system data is imported and exposed (https://github.com/python-b * Dates: Add an API for time interval formatting (https://github.com/python-babel/babel/pull/316) * Dates: More pattern formats and lengths are supported (https://github.com/python-babel/babel/pull/347) * Dates: Period IDs are imported and exposed (https://github.com/python-babel/babel/pull/349) * Dates: Support for date-time skeleton formats has been added (https://github.com/python-babel/babel/pu * Dates: Timezone formatting has been improved (https://github.com/python-babel/babel/pull/338) * Messages: JavaScript extraction now supports dotted names, ES6 template strings and JSX tags (https:// - drop fix-timezone-test.patch skip-dst-tests.patch, no longer necessaryDirk Mueller2016-05-02 19:06:54 +00:00
658e9ed01bAccepting request 201469 from devel:languages:python
Stephan Kulow
2013-10-01 06:25:38 +00:00
d68c363ff7Accepting request 201460 from Cloud:OpenStack:Master
Sascha Peilicke
2013-09-30 12:39:25 +00:00
bca5410462- Implement update-alternatives - Fix testsuite run on SLE and run it only once - Properly build (and install) HTML documentation
Sascha Peilicke
2013-09-30 09:00:55 +00:00
a97ad04b81Accepting request 201226 from home:dirkmueller:branches:devel:languages:python
Sascha Peilicke
2013-09-30 07:21:25 +00:00
d7d586e56e- Update to version 0.9.6: * Backport r493-494: documentation typo fixes. * Make the CLDR import script work with Python 2.7. * Fix various typos. * Fixed Python 2.3 compatibility (ticket #146, #233). * Sort output of list-locales. * Make the POT-Creation-Date of the catalog being updated equal to POT-Creation-Date of the template used to update (ticket #148). * Use a more explicit error message if no option or argument (command) is passed to pybabel (ticket #81). * Keep the PO-Revision-Date if it is not the default value (ticket #148). * Make --no-wrap work by reworking --width's default and mimic xgettext's behaviour of always wrapping comments (ticket #145). * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). * Add --project and --version options for commandline (ticket #173). * Add a __ne__() method to the Local class. * Explicitly sort instead of using sorted() and don't assume ordering (Python 2.3 and Jython compatibility). * Removed ValueError raising for string formatting message checkers if the string does not contain any string formattings (ticket #150). * Fix Serbian plural forms (ticket #213). * Small speed improvement in format_date() (ticket #216). * Fix number formatting for locales where CLDR specifies alt or draft items (ticket #217) * Fix bad check in format_time (ticket #257, reported with patch and tests by jomae) * Fix so frontend.CommandLineInterface.run does not accumulate logging handlers (#227, reported with initial patch by dfraser) * Fix exception if environment contains an invalid locale setting (#200) - Renamed to python-Babel (from python-babel)
Sascha Peilicke
2011-09-01 14:21:47 +00:00