mirror of https://github.com/pypa/pip
Fix typos (#10001)
This commit is contained in:
parent
3c1d1810dc
commit
b8e7a70fd5
4
NEWS.rst
4
NEWS.rst
|
@ -350,7 +350,7 @@ Features
|
|||
- When installing a git URL that refers to a commit that is not available locally
|
||||
after git clone, attempt to fetch it from the remote. (`#8815 <https://github.com/pypa/pip/issues/8815>`_)
|
||||
- Include http subdirectory in ``pip cache info`` and ``pip cache purge`` commands. (`#8892 <https://github.com/pypa/pip/issues/8892>`_)
|
||||
- Cache package listings on index packages so they are guarenteed to stay stable
|
||||
- Cache package listings on index packages so they are guaranteed to stay stable
|
||||
during a pip command session. This also improves performance when a index page
|
||||
is accessed multiple times during the command session. (`#8905 <https://github.com/pypa/pip/issues/8905>`_)
|
||||
- New resolver: Tweak resolution logic to improve user experience when
|
||||
|
@ -422,7 +422,7 @@ Features
|
|||
and considered good enough. (`#8023 <https://github.com/pypa/pip/issues/8023>`_)
|
||||
- Improve error message friendliness when an environment has packages with
|
||||
corrupted metadata. (`#8676 <https://github.com/pypa/pip/issues/8676>`_)
|
||||
- Cache package listings on index packages so they are guarenteed to stay stable
|
||||
- Cache package listings on index packages so they are guaranteed to stay stable
|
||||
during a pip command session. This also improves performance when a index page
|
||||
is accessed multiple times during the command session. (`#8905 <https://github.com/pypa/pip/issues/8905>`_)
|
||||
- New resolver: Tweak resolution logic to improve user experience when
|
||||
|
|
|
@ -778,7 +778,7 @@ those specified on the command-line or via a requirements file) while
|
|||
requirements).
|
||||
|
||||
As an example, say ``SomePackage`` has a dependency, ``SomeDependency``, and
|
||||
both of them are already installed but are not the latest avaialable versions:
|
||||
both of them are already installed but are not the latest available versions:
|
||||
|
||||
- ``pip install SomePackage``: will not upgrade the existing ``SomePackage`` or
|
||||
``SomeDependency``.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fix typos in several files.
|
|
@ -69,7 +69,7 @@ class Wheel:
|
|||
def find_most_preferred_tag(self, tags, tag_to_priority):
|
||||
# type: (List[Tag], Dict[Tag, int]) -> int
|
||||
"""Return the priority of the most preferred tag that one of the wheel's file
|
||||
tag combinations acheives in the given list of supported tags using the given
|
||||
tag combinations achieves in the given list of supported tags using the given
|
||||
tag_to_priority mapping, where lower priorities are more-preferred.
|
||||
|
||||
This is used in place of support_index_min in some cases in order to avoid
|
||||
|
|
|
@ -123,7 +123,7 @@ class LazyZipOverHTTP:
|
|||
|
||||
def tell(self):
|
||||
# type: () -> int
|
||||
"""Return the current possition."""
|
||||
"""Return the current position."""
|
||||
return self._file.tell()
|
||||
|
||||
def truncate(self, size=None):
|
||||
|
|
|
@ -98,7 +98,7 @@ def adjacent_tmp_file(path, **kwargs):
|
|||
os.fsync(result.fileno())
|
||||
|
||||
|
||||
# Tenacity raises RetryError by default, explictly raise the original exception
|
||||
# Tenacity raises RetryError by default, explicitly raise the original exception
|
||||
_replace_retry = retry(reraise=True, stop=stop_after_delay(1), wait=wait_fixed(0.25))
|
||||
|
||||
replace = _replace_retry(os.replace)
|
||||
|
|
|
@ -128,7 +128,7 @@ def get_prog():
|
|||
|
||||
|
||||
# Retry every half second for up to 3 seconds
|
||||
# Tenacity raises RetryError by default, explictly raise the original exception
|
||||
# Tenacity raises RetryError by default, explicitly raise the original exception
|
||||
@retry(reraise=True, stop=stop_after_delay(3), wait=wait_fixed(0.5))
|
||||
def rmtree(dir, ignore_errors=False):
|
||||
# type: (AnyStr, bool) -> None
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
pip is a command line program. While it is implemented in Python, and so is
|
||||
available for import, you must not use pip's internal APIs in this way. Typing
|
||||
information is provided as a convenience only and is not a gaurantee. Expect
|
||||
information is provided as a convenience only and is not a guarantee. Expect
|
||||
unannounced changes to the API and types in releases.
|
||||
|
|
Loading…
Reference in New Issue