Skip to content

Commit

Permalink
Vendor charset-normalizer instead of chardet (#12638)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetech committed May 6, 2024
1 parent 12c171f commit 47d0dc5
Show file tree
Hide file tree
Showing 75 changed files with 4,889 additions and 41,836 deletions.
2 changes: 1 addition & 1 deletion news/chardet.vendor.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Upgrade chardet to 5.2.0
The ``chardet`` vendoring is removed (replaced by ``charset-normalizer``).
1 change: 1 addition & 0 deletions news/charset_normalizer.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added at version 3.3.2.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ drop = [
"bin/",
# interpreter and OS specific msgpack libs
"msgpack/*.so",
# interpreter and OS specific charset-normalizer libs
"charset_normalizer/*.so",
# unneeded parts of setuptools
"easy_install.py",
"setuptools",
Expand Down
502 changes: 0 additions & 502 deletions src/pip/_vendor/chardet/LICENSE

This file was deleted.

115 changes: 0 additions & 115 deletions src/pip/_vendor/chardet/__init__.py

This file was deleted.

6 changes: 0 additions & 6 deletions src/pip/_vendor/chardet/__main__.py

This file was deleted.

0 comments on commit 47d0dc5

Please sign in to comment.