Skip to content

Commit 47d0dc5

Browse files
authored
Vendor charset-normalizer instead of chardet (#12638)
1 parent 12c171f commit 47d0dc5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+4889
-41836
lines changed

news/chardet.vendor.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Upgrade chardet to 5.2.0
1+
The ``chardet`` vendoring is removed (replaced by ``charset-normalizer``).

news/charset_normalizer.vendor.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added at version 3.3.2.

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ drop = [
122122
"bin/",
123123
# interpreter and OS specific msgpack libs
124124
"msgpack/*.so",
125+
# interpreter and OS specific charset-normalizer libs
126+
"charset_normalizer/*.so",
125127
# unneeded parts of setuptools
126128
"easy_install.py",
127129
"setuptools",

src/pip/_vendor/chardet/LICENSE

-502
This file was deleted.

src/pip/_vendor/chardet/__init__.py

-115
This file was deleted.

src/pip/_vendor/chardet/__main__.py

-6
This file was deleted.

0 commit comments

Comments
 (0)