Skip to content

Commit e8e592a

Browse files
authored
Merge pull request #12670 from pradyunsg/vendoring-upgrade
Upgrade various vendored dependencies
2 parents bc84491 + d24ddc3 commit e8e592a

Some content is hidden

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

42 files changed

+3631
-1344
lines changed

news/CacheControl.vendor.rst

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

news/idna.vendor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Upgrade idna to 3.6
1+
Upgrade idna to 3.7

news/platformdirs.vendor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Upgrade platformdirs to 4.2.0
1+
Upgrade platformdirs to 4.2.1

news/pyparsing.vendor.rst

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

news/rich.vendor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Upgrade rich to 13.7.0
1+
Upgrade rich to 13.7.1

news/setuptools.vendor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Upgrade setuptools to 69.1.1
1+
Upgrade setuptools to 69.5.1

news/typing_extensions.vendor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Upgrade typing_extensions to 4.9.0
1+
Upgrade typing_extensions to 4.11.0

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ distro = []
144144
setuptools = "pkg_resources"
145145

146146
[tool.vendoring.license.fallback-urls]
147-
CacheControl = "https://raw.githubusercontent.com/ionrock/cachecontrol/v0.12.6/LICENSE.txt"
148147
distlib = "https://bitbucket.org/pypa/distlib/raw/master/LICENSE.txt"
149148
webencodings = "https://github.com/SimonSapin/python-webencodings/raw/master/LICENSE"
150149

src/pip/_vendor/cachecontrol/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99
__author__ = "Eric Larson"
1010
__email__ = "[email protected]"
11-
__version__ = "0.13.1"
11+
__version__ = "0.14.0"
1212

1313
from pip._vendor.cachecontrol.adapter import CacheControlAdapter
1414
from pip._vendor.cachecontrol.controller import CacheController

src/pip/_vendor/cachecontrol/adapter.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,21 +125,21 @@ def build_response(
125125
else:
126126
# Wrap the response file with a wrapper that will cache the
127127
# response when the stream has been consumed.
128-
response._fp = CallbackFileWrapper( # type: ignore[attr-defined]
129-
response._fp, # type: ignore[attr-defined]
128+
response._fp = CallbackFileWrapper( # type: ignore[assignment]
129+
response._fp, # type: ignore[arg-type]
130130
functools.partial(
131131
self.controller.cache_response, request, response
132132
),
133133
)
134134
if response.chunked:
135-
super_update_chunk_length = response._update_chunk_length # type: ignore[attr-defined]
135+
super_update_chunk_length = response._update_chunk_length
136136

137137
def _update_chunk_length(self: HTTPResponse) -> None:
138138
super_update_chunk_length()
139139
if self.chunk_left == 0:
140-
self._fp._close() # type: ignore[attr-defined]
140+
self._fp._close() # type: ignore[union-attr]
141141

142-
response._update_chunk_length = types.MethodType( # type: ignore[attr-defined]
142+
response._update_chunk_length = types.MethodType( # type: ignore[method-assign]
143143
_update_chunk_length, response
144144
)
145145

0 commit comments

Comments
 (0)