Skip to content

Commit 957f86d

Browse files
committed
Intermediate changes
commit_hash:a48f9d9abf0ac0bec1edeb52eb1d3fea3fe7d758
1 parent 0c30aa1 commit 957f86d

Some content is hidden

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

46 files changed

+864
-594
lines changed

contrib/python/pip/.dist-info/METADATA

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: pip
3-
Version: 24.2
3+
Version: 24.3.1
44
Summary: The PyPA recommended tool for installing Python packages.
55
Author-email: The pip developers <[email protected]>
66
License: MIT
@@ -20,6 +20,7 @@ Classifier: Programming Language :: Python :: 3.9
2020
Classifier: Programming Language :: Python :: 3.10
2121
Classifier: Programming Language :: Python :: 3.11
2222
Classifier: Programming Language :: Python :: 3.12
23+
Classifier: Programming Language :: Python :: 3.13
2324
Classifier: Programming Language :: Python :: Implementation :: CPython
2425
Classifier: Programming Language :: Python :: Implementation :: PyPy
2526
Requires-Python: >=3.8

contrib/python/pip/AUTHORS.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Anthony Sottile
5757
Antoine Musso
5858
Anton Ovchinnikov
5959
Anton Patrushev
60+
Anton Zelenov
6061
Antonio Alvarado Hernandez
6162
Antony Lee
6263
Antti Kaihola
@@ -225,6 +226,7 @@ Diego Ramirez
225226
DiegoCaraballo
226227
Dimitri Merejkowsky
227228
Dimitri Papadopoulos
229+
Dimitri Papadopoulos Orfanos
228230
Dirk Stolle
229231
Dmitry Gladkov
230232
Dmitry Volodin
@@ -690,6 +692,7 @@ snook92
690692
socketubs
691693
Sorin Sbarnea
692694
Srinivas Nyayapati
695+
Srishti Hegde
693696
Stavros Korokithakis
694697
Stefan Scherfke
695698
Stefano Rivera

contrib/python/pip/patches/01-arcadia.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

contrib/python/pip/pip/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import List, Optional
22

3-
__version__ = "24.2"
3+
__version__ = "24.3.1"
44

55

66
def main(args: Optional[List[str]] = None) -> int:

contrib/python/pip/pip/_internal/build_env.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ def _install_requirements(
242242
prefix.path,
243243
"--no-warn-script-location",
244244
"--disable-pip-version-check",
245+
# The prefix specified two lines above, thus
246+
# target from config file or env var should be ignored
247+
"--target",
248+
"",
245249
]
246250
if logger.getEffectiveLevel() <= logging.DEBUG:
247251
args.append("-vv")

contrib/python/pip/pip/_internal/cli/index_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SessionCommandMixin(CommandContextMixIn):
5454

5555
def __init__(self) -> None:
5656
super().__init__()
57-
self._session: Optional["PipSession"] = None
57+
self._session: Optional[PipSession] = None
5858

5959
@classmethod
6060
def _get_index_urls(cls, options: Values) -> Optional[List[str]]:

contrib/python/pip/pip/_internal/cli/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77
import textwrap
88
from contextlib import suppress
9-
from typing import Any, Dict, Generator, List, Optional, Tuple
9+
from typing import Any, Dict, Generator, List, NoReturn, Optional, Tuple
1010

1111
from pip._internal.cli.status_codes import UNKNOWN_ERROR
1212
from pip._internal.configuration import Configuration, ConfigurationError
@@ -289,6 +289,6 @@ def get_default_values(self) -> optparse.Values:
289289
defaults[option.dest] = option.check_value(opt_str, default)
290290
return optparse.Values(defaults)
291291

292-
def error(self, msg: str) -> None:
292+
def error(self, msg: str) -> NoReturn:
293293
self.print_usage(sys.stderr)
294294
self.exit(UNKNOWN_ERROR, f"{msg}\n")

contrib/python/pip/pip/_internal/cli/progress_bars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def _rich_progress_bar(
2525
iterable: Iterable[bytes],
2626
*,
2727
bar_type: str,
28-
size: int,
28+
size: Optional[int],
2929
) -> Generator[bytes, None, None]:
3030
assert bar_type == "on", "This should only be used in the default mode."
3131

contrib/python/pip/pip/_internal/commands/list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def run(self, options: Values, args: List[str]) -> int:
176176
if options.excludes:
177177
skip.update(canonicalize_name(n) for n in options.excludes)
178178

179-
packages: "_ProcessedDists" = [
179+
packages: _ProcessedDists = [
180180
cast("_DistWithLatestInfo", d)
181181
for d in get_environment(options.path).iter_installed_distributions(
182182
local_only=options.local,

contrib/python/pip/pip/_internal/commands/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def transform_hits(hits: List[Dict[str, str]]) -> List["TransformedHit"]:
8989
packages with the list of versions stored inline. This converts the
9090
list from pypi into one we can use.
9191
"""
92-
packages: Dict[str, "TransformedHit"] = OrderedDict()
92+
packages: Dict[str, TransformedHit] = OrderedDict()
9393
for hit in hits:
9494
name = hit["name"]
9595
summary = hit["summary"]

0 commit comments

Comments
 (0)