Skip to content

Commit

Permalink
Merge pull request #11916 from pfmoore/vendoring-updates
Browse files Browse the repository at this point in the history
Vendoring updates for 23.1
  • Loading branch information
pfmoore authored Apr 3, 2023
2 parents 84d3591 + c0ba818 commit 81f6a9f
Show file tree
Hide file tree
Showing 73 changed files with 1,481 additions and 752 deletions.
1 change: 1 addition & 0 deletions news/msgpack.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade msgpack to 1.0.5
1 change: 1 addition & 0 deletions news/platformdirs.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade platformdirs to 3.2.0
1 change: 1 addition & 0 deletions news/pygments.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade pygments to 2.14.0
1 change: 1 addition & 0 deletions news/rich.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade rich to 13.3.3
2 changes: 1 addition & 1 deletion news/setuptools.vendor.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Update pkg_resources (via setuptools) to 65.6.3
Upgrade setuptools to 67.6.1
1 change: 1 addition & 0 deletions news/tenacity.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade tenacity to 8.2.2
1 change: 1 addition & 0 deletions news/typing_extensions.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade typing_extensions to 4.5.0
1 change: 1 addition & 0 deletions news/urllib3.vendor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade urllib3 to 1.26.15
4 changes: 2 additions & 2 deletions src/pip/_vendor/msgpack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import sys


version = (1, 0, 4)
__version__ = "1.0.4"
version = (1, 0, 5)
__version__ = "1.0.5"


if os.environ.get("MSGPACK_PUREPYTHON") or sys.version_info[0] == 2:
Expand Down
2 changes: 1 addition & 1 deletion src/pip/_vendor/msgpack/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, seconds, nanoseconds=0):
Note: Negative times (before the UNIX epoch) are represented as negative seconds + positive ns.
"""
if not isinstance(seconds, int_types):
raise TypeError("seconds must be an interger")
raise TypeError("seconds must be an integer")
if not isinstance(nanoseconds, int_types):
raise TypeError("nanoseconds must be an integer")
if not (0 <= nanoseconds < 10**9):
Expand Down
2 changes: 1 addition & 1 deletion src/pip/_vendor/msgpack/fallback.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ def _pack(
self._pack_raw_header(n)
return self._buffer.write(obj)
if check(obj, memoryview):
n = len(obj) * obj.itemsize
n = obj.nbytes
if n >= 2**32:
raise ValueError("Memoryview is too large")
self._pack_bin_header(n)
Expand Down
Loading

0 comments on commit 81f6a9f

Please sign in to comment.