Skip to content

[GRDM-58288] Replace chardet with charset-normalizer - #24

Closed
chiku-samugari wants to merge 1 commit into
RCOSDP:masterfrom
chiku-samugari:feature/replace-chardet-with-charset-normalizer
Closed

chiku-samugari wants to merge 1 commit into
RCOSDP:masterfrom
chiku-samugari:feature/replace-chardet-with-charset-normalizer

Conversation

@chiku-samugari

Copy link
Copy Markdown

chardetはバージョン7でAPIの破壊的変更があるので、chardetの代わりにcharset-normalizerを使うように変更するPRです。upstreamで同様の変更がPR#1510として取り入れられており、このPRはプロジェクト設定ファイルの違い (upstream: pyproject.toml 、本フォーク: setup.py)以外はupstreamに取り入れられたのと同じ内容です。

`chardet` 7 introduces breaking API changes that remove the
`universaldetector` module used by `open_guess_encoding` function.

Switch to charset-normalizer, which is a drop-in alternative that
requests supports natively. This follows the upstream fix in
jupyterhub/repo2docker PR#1510.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant