Skip to content

deps(deps): bump charset-normalizer from 3.4.9 to 3.5.1 in /sdks/python - #457

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdks/python/charset-normalizer-3.5.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdks/python/charset-normalizer-3.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Bumps charset-normalizer from 3.4.9 to 3.5.1.

Release notes

Sourced from charset-normalizer's releases.

Version 3.5.1

3.5.1 (2026-08-15)

Changed

  • Raised upper bound of setuptools to v84 (#794)
  • Cache performance access optimization for our CharInfo struct (prebuilt only).

Fixed

  • No longer decoding large content when the noise detector output give a high entropy. Only impacted large content input >1M bytes.

Version 3.5.0

3.5.0 (2026-08-12)

Added

  • Explicit support for Python 3.15

Fixed

  • Comparing a CharsetMatch to a non-alias encoding strings (#773)
  • Return 0.0 CharsetMatch.multi_byte_usage for empty payloads instead of crashing (#774)
  • A file with both a charset declaration and BOM/SIG did not verify first the BOM/SIG charset.
  • iso2022* cases misdetected due to a flaw in our multibyte chunking logic.

Changed

  • Replaced the optional mypyc build with Cython extensions while retaining the pure Python fallback. The previous engine (mypyc) started to hit rough limit around the optimization of our noise/coherence detector while Cython allows us to steer the engine toward the right generated optimized sources. This change SHOULD not impact bundler (e.g. Pyinstaller) as the module are immediately discoverable (i.e. not hidden import like mypyc did). Moreover, a long wished distribution is the abi3 wheels, this will allow us to no longer rush each year when a new Python interpreter is released. We still distribute the interpreter specific wheels for faster performance.
  • Applied micro-optimization on several utils.
  • CharsetMatches no longer sort on each match insertion.

Misc

  • Removed an old performance optimization attempt in apy.py (success_fast_tracked+payload_result_cache).
Changelog

Sourced from charset-normalizer's changelog.

3.5.1 (2026-08-15)

Changed

  • Raised upper bound of setuptools to v84 (#794)
  • Cache performance access optimization for our CharInfo struct (prebuilt only).

Fixed

  • No longer decoding large content when the noise detector output give a high entropy. Only impacted large content input >1M bytes.

3.5.0 (2026-08-12)

Added

  • Explicit support for Python 3.15

Fixed

  • Comparing a CharsetMatch to a non-alias encoding strings (#773)
  • Return 0.0 CharsetMatch.multi_byte_usage for empty payloads instead of crashing (#774)
  • A file with both a charset declaration and BOM/SIG did not verify first the BOM/SIG charset.
  • iso2022* cases misdetected due to a flaw in our multibyte chunking logic.

Changed

  • Replaced the optional mypyc build with Cython extensions while retaining the pure Python fallback. The previous engine (mypyc) started to hit rough limit around the optimization of our noise/coherence detector while Cython allows us to steer the engine toward the right generated optimized sources. This change SHOULD not impact bundler (e.g. Pyinstaller) as the module are immediately discoverable (i.e. not hidden import like mypyc did). Moreover, a long wished distribution is the abi3 wheels, this will allow us to no longer rush each year when a new Python interpreter is released. We still distribute the interpreter specific wheels for faster performance.
  • Applied micro-optimization on several utils.
  • CharsetMatches no longer sort on each match insertion.

Misc

  • Removed an old performance optimization attempt in apy.py (success_fast_tracked+payload_result_cache).
Commits
  • e239bdc Merge pull request #795 from jawah/release-3.5.1
  • 648ad77 docs: update faq
  • fab2749 docs: write changelog for 3.5.1
  • 7d32774 chore: bump version to 3.5.1
  • 9a69f60 docs: update data/info
  • 5dcc6dd perf: charinfo cache access optimization in cython
  • ea3b447 fix: do not validate-decode large payload when md says it's noise
  • a05917f chore: allow setuptools 84 builds (#794)
  • 3325d87 Merge pull request #792 from jawah/update-cibuildwheel-action
  • 77203b1 chore: reformat noxfile.py
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) python pip dependency (sdks/python) labels Aug 24, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) August 24, 2026 09:28
scttfrdmn added a commit that referenced this pull request Sep 16, 2026
Four Dependabot PRs (#455 pygments, #456 idna, #457 charset-normalizer, #487
multidict) each edited exactly one pin in sdks/python/requirements.txt. That
file's own header forbids that: "Do not edit a single line by hand: the point of
a frozen tree is that every line came from one resolution, and a hand edit makes
the file describe a tree nothing ever installed." Four single-line edits produce
a file describing four different resolutions, none of which was ever installed.

Regenerated instead, with the recipe the header documents, on python3.12 to
match actions/setup-python in the sdk-metrics job:

  python3.12 -m venv .venv && .venv/bin/pip install 'requests>=2.25.0' \
    'pyyaml>=6.0' 'psutil>=5.8.0' 'aiohttp>=3.8.0' pytest && .venv/bin/pip freeze

One resolution covers all four bumps and three transitive moves Dependabot never
filed, because nothing it watches names them directly: propcache 0.5.2 -> 0.5.3,
urllib3 2.7.0 -> 2.8.0, yarl 1.24.5 -> 1.25.1. That gap is the argument for
regenerating rather than merging the four — taking only the pins Dependabot
noticed leaves the tree at a state pip would never resolve to.

The package set is unchanged at 21 entries: no additions, no removals, only
versions. The header comment is untouched, including the note that the filename
is load-bearing for Trivy detection.

setup.py's install_requires is untouched and stays as ranges. This file is the
test job's tree, not the SDK's dependency declaration.

Verified: pytest tests/ against the regenerated venv, 73 passed and 31 subtests
passed.
@dependabot @github

dependabot Bot commented on behalf of github Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

Looks like charset-normalizer is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Sep 16, 2026
auto-merge was automatically disabled September 16, 2026 00:23

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/pip/sdks/python/charset-normalizer-3.5.1 branch September 16, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) python pip dependency (sdks/python)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants