|
|
|
|
Changelog for python311-Babel-2.16.0-lp156.2.1.noarch.rpm :
* Mon Oct 07 2024 John Paul Adrian Glaubitz - Update to 2.16.0 * CLDR: Upgrade to CLDR 45 * Lists: Support list format fallbacks * Messages: Initial support for reading mapping configuration as TOML * CLDR: Do not allow substituting alternates or drafts in derived locales * Core: Allow falling back to modifier-less locale data * Core: Allow use of importlib.metadata for finding entrypoints * Dates: Avoid crashing on importing localtime when TZ is malformed * Messages: Allow parsing .po files that have an extant but empty Language header * Messages: Fix ``--ignore-dirs`` being incorrectly read * Messages: Make pgettext search plurals when translation is not found * Replace deprecated `ast.Str` with `ast.Constant` * CI fixes * Test on Python 3.13 beta releases * Normalize package name to lower-case in setup.py * Add a mention to the docs that `format_skeleton(..., fuzzy=True)` may raise * Two hyperlinks (to CLDR) and some typos- Adjust filename for dist file in %files section * Mon Jul 15 2024 John Paul Adrian Glaubitz - 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 * Wed Dec 27 2023 Dirk Müller - 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 decimals * Thu Dec 14 2023 pgajdosAATTsuse.com- deleted patches - fix-tests.patch (upstreamed) * Thu Dec 14 2023 Petr Gajdos - update to 2.13.1: * Fix a typo in ``_locales_to_names`` * Fix ``setuptools`` dependency for Python 3.12 * This version, Babel 2.13, is the last version of Babel to support Python 3.7. * 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 * 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 * Mon May 08 2023 Daniel Garcia - 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 AATTAlexWaygood in #975 * Become 2.12.1 by AATTakx in #976- 2.12.0: * docs(changes): Fix broken issue links by AATTDenverCoder1 in #922 * Update docs build configuration by AATTakx in #924 * feat: Adds Format.compact_decimal utility by AATTDenverCoder1 in #921 * Remove vestigial Python 2 long check by AATTakx in #925 * feat: Support for short compact currency formats by AATTDenverCoder1 in #926 * Drop support for EOL Python 3.6 by AATTakx in #919 * Cast number to Decimal in _get_compact_format by AATTDenverCoder1 in #930 * Replace %/.format/concatenation with f-strings where feasible by AATTakx in #927 * ci: Fix testing dependencies by AATTDenverCoder1 in #936 * javascript extract improvements by AATTjohanneswilm in #939 * Fix compact singular formats and patterns with no numbers by AATTDenverCoder1 in #932 * fix typo by AATTuniontech-lilinjie in #941 * Enable pre-commit by AATTakx in #943 * Added inline type annotations to Babel by AATTDenverCoder1 in #934 * Implement zoneinfo support and make pytz optional by AATTds-cbo in #940 * Unify datetime imports by AATTakx in #945 * Minor cleanups by AATTakx in #948 * Renovate formatting in test_checkers and test_frontend by AATTakx in #950 * Add ruff for linting by AATTakx in #949 * Upgrade to CLDR 42 by AATTakx in #951 * Update test dependencies (tox v4) by AATTDenverCoder1 in #953 * Remove redundant tests for babel.support by AATTakx in #954 * Support for formatting NaN, Infinity by AATTDenverCoder1 in #955 * Clean up babel.localtime by AATTakx in #952 * Use standard library UTC by AATTakx in #957 * Fix unbound exc in babel.dates by AATTakx in #959 * Finally remove get_next_timezone_transition by AATTakx in #958 * More fixes and modernization by AATTakx in #960 * Keep AATTmodifiers when parsing locales by AATTmadduck in #947 * Add two new options in cmdline.rst docs by AATTm-aciek in #963 * Numbers and core type fixes by AATTDenverCoder1 in #966 * Use lru_cache where suitable by AATTakx in #967 * Fix two issues with fuzzy matching by AATTjeanas in #970 * Renovate CI tools a bit by AATTakx in #972 * Tox: also test with pytz installed by AATTakx in #974 * Become 2.12.0 by AATTakx in #973 * Thu Apr 13 2023 Matej Cepl - Make calling of %{sle15modernpython} optional. * Mon Nov 07 2022 Yogalakshmi Arunachalam - Update to 2.11.0 Upcoming deprecation * This version, Babel 2.11, is the last version of Babel to support Python 3.6. Babel 2.12 will require Python 3.7 or newer. Improvements * Support for hex escapes in JavaScript string literals :gh:`877` - Przemyslaw Wegrzyn * Add support for formatting decimals in compact form :gh:`909` - Jonah Lawrence * Adapt parse_date to handle ISO dates in ASCII format :gh:`842` - Eric L. * Use ast instead of eval for Python string extraction :gh:`915` - Aarni Koskela * This also enables extraction from static f-strings. F-strings with expressions are silently ignored (but won\'t raise an error as they used to). Infrastructure * Tests: Use regular asserts and pytest.raises() :gh:`875` – Aarni Koskela * Wheels are now built in GitHub Actions :gh:`888` – Aarni Koskela * Small improvements to the CLDR downloader script :gh:`894` – Aarni Koskela * Remove antiquated __nonzero__ methods :gh:`896` - Nikita Sobolev * Remove superfluous __unicode__ declarations :gh:`905` - Lukas Juhrich * Mark package compatible with Python 3.11 :gh:`913` - Aarni Koskela * Quiesce pytest warnings :gh:`916` - Aarni Koskela Bugfixes * Use email.Message for pofile header parsing instead of the deprecated cgi.parse_header function. :gh:`876` – Aarni Koskela * Remove determining time zone via systemsetup on macOS :gh:`914` - Aarni Koskela Documentation * Update Python versions in documentation :gh:`898` - Raphael Nestler * Align BSD-3 license with OSI template :gh:`912` - Lukas Kahwe Smith * Fri Jun 17 2022 Yogalakshmi Arunachalam - update to 2.10.3 This is a bugfix release for Babel 2.10.2, which was mistakenly packaged with outdated locale data. Thanks to Michał Górny for pointing this out and Jun Omae for verifying. This and future Babel PyPI packages will be built by a more automated process, which should make problems like this less likely to occur- update to 2.10.2 This is a bugfix release for Babel 2.10.1. * Fallback count=”other” format in format_currency() (#872) - Jun Omae * Fix get_period_id() with dayPeriodRule across 0:00 (#871) - Jun Omae * Add support for b and B period symbols in time format (#869) - Jun Omae * chore(docs/typo): Fixes a minor typo in a function comment (#864) - Frank Harrison * Sat Jun 04 2022 Dirk Müller - 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 lineno * Messages: Fix missing trailing semicolon in plural form headers * CLI: Fix output of ``--list-locales`` to not be a bytes repr * Documentation is now correctly built again, and up to date * Tue Oct 05 2021 Stefan Schubert - Added BuildRequires: alts * Thu Sep 30 2021 Stefan Schubert - Use libalternatives instead of update-alternatives. * Tue May 11 2021 Dirk Müller - update to 2.9.1 (bsc#1185768, CVE-2021-42771, bsc#1185768, CVE-2021-20095): * 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.- obsoletes CVE-2021-42771-rel-path-traversal.patch in older dists * Fri Mar 05 2021 Markéta Machová - Substitute broken %ifpython3 macro * Wed Dec 16 2020 Michael Ströder - removed obsolete patches * python383.patch * pytest6.patch- update to 2.9.0 * Improvements - CLDR: Use CLDR 37 – Aarni Koskela (#734) - Dates: Handle ZoneInfo objects in get_timezone_location, get_timezone_name - Alessio Bogon (#741) - Numbers: Add group_separator feature in number formatting - Abdullah Javed Nesar (#726) * Bugfixes - Dates: Correct default Format().timedelta format to \'long\' to mute deprecation warnings – Aarni Koskela - Import: Simplify iteration code in \"import_cldr.py\" – Felix Schwarz - Import: Stop using deprecated ElementTree methods \"getchildren()\" and \"getiterator()\" – Felix Schwarz - Messages: Fix unicode printing error on Python 2 without TTY. – Niklas Hambüchen - Messages: Introduce invariant that _invalid_pofile() takes unicode line. – Niklas Hambüchen - Tests: fix tests when using Python 3.9 – Felix Schwarz - Tests: Remove deprecated \'sudo: false\' from Travis configuration – Jon Dufresne - Tests: Support Py.test 6.x – Aarni Koskela - Utilities: LazyProxy: Handle AttributeError in specified func – Nikiforov Konstantin (#724) - Utilities: Replace usage of parser.suite with ast.parse – Miro Hrončok - Support Py.test 6 - Aarni Koskela (#747, #750, #752) * Documentation - Update parse_number comments – Brad Martin (#708) - Add __iter__ to Catalog documentation – AATTCyanNani123 * Thu Aug 27 2020 Marketa Calabkova - Add patch to fix building with new pytest 6.0.1: * pytest6.patch * Tue May 19 2020 Tomáš Chvátal - Add patch to fix building with new python 3.8.3: * python383.patch * Tue May 19 2020 Tomáš Chvátal - Do not bother with documentation package, it is all available online * Mon Jan 13 2020 Marketa Calabkova - update to 2.8.0 * CLDR: Upgrade to CLDR 36.0 * Messages: Don\'t even open files with the \"ignore\" extraction method * Numbers: Fix formatting very small decimals when quantization is disabled * Messages: Attempt to sort all messages * Tue Jun 04 2019 pgajdosAATTsuse.com- version update to 2.7.0 Possibly incompatible changes * General: Internal uses of ``babel.util.odict`` have been replaced with ``collections.OrderedDict`` from The Python standard library. Improvements * CLDR: Upgrade to CLDR 35.1 - Alberto Mardegan, Aarni Koskela (#626, #643) * General: allow anchoring path patterns to the start of a string - Brian Cappello (#600) * General: Bumped version requirement on pytz - AATTchrisbrake (#592) * Messages: `pybabel compile`: exit with code 1 if errors were encountered - Aarni Koskela (#647) * Messages: Add omit-header to update_catalog - Cédric Krier (#633) * Messages: Catalog update: keep user comments from destination by default - Aarni Koskela (#648) * Messages: Skip empty message when writing mo file - Cédric Krier (#564) * Messages: Small fixes to avoid crashes on badly formatted .po files - Bryn Truscott (#597) * Numbers: `parse_decimal()` `strict` argument and `suggestions` - Charly C (#590) * Numbers: don\'t repeat suggestions in parse_decimal strict - Serban Constantin (#599) * Numbers: implement currency formatting with long display names - Luke Plant (#585) * Numbers: parse_decimal(): assume spaces are equivalent to non-breaking spaces when not in strict mode - Aarni Koskela (#649) * Performance: Cache locale_identifiers() - Aarni Koskela (#644) Bugfixes * CLDR: Skip alt=... for week data (minDays, firstDay, weekendStart, weekendEnd) - Aarni Koskela (#634) * Dates: Fix wrong weeknumber for 31.12.2018 - BT-sschmid (#621) * Locale: Avoid KeyError trying to get data on WindowsXP - mondeja (#604) * Locale: get_display_name(): Don\'t attempt to concatenate variant information to None - Aarni Koskela (#645) * Messages: pofile: Add comparison operators to _NormalizedString - Aarni Koskela (#646) * Messages: pofile: don\'t crash when message.locations can\'t be sorted - Aarni Koskela (#646) * Tue Dec 04 2018 Matej Cepl - Remove superfluous devel dependency for noarch package * Sun Jun 24 2018 arunAATTgmx.de- update to version 2.6.0: * Possibly incompatible changes + Numbers: Refactor decimal handling code and allow bypass of decimal quantization. (AATTkdeldycke) (PR #538) + Messages: allow processing files that are in locales unknown to Babel (AATTakx) (PR #557) + General: Drop support for EOL Python 2.6 and 3.3 (AATThugovk) (PR [#546]) * Other changes + CLDR: Use CLDR 33 (AATTakx) (PR #581) + Lists: Add support for various list styles other than the default (AATTakx) (#552) + Messages: Add new PoFileError exception (AATTBedrock02) (PR #532) + Times: Simplify Linux distro specific explicit timezone setting search (AATTscop) (PR #528) * Bugfixes + CLDR: avoid importing alt=narrow currency symbols (AATTakx) (PR [#558]) + CLDR: ignore non-Latin numbering systems (AATTakx) (PR #579) + Docs: Fix improper example for date formatting (AATTPTrottier) (PR [#574]) + Tooling: Fix some deprecation warnings (AATTakx) (PR #580) * Tooling & docs + Add explicit signatures to some date autofunctions (AATTxmo-odoo) (PR #554) + Include license file in the generated wheel package (AATTjdufresne) (PR #539) + Python 3.6 invalid escape sequence deprecation fixes (AATTscop) (PR [#528]) + Test and document all supported Python versions (AATTjdufresne) (PR [#540]) + Update copyright header years and authors file (AATTakx) (PR #559) * Sun May 06 2018 arunAATTgmx.de- update to version 2.5.3: * This is a maintenance release that reverts undesired API-breaking changes that slipped into 2.5.2 (see https://github.com/python-babel/babel/issues/550). It is based on v2.5.1 (f29eccd) with commits 7cedb84, 29da2d2 and edfb518 cherry-picked on top.- changes from version 2.5.2: * Bugfixes + Revert the unnecessary PyInstaller fixes from 2.5.0 and 2.5.1 (#533) (AATTyagebu) * Tue Feb 27 2018 aplanasAATTsuse.com- Export TZ and LC_ALL before running the tests. Without this python-Babel is not able to see the TZ variable, and produce a `local` LOCALTZ * Thu Oct 05 2017 arunAATTgmx.de- specfile: * require freezegun for tests- update to version 2.5.1: * Use a fixed datetime to avoid test failures (#520) (AATTnarendravardi) * Parse multi-line __future__ imports better (#519) (AATTakx) * Fix validate_currency docstring (#522) * Allow normalize_locale and exists to handle various unexpected inputs (#523) (AATTsuhojm) * Make PyInstaller support more robust (#525, #526) (AATTthijstriemstra, AATTakx) * Wed Aug 23 2017 tbechtoldAATTsuse.com- update to 2.5.0: * Numbers: Add currency utilities and helpers (#491) (AATTkdeldycke) * Support PyInstaller (#500, #505) (AATTwodo) * Dates: Add __str__ to DateTimePattern (#515) (AATTsfermigier) * Dates: Fix an invalid string to bytes comparison when parsing TZ files on Py3 (#498) (AATTrowillia) * Dates: Formatting zero-padded components of dates is faster (#517) (AATTakx) * Documentation: Fix \"Good Commits\" link in CONTRIBUTING.md (#511) (AATTnaryanacharya6) * Documentation: Fix link to Python gettext module (#512) (AATTLinkid) * Messages: Allow both dash and underscore separated locale identifiers in pofiles (#489, #490) (AATTakx) * Messages: Extract Python messages in nested gettext calls (#488) (AATTsublee) * Messages: Fix in-place editing of dir list while iterating (#476, #492) (AATTMarcDufresne) * Messages: Stabilize sort order (#482) (AATTxavfernandez) * Time zones: Honor the no-inherit marker for metazone names (#405) (AATTakx) * Sat May 06 2017 toddrme2178AATTgmail.com- Fix provides/obsoletes * Fri Mar 31 2017 aloisioAATTgmx.com- Update to 2.4.0 * CLDR: CLDR 29 is now used instead of CLDR 28 (#405) (AATTakx) * Messages: Add option ‘add_location’ for location line formatting (#438, #459) (AATTrrader, AATTalxpy) * Numbers: Allow full control of decimal behavior (#410) (AATTetanol)- Converted to single-spec * Mon May 02 2016 dmuellerAATTsuse.com- 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 AATTjun66j5 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 necessary * Mon Feb 01 2016 toddrme2178AATTgmail.com- update to version 2.2.0: * Bugfixes + General: Add __hash__ to Locale. (#303) (2aa8074) + General: Allow files with BOM if they\'re UTF-8 (#189) (da87edd) + General: localedata directory is now locale-data (#109) (2d1882e) + General: odict: Fix pop method (0a9e97e) + General: Removed uses of datetime.date class from *.dat files (#174) (94f6830) + Messages: Fix plural selection for chinese (531f666) + Messages: Fix typo and add semicolon in plural_forms (5784501) + Messages: Flatten NullTranslations.files into a list (ad11101) + Times: FixedOffsetTimezone: fix display of negative offsets (d816803) * Features + CLDR: Update to CLDR 28 (#292) (9f7f4d0) + General: Add __copy__ and __deepcopy__ to LazyProxy. (a1cc3f1) + General: Add official support for Python 3.4 and 3.5 + General: Improve odict performance by making key search O(1) (6822b7f) + Locale: Add an ordinal_form property to Locale (#270) (b3f3430) + Locale: Add support for list formatting (37ce4fa, be6e23d) + Locale: Check inheritance exceptions first (3ef0d6d) + Messages: Allow file locations without line numbers (#279) (79bc781) + Messages: Allow passing a callable to `extract()` (#289) (3f58516) + Messages: Support \'Language\' header field of PO files (#76) (3ce842b) + Messages: Update catalog headers from templates (e0e7ef1) + Numbers: Properly load and expose currency format types (#201) (df676ab) + Numbers: Use cdecimal by default when available (b6169be) + Numbers: Use the CLDR\'s suggested number of decimals for format_currency (#139) (201ed50) + Times: Add format_timedelta(format=\'narrow\') support (edc5eb5)- update to version 2.1.1: * Fix Locale.parse using \"global.dat\" incompatible types (https://github.com/python-babel/babel/issues/174) * Fix display of negative offsets in \"FixedOffsetTimezone\" (https://github.com/python-babel/babel/issues/214) * Improved odict performance which is used during localization file build, should improve compilation time for large projects * Add support for \"narrow\" format for \"format_timedelta\" * Add universal wheel support * Support \'Language\' header field in .PO files (fixes https://github.com/python-babel/babel/issues/76) * Test suite enhancements (coverage, broken tests fixed, etc) * Documentation updated- changes from version 2.0: * Added support for looking up currencies that belong to a territory through the :func:`babel.numbers.get_territory_currencies` function. * Improved Python 3 support. * Fixed some broken tests for timezone behavior. * Improved various smaller things for dealing with dates.- changes from version 1.4: * Fixed a bug that caused deprecated territory codes not being converted properly by the subtag resolving. This for instance showed up when trying to use \"und_UK\" as a language code which now properly resolves to \"en_GB\". * Fixed a bug that made it impossible to import the CLDR data from scratch on windows systems.- fix update-alternatives- add skip-dst-tests.patch: drop DST related tests (workaround issue #156)- Add fix-timezone-test.patch: already included upstream- Remove 0001-disable_timezone_tests.patch in favor of fix-timezone-test.patch * Fri Jul 24 2015 seife+obsAATTb1-systems.com- fix build on CentOS/RHEL by specifying TZ=UTC for %check- fix CentOS/RHEL by depending on /usr/sbin/update-alternatives * Thu May 28 2015 toddrme2178AATTgmail.com- Fix update-alternatives usage * Sat Nov 08 2014 Led - fix bashism in pre script
|
|
|