Skip to content

Commit fb17ee1

Browse files
committed
Upgrade requests to 2.28.2
1 parent 85e128b commit fb17ee1

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

news/requests.vendor.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade requests to 2.28.2

src/pip/_vendor/requests/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ def check_compatibility(urllib3_version, chardet_version, charset_normalizer_ver
7777
elif charset_normalizer_version:
7878
major, minor, patch = charset_normalizer_version.split(".")[:3]
7979
major, minor, patch = int(major), int(minor), int(patch)
80-
# charset_normalizer >= 2.0.0 < 3.0.0
81-
assert (2, 0, 0) <= (major, minor, patch) < (3, 0, 0)
80+
# charset_normalizer >= 2.0.0 < 4.0.0
81+
assert (2, 0, 0) <= (major, minor, patch) < (4, 0, 0)
8282
else:
8383
raise Exception("You need either charset_normalizer or chardet installed")
8484

src/pip/_vendor/requests/__version__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
__title__ = "requests"
66
__description__ = "Python HTTP for Humans."
77
__url__ = "https://requests.readthedocs.io"
8-
__version__ = "2.28.1"
9-
__build__ = 0x022801
8+
__version__ = "2.28.2"
9+
__build__ = 0x022802
1010
__author__ = "Kenneth Reitz"
1111
__author_email__ = "[email protected]"
1212
__license__ = "Apache 2.0"
13-
__copyright__ = "Copyright 2022 Kenneth Reitz"
13+
__copyright__ = "Copyright Kenneth Reitz"
1414
__cake__ = "\u2728 \U0001f370 \u2728"

src/pip/_vendor/requests/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def prepare_url(self, url, params):
438438
if not scheme:
439439
raise MissingSchema(
440440
f"Invalid URL {url!r}: No scheme supplied. "
441-
f"Perhaps you meant http://{url}?"
441+
f"Perhaps you meant https://{url}?"
442442
)
443443

444444
if not host:

src/pip/_vendor/vendor.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packaging==21.3
77
platformdirs==2.6.2
88
pyparsing==3.0.9
99
pyproject-hooks==1.0.0
10-
requests==2.28.1
10+
requests==2.28.2
1111
certifi==2022.09.24
1212
chardet==5.0.0
1313
idna==3.4

0 commit comments

Comments
 (0)