Opened 6 weeks ago

Closed 6 weeks ago

#21068 closed enhancement (fixed)

Python Module Dependency Updates for BLFS 12.3 - babel-2.17.0 certifi-2025.1.31 charset-normalizer-3.4.1 idna-3.10 msgpack-1.1.0 urllib3-2.3.0 pytz-2025.1

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 12.3
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New versions of Python Module dependencies for BLFS 12.3.

Change History (10)

comment:1 by Douglas R. Reno, 6 weeks ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 6 weeks ago

Babel

Version 2.17.0

Happy 2025! This release is being made from FOSDEM 2025, in Brussels, Belgium.

Thank you to all contributors, new and old, and here's to another great year of 
internationalization and localization!

Features

    CLDR: Babel now uses CLDR 46, by @tomasr8 in :gh:`1145`
    Dates: Allow specifying an explicit format in parse_date/parse_time by @tomasr8 in 
:gh:`1131`
    Dates: More alternate characters are now supported by format_skeleton. By @tomasr8 
in :gh:`1122`
    Dates: Support short and narrow formats for format_timedelta when using 
add_direction, by @akx in :gh:`1163`
    Messages: .po files now enclose white spaces in filenames like GNU gettext does. By 
@Dunedan in :gh:`1105`, and @tomasr8 in :gh:`1120`
    Messages: Initial support for Message.python_brace_format, by @tomasr8 in :gh:`1169`
    Numbers: LC_MONETARY is now preferred when formatting currencies, by @akx in 
:gh:`1173`

Bugfixes

    Dates: Make seconds optional in parse_time time formats by @tomasr8 in :gh:`1141`
    Dates: Replace str.index with str.find by @tomasr8 in :gh:`1130`
    Dates: Strip extra leading slashes in /etc/localtime by @akx in :gh:`1165`
    Dates: Week numbering and formatting of dates with week numbers was repaired by 
@jun66j5 in :gh:`1179`
    General: Improve handling for locale=None by @akx in :gh:`1164`
    General: Remove redundant assignment in Catalog.__setitem__ by @tomasr8 in 
:gh:`1167`
    Messages: Fix extracted lineno with nested calls, by @dylankiss in :gh:`1126`
    Messages: Fix of list index out of range when translations is empty, by @gabe-
sherman in :gh:`1135`
    Messages: Fix the way obsolete messages are stored by @tomasr8 in :gh:`1132`
    Messages: Simplify read_mo logic regarding catalog.charset by @tomasr8 in :gh:`1148`
    Messages: Use the first matching method & options, rather than first matching method 
& last options, by @jpmckinney in :gh:`1121`

Deprecation and compatibility

    Dates: Fix deprecation warnings for datetime.utcnow() by @tomasr8 in :gh:`1119`
    Docs: Adjust docs/conf.py to add compatibility with sphinx 8 by @hrnciar in 
:gh:`1155`
    General: Import Literal from the typing module by @tomasr8 in :gh:`1175`
    General: Replace OrderedDict with just dict by @tomasr8 in :gh:`1149`
    Messages: Mark wraptext deprecated; use TextWrapper directly in write_po by @akx in 
:gh:`1140`

Infrastructure

    Add tzdata as dev dependency and sync with tox.ini by @wandrew004 in :gh:`1159`
    Duplicate test code was deleted by @mattdiaz007 in :gh:`1138`
    Increase test coverage of the python_format checker by @tomasr8 in :gh:`1176`
    Small cleanups by @akx in :gh:`1160`, :gh:`1166`, :gh:`1170` and :gh:`1172`
    Update CI to use python 3.13 and Ubuntu 24.04 by @tomasr8 in :gh:`1153`
Last edited 6 weeks ago by Douglas R. Reno (previous) (diff)

comment:3 by Douglas R. Reno, 6 weeks ago

Babel no longer needs the specific version of freezegun

comment:4 by Douglas R. Reno, 6 weeks ago

Certifi's only commits other than certificates are for Github-specific CI dependency updates.

comment:5 by Douglas R. Reno, 6 weeks ago

charset-normalizer

3.4.1 (2024-12-24)
Changed

    Project metadata are now stored using pyproject.toml instead of setup.cfg using 
setuptools as the build backend.
    Enforce annotation delayed loading for a simpler and consistent types in the 
project.
    Optional mypyc compilation upgraded to version 1.14 for Python >= 3.8

Added

    pre-commit configuration.
    noxfile.

Removed

    build-requirements.txt as per using pyproject.toml native build configuration.
    bin/integration.py and bin/serve.py in favor of downstream integration test (see 
noxfile).
    setup.cfg in favor of pyproject.toml metadata configuration.
    Unused utils.range_scan function.

Fixed

    Converting content to Unicode bytes may insert utf_8 instead of preferred utf-8. 
(#572)
    Deprecation warning "'count' is passed as positional argument" when converting to 
Unicode bytes on Python 3.13+

3.4.0 (2024-10-08)

Added

    Argument --no-preemptive in the CLI to prevent the detector to search for hints.
    Support for Python 3.13 (#512)

Fixed

    Relax the TypeError exception thrown when trying to compare a CharsetMatch with 
anything else than a CharsetMatch.
    Improved the general reliability of the detector based on user feedbacks. (#520) 
(#509) (#498) (#407) (#537)
    Declared charset in content (preemptive detection) not changed when converting to 
utf-8 bytes. (#381)

comment:6 by Douglas R. Reno, 6 weeks ago

idna

3.10 (2024-09-15)

    Reverted to Unicode 15.1.0 data. Unicode 16 has some significant changes to UTS46 
processing that will require more work to properly implement.

3.9 (2024-09-13)

    Update to Unicode 16.0.0
    Deprecate setup.cfg in favour of pyproject.toml
    Use ruff for code formatting

Thanks to Waket Zheng for contributions to this release.

3.8 (2024-08-23)

    Fix regression where IDNAError exception was not being produced for certain inputs.
    Add support for Python 3.13, drop support for Python 3.5 as it is no longer 
testable.
    Documentation improvements
    Updates to package testing using Github actions

Thanks to Hugo van Kemenade for contributions to this release.

comment:7 by Douglas R. Reno, 6 weeks ago

msgpack

1.1.0

Release Date: 2024-09-10

    use PyLong_* instead of PyInt_* for compatibility with future Cython. (#620)

1.1.0rc2

Release Date: 2024-08-19

    Update Cython to 3.0.11 for better Python 3.13 support.
    Update cibuildwheel to 2.20.0 to build Python 3.13 wheels.

1.1.0rc1

Release Date: 2024-05-07

    Update Cython to 3.0.10 to reduce C warnings and future support for Python 3.13.
    Stop using C++ mode in Cython to reduce compile error on some compilers.
    Packer() has buf_size option to specify initial size of internal buffer to reduce 
reallocation.
    The default internal buffer size of Packer() is reduced from 1MiB to 256KiB to 
optimize for common use cases. Use buf_size if you are packing large data.
    Timestamp.to_datetime() and Timestamp.from_datetime() become more accurate by 
avoiding floating point calculations. (#591)
    The Cython code for Unpacker has been slightly rewritten for maintainability.
    The fallback implementation of Packer() and Unpacker() now uses keyword-only 
arguments to improve compatibility with the Cython implementation.

comment:8 by Douglas R. Reno, 6 weeks ago

urllib3

2.3.0 (2024-12-22)
Features

    Added HTTPResponse.shutdown() to stop any ongoing or future reads for a specific 
response. It calls shutdown(SHUT_RD) on the underlying socket. This feature was 
sponsored by LaunchDarkly. (#2868)
    Added support for JavaScript Promise Integration on Emscripten. This enables more 
efficient WebAssembly requests and streaming, and makes it possible to use in Node.js if 
you launch it as node --experimental-wasm-stack-switching. (#3400)
    Added the proxy_is_tunneling property to HTTPConnection and HTTPSConnection. (#3285)
    Added pickling support to NewConnectionError and NameResolutionError. (#3480)

Bugfixes

    Fixed an issue in debug logs where the HTTP version was rendering as "HTTP/11" 
instead of "HTTP/1.1". (#3489)

Deprecations and Removals

    Removed support for Python 3.8. (#3492)

2.2.3 (2024-09-12)
Features

    Added support for Python 3.13. (#3473)

Bugfixes

    Fixed the default encoding of chunked request bodies to be UTF-8 instead of 
ISO-8859-1. All other methods of supplying a request body already use UTF-8 starting in 
urllib3 v2.0. (#3053)
    Fixed ResourceWarning on CONNECT with Python < 3.11.4 by backporting python/
cpython#103472. (#3252)
    Adjust tolerance for floating-point comparison on Windows to avoid flakiness in CI 
(#3413)
    Fixed a crash where certain standard library hash functions were absent in 
restricted environments. (#3432)
    Fixed mypy error when adding to HTTPConnection.default_socket_options. (#3448)

HTTP/2 (experimental)

HTTP/2 support is still in early development.

    Excluded Transfer-Encoding: chunked from HTTP/2 request body (#3425)

    Added version checking for h2 (https://pypi.org/project/h2/) usage.

    Now only accepting supported h2 major version 4.x.x. (#3290)

    Added a probing mechanism for determining whether a given target origin supports 
HTTP/2 via ALPN. (#3301)

    Add support for sending a request body with HTTP/2 (#3302)

Deprecations and Removals

    Note for downstream distributors: the _version.py file has been removed and is now 
created at build time by hatch-vcs. (#3412)
    Drop support for end-of-life PyPy3.8 and PyPy3.9. (#3475)

comment:9 by Douglas R. Reno, 6 weeks ago

Summary: Python Module Dependency Updates for BLFS 12.3 - babel-2.17.0 certifi-2025.1.31 charset-normalizer-3.4.1 idna-3.10 msgpack-1.1.0 urllib3-2.3.0Python Module Dependency Updates for BLFS 12.3 - babel-2.17.0 certifi-2025.1.31 charset-normalizer-3.4.1 idna-3.10 msgpack-1.1.0 urllib3-2.3.0 pytz-2025.1

While reviewing my spreadsheet for the final time before pushing, I noticed that I forgot a module - pytz-2025.1. The changes for this module are just updates to the bundled IANA timezone database.

comment:10 by Douglas R. Reno, 6 weeks ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.