Skip to content

Commit 5da767c

Browse files
committed
fixed some spelling mistakes
that's all :)
1 parent bd1563d commit 5da767c

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

NEWS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Bug Fixes
142142

143143
- Only calculate topological installation order, for packages that are going to be installed/upgraded.
144144

145-
This fixes an `AssertionError` that occured when determining installation order, for a very specific combination of upgrading-already-installed-package + change of dependencies + fetching some packages from a package index. This combination was especially common in Read the Docs' builds. (`#10851 <https://github.com/pypa/pip/issues/10851>`_)
145+
This fixes an `AssertionError` that occurred when determining installation order, for a very specific combination of upgrading-already-installed-package + change of dependencies + fetching some packages from a package index. This combination was especially common in Read the Docs' builds. (`#10851 <https://github.com/pypa/pip/issues/10851>`_)
146146
- Use ``html.parser`` by default, instead of falling back to ``html5lib`` when ``--use-deprecated=html5lib`` is not passed. (`#10869 <https://github.com/pypa/pip/issues/10869>`_)
147147

148148
Improved Documentation

docs/html/cli/pip_freeze.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ This error occurs, for instance, when the command is installed only for another
8484
user, and the current user doesn't have the permission to execute the other
8585
user's command.
8686

87-
To solve that issue, you can try one of the followings:
87+
To solve that issue, you can try one of the following:
8888

8989
- Install the command for yourself (e.g. in your home directory).
9090
- Ask the system admin to allow this command for all users.

src/pip/_internal/metadata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _should_use_importlib_metadata() -> bool:
3030
"""Whether to use the ``importlib.metadata`` or ``pkg_resources`` backend.
3131
3232
By default, pip uses ``importlib.metadata`` on Python 3.11+, and
33-
``pkg_resourcess`` otherwise. This can be overriden by a couple of ways:
33+
``pkg_resourcess`` otherwise. This can be overridden by a couple of ways:
3434
3535
* If environment variable ``_PIP_USE_IMPORTLIB_METADATA`` is set, it
3636
dictates whether ``importlib.metadata`` is used, regardless of Python

src/pip/_internal/metadata/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def _iter_declared_entries_from_legacy(self) -> Optional[Iterator[str]]:
436436
)
437437

438438
def iter_declared_entries(self) -> Optional[Iterator[str]]:
439-
"""Iterate through file entires declared in this distribution.
439+
"""Iterate through file entries declared in this distribution.
440440
441441
For modern .dist-info distributions, this is the files listed in the
442442
``RECORD`` metadata file. For legacy setuptools distributions, this

src/pip/_internal/network/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def close(self) -> None:
252252

253253

254254
class _SSLContextAdapterMixin:
255-
"""Mixin to add the ``ssl_context`` contructor argument to HTTP adapters.
255+
"""Mixin to add the ``ssl_context`` constructor argument to HTTP adapters.
256256
257257
The additional argument is forwarded directly to the pool manager. This allows us
258258
to dynamically decide what SSL store to use at runtime, which is used to implement

src/pip/_internal/resolution/resolvelib/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_preference( # type: ignore
117117
The lower the return value is, the more preferred this group of
118118
arguments is.
119119
120-
Currently pip considers the followings in order:
120+
Currently pip considers the following in order:
121121
122122
* Prefer if any of the known requirements is "direct", e.g. points to an
123123
explicit URL.

tests/unit/resolution_resolvelib/test_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def build_requirement_information(
2828

2929
def test_provider_known_depths(factory: Factory) -> None:
3030
# Root requirement is specified by the user
31-
# therefore has an infered depth of 1
31+
# therefore has an inferred depth of 1
3232
root_requirement_name = "my-package"
3333
provider = PipProvider(
3434
factory=factory,
@@ -51,7 +51,7 @@ def test_provider_known_depths(factory: Factory) -> None:
5151
assert provider._known_depths == {root_requirement_name: 1.0}
5252

5353
# Transative requirement is a dependency of root requirement
54-
# theforefore has an infered depth of 2
54+
# theforefore has an inferred depth of 2
5555
root_package_candidate = InstallationCandidate(
5656
root_requirement_name,
5757
"1.0",

0 commit comments

Comments
 (0)