pip 25.0__py3-none-any.whl → 25.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pip/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  from typing import List, Optional
2
2
 
3
- __version__ = "25.0"
3
+ __version__ = "25.0.1"
4
4
 
5
5
 
6
6
  def main(args: Optional[List[str]] = None) -> int:
@@ -11,7 +11,6 @@ from collections import OrderedDict
11
11
  from types import TracebackType
12
12
  from typing import TYPE_CHECKING, Iterable, List, Optional, Set, Tuple, Type, Union
13
13
 
14
- from pip._vendor.certifi import where
15
14
  from pip._vendor.packaging.version import Version
16
15
 
17
16
  from pip import __file__ as pip_location
@@ -246,8 +245,6 @@ class BuildEnvironment:
246
245
  # target from config file or env var should be ignored
247
246
  "--target",
248
247
  "",
249
- "--cert",
250
- finder.custom_cert or where(),
251
248
  ]
252
249
  if logger.getEffectiveLevel() <= logging.DEBUG:
253
250
  args.append("-vv")
@@ -276,6 +273,8 @@ class BuildEnvironment:
276
273
  args.extend(["--proxy", finder.proxy])
277
274
  for host in finder.trusted_hosts:
278
275
  args.extend(["--trusted-host", host])
276
+ if finder.custom_cert:
277
+ args.extend(["--cert", finder.custom_cert])
279
278
  if finder.client_cert:
280
279
  args.extend(["--client-cert", finder.client_cert])
281
280
  if finder.allow_all_prereleases:
@@ -11,6 +11,7 @@ from typing import (
11
11
  Mapping,
12
12
  Optional,
13
13
  Sequence,
14
+ Union,
14
15
  cast,
15
16
  )
16
17
 
@@ -96,7 +97,7 @@ class WheelDistribution(importlib.metadata.Distribution):
96
97
  raise UnsupportedWheel(error)
97
98
  return text
98
99
 
99
- def locate_file(self, path: str | PathLike[str]) -> pathlib.Path:
100
+ def locate_file(self, path: Union[str, "PathLike[str]"]) -> pathlib.Path:
100
101
  # This method doesn't make sense for our in-memory wheel, but the API
101
102
  # requires us to define it.
102
103
  raise NotImplementedError
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pip
3
- Version: 25.0
3
+ Version: 25.0.1
4
4
  Summary: The PyPA recommended tool for installing Python packages.
5
5
  Author-email: The pip developers <distutils-sig@python.org>
6
6
  License: MIT
@@ -1,9 +1,9 @@
1
- pip/__init__.py,sha256=_N_hFrsElYkcpo13D9NxLwDzPF3WgkSXpv4FjKoSa_8,355
1
+ pip/__init__.py,sha256=aKiv_sTe7UbE7qmtCinJutFjqN0MndZQZ1fKLNwFFLE,357
2
2
  pip/__main__.py,sha256=WzbhHXTbSE6gBY19mNN9m4s5o_365LOvTYSgqgbdBhE,854
3
3
  pip/__pip-runner__.py,sha256=cPPWuJ6NK_k-GzfvlejLFgwzmYUROmpAR6QC3Q-vkXQ,1450
4
4
  pip/py.typed,sha256=EBVvvPRTn_eIpz5e5QztSCdrMX7Qwd7VP93RSoIlZ2I,286
5
5
  pip/_internal/__init__.py,sha256=MfcoOluDZ8QMCFYal04IqOJ9q6m2V7a0aOsnI-WOxUo,513
6
- pip/_internal/build_env.py,sha256=FBnRPwsUlI05I1SXoYsq_Zbe1dskPpCSbS4smuVI_Oo,10716
6
+ pip/_internal/build_env.py,sha256=Dv4UCClSg4uNaal_hL-trg5-zl3Is9CuIDxkChCkXF4,10700
7
7
  pip/_internal/cache.py,sha256=Jb698p5PNigRtpW5o26wQNkkUv4MnQ94mc471wL63A0,10369
8
8
  pip/_internal/configuration.py,sha256=-KOok6jh3hFzXMPQFPJ1_EFjBpAsge-RSreQuLHLmzo,14005
9
9
  pip/_internal/exceptions.py,sha256=2_byISIv3kSnI_9T-Esfxrt0LnTRgcUHyxu0twsHjQY,26481
@@ -61,7 +61,7 @@ pip/_internal/metadata/base.py,sha256=ft0K5XNgI4ETqZnRv2-CtvgYiMOMAeGMAzxT-f6VLJ
61
61
  pip/_internal/metadata/pkg_resources.py,sha256=U07ETAINSGeSRBfWUG93E4tZZbaW_f7PGzEqZN0hulc,10542
62
62
  pip/_internal/metadata/importlib/__init__.py,sha256=jUUidoxnHcfITHHaAWG1G2i5fdBYklv_uJcjo2x7VYE,135
63
63
  pip/_internal/metadata/importlib/_compat.py,sha256=c6av8sP8BBjAZuFSJow1iWfygUXNM3xRTCn5nqw6B9M,2796
64
- pip/_internal/metadata/importlib/_dists.py,sha256=oAYCd-ZyY-aZgDXo06qk-BOd6vXyg75g47WaLlAqdH0,8260
64
+ pip/_internal/metadata/importlib/_dists.py,sha256=ftmYiyfUGUIjnVwt6W-Ijsimy5c28KgmXly5Q5IQ2P4,8279
65
65
  pip/_internal/metadata/importlib/_envs.py,sha256=UUB980XSrDWrMpQ1_G45i0r8Hqlg_tg3IPQ63mEqbNc,7431
66
66
  pip/_internal/models/__init__.py,sha256=3DHUd_qxpPozfzouoqa9g9ts1Czr5qaHfFxbnxriepM,63
67
67
  pip/_internal/models/candidate.py,sha256=zzgFRuw_kWPjKpGw7LC0ZUMD2CQ2EberUIYs8izjdCA,753
@@ -429,10 +429,10 @@ pip/_vendor/urllib3/util/ssltransport.py,sha256=NA-u5rMTrDFDFC8QzRKUEKMG0561hOD4
429
429
  pip/_vendor/urllib3/util/timeout.py,sha256=cwq4dMk87mJHSBktK1miYJ-85G-3T3RmT20v7SFCpno,10168
430
430
  pip/_vendor/urllib3/util/url.py,sha256=lCAE7M5myA8EDdW0sJuyyZhVB9K_j38ljWhHAnFaWoE,14296
431
431
  pip/_vendor/urllib3/util/wait.py,sha256=fOX0_faozG2P7iVojQoE1mbydweNyTcm-hXEfFrTtLI,5403
432
- pip-25.0.dist-info/AUTHORS.txt,sha256=HqzpBVLfT1lBthqQfiDlVeFkg65hJ7ZQvvWhoq-BAsA,11018
433
- pip-25.0.dist-info/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
434
- pip-25.0.dist-info/METADATA,sha256=0zqSx1A3yJWb9n2TnoVwcP_2VnrD9kKT5yhgDQlbxvA,3675
435
- pip-25.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
436
- pip-25.0.dist-info/entry_points.txt,sha256=eeIjuzfnfR2PrhbjnbzFU6MnSS70kZLxwaHHq6M-bD0,87
437
- pip-25.0.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
438
- pip-25.0.dist-info/RECORD,,
432
+ pip-25.0.1.dist-info/AUTHORS.txt,sha256=HqzpBVLfT1lBthqQfiDlVeFkg65hJ7ZQvvWhoq-BAsA,11018
433
+ pip-25.0.1.dist-info/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093
434
+ pip-25.0.1.dist-info/METADATA,sha256=T6cxjPMPl523zsRcEsu8K0-IoV8S7vv1mmKR0KA6-SY,3677
435
+ pip-25.0.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
436
+ pip-25.0.1.dist-info/entry_points.txt,sha256=eeIjuzfnfR2PrhbjnbzFU6MnSS70kZLxwaHHq6M-bD0,87
437
+ pip-25.0.1.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
438
+ pip-25.0.1.dist-info/RECORD,,
File without changes
File without changes
File without changes