Skip to content

Commit

Permalink
Remove vendored charset_normalizer (#12703)
Browse files Browse the repository at this point in the history
* Upgrade to Requests 2.32.0

* Remove charset_normalizer from vendored dependencies
  • Loading branch information
nateprewitt authored May 24, 2024
1 parent 038dc75 commit fb71f4c
Show file tree
Hide file tree
Showing 33 changed files with 273 additions and 4,950 deletions.
5 changes: 5 additions & 0 deletions news/charset_normalizer.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Remove vendored charset_normalizer.

Requests provides optional character detection support on some APIs
when processing ambiguous bytes. This isn't relevant for pip to function
and we're able to remove it due to recent upstream changes.
1 change: 1 addition & 0 deletions news/requests.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade Requests to 2.32.0
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ 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
21 changes: 0 additions & 21 deletions src/pip/_vendor/charset_normalizer/LICENSE

This file was deleted.

46 changes: 0 additions & 46 deletions src/pip/_vendor/charset_normalizer/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions src/pip/_vendor/charset_normalizer/__main__.py

This file was deleted.

Loading

0 comments on commit fb71f4c

Please sign in to comment.