Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
Python_Packaging_Authority
pip
提交
b8e7a70f
P
pip
项目概览
镜像
/
Python_Packaging_Authority
/
pip
大约 1 年 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
pip
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
b8e7a70f
编写于
6月 03, 2021
作者:
D
Dirk Stolle
提交者:
GitHub
6月 03, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix typos (#10001)
上级
3c1d1810
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
9 addition
and
8 deletion
+9
-8
NEWS.rst
NEWS.rst
+2
-2
docs/html/user_guide.rst
docs/html/user_guide.rst
+1
-1
news/0d757310-0e1d-4887-9076-a1eb3c55d9fa.trivial.rst
news/0d757310-0e1d-4887-9076-a1eb3c55d9fa.trivial.rst
+1
-0
src/pip/_internal/models/wheel.py
src/pip/_internal/models/wheel.py
+1
-1
src/pip/_internal/network/lazy_wheel.py
src/pip/_internal/network/lazy_wheel.py
+1
-1
src/pip/_internal/utils/filesystem.py
src/pip/_internal/utils/filesystem.py
+1
-1
src/pip/_internal/utils/misc.py
src/pip/_internal/utils/misc.py
+1
-1
src/pip/py.typed
src/pip/py.typed
+1
-1
未找到文件。
NEWS.rst
浏览文件 @
b8e7a70f
...
...
@@ -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
guar
e
nteed
to
stay
stable
-
Cache
package
listings
on
index
packages
so
they
are
guar
a
nteed
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
guar
e
nteed
to
stay
stable
-
Cache
package
listings
on
index
packages
so
they
are
guar
a
nteed
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
...
...
docs/html/user_guide.rst
浏览文件 @
b8e7a70f
...
...
@@ -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 avai
a
lable 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``.
...
...
news/0d757310-0e1d-4887-9076-a1eb3c55d9fa.trivial.rst
0 → 100644
浏览文件 @
b8e7a70f
Fix typos in several files.
src/pip/_internal/models/wheel.py
浏览文件 @
b8e7a70f
...
...
@@ -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 ach
ei
ves in the given list of supported tags using the given
tag combinations ach
ie
ves 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
...
...
src/pip/_internal/network/lazy_wheel.py
浏览文件 @
b8e7a70f
...
...
@@ -123,7 +123,7 @@ class LazyZipOverHTTP:
def
tell
(
self
):
# type: () -> int
"""Return the current pos
s
ition."""
"""Return the current position."""
return
self
.
_file
.
tell
()
def
truncate
(
self
,
size
=
None
):
...
...
src/pip/_internal/utils/filesystem.py
浏览文件 @
b8e7a70f
...
...
@@ -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, explic
i
tly raise the original exception
_replace_retry
=
retry
(
reraise
=
True
,
stop
=
stop_after_delay
(
1
),
wait
=
wait_fixed
(
0.25
))
replace
=
_replace_retry
(
os
.
replace
)
...
...
src/pip/_internal/utils/misc.py
浏览文件 @
b8e7a70f
...
...
@@ -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, explic
i
tly 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
...
...
src/pip/py.typed
浏览文件 @
b8e7a70f
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 g
au
rantee. Expect
information is provided as a convenience only and is not a g
ua
rantee. Expect
unannounced changes to the API and types in releases.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录