Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
Python_Packaging_Authority
pip
提交
90b3db47
P
pip
项目概览
镜像
/
Python_Packaging_Authority
/
pip
12 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
90b3db47
编写于
5月 17, 2018
作者:
D
Donald Stufft
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Drop support for Python 3.3
上级
70253c21
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
6 addition
and
32 deletion
+6
-32
.travis.yml
.travis.yml
+0
-2
appveyor.yml
appveyor.yml
+1
-3
docs/installing.rst
docs/installing.rst
+1
-1
news/3796.removal
news/3796.removal
+1
-0
setup.py
setup.py
+1
-2
src/pip/_internal/basecommand.py
src/pip/_internal/basecommand.py
+0
-9
tests/functional/test_install.py
tests/functional/test_install.py
+1
-11
tests/lib/__init__.py
tests/lib/__init__.py
+0
-3
tox.ini
tox.ini
+1
-1
未找到文件。
.travis.yml
浏览文件 @
90b3db47
...
@@ -22,8 +22,6 @@ matrix:
...
@@ -22,8 +22,6 @@ matrix:
-
env
:
TOXENV=py36
-
env
:
TOXENV=py36
python
:
3.6
python
:
3.6
# All the other Py3 versions
# All the other Py3 versions
-
env
:
TOXENV=py33
python
:
3.3
-
env
:
TOXENV=py34
-
env
:
TOXENV=py34
python
:
3.4
python
:
3.4
-
env
:
TOXENV=py35
-
env
:
TOXENV=py35
...
...
appveyor.yml
浏览文件 @
90b3db47
environment
:
environment
:
matrix
:
matrix
:
# Unit and integration tests.
# Unit and integration tests.
-
PYTHON
:
"
C:
\\
Python27"
-
PYTHON
:
"
C:
\\
Python27"
RUN_INTEGRATION_TESTS
:
"
True"
RUN_INTEGRATION_TESTS
:
"
True"
-
PYTHON
:
"
C:
\\
Python36-x64"
-
PYTHON
:
"
C:
\\
Python36-x64"
RUN_INTEGRATION_TESTS
:
"
True"
RUN_INTEGRATION_TESTS
:
"
True"
# Unit tests only.
# Unit tests only.
-
PYTHON
:
"
C:
\\
Python27-x64"
-
PYTHON
:
"
C:
\\
Python27-x64"
-
PYTHON
:
"
C:
\\
Python33"
-
PYTHON
:
"
C:
\\
Python33-x64"
-
PYTHON
:
"
C:
\\
Python34"
-
PYTHON
:
"
C:
\\
Python34"
-
PYTHON
:
"
C:
\\
Python34-x64"
-
PYTHON
:
"
C:
\\
Python34-x64"
-
PYTHON
:
"
C:
\\
Python35"
-
PYTHON
:
"
C:
\\
Python35"
...
...
docs/installing.rst
浏览文件 @
90b3db47
...
@@ -102,7 +102,7 @@ On Windows [4]_::
...
@@ -102,7 +102,7 @@ On Windows [4]_::
Python and OS Compatibility
Python and OS Compatibility
---------------------------
---------------------------
pip works with CPython versions 2.7, 3.
3, 3.
4, 3.5, 3.6 and also pypy.
pip works with CPython versions 2.7, 3.4, 3.5, 3.6 and also pypy.
This means pip works on the latest patch version of each of these minor
This means pip works on the latest patch version of each of these minor
versions. Previous patch versions are supported on a best effort approach.
versions. Previous patch versions are supported on a best effort approach.
...
...
news/3796.removal
0 → 100644
浏览文件 @
90b3db47
Dropped support for Python 3.3.
setup.py
浏览文件 @
90b3db47
...
@@ -51,7 +51,6 @@ setup(
...
@@ -51,7 +51,6 @@ setup(
"Programming Language :: Python :: 2"
,
"Programming Language :: Python :: 2"
,
"Programming Language :: Python :: 2.7"
,
"Programming Language :: Python :: 2.7"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3.3"
,
"Programming Language :: Python :: 3.4"
,
"Programming Language :: Python :: 3.4"
,
"Programming Language :: Python :: 3.5"
,
"Programming Language :: Python :: 3.5"
,
"Programming Language :: Python :: 3.6"
,
"Programming Language :: Python :: 3.6"
,
...
@@ -83,7 +82,7 @@ setup(
...
@@ -83,7 +82,7 @@ setup(
},
},
tests_require
=
tests_require
,
tests_require
=
tests_require
,
zip_safe
=
False
,
zip_safe
=
False
,
python_requires
=
'>=2.7,!=3.0.*,!=3.1.*,!=3.2.*'
,
python_requires
=
'>=2.7,!=3.0.*,!=3.1.*,!=3.2.*
,!=3.3.*
'
,
extras_require
=
{
extras_require
=
{
'testing'
:
tests_require
,
'testing'
:
tests_require
,
},
},
...
...
src/pip/_internal/basecommand.py
浏览文件 @
90b3db47
...
@@ -6,7 +6,6 @@ import logging.config
...
@@ -6,7 +6,6 @@ import logging.config
import
optparse
import
optparse
import
os
import
os
import
sys
import
sys
import
warnings
from
pip._internal
import
cmdoptions
from
pip._internal
import
cmdoptions
from
pip._internal.baseparser
import
(
from
pip._internal.baseparser
import
(
...
@@ -26,7 +25,6 @@ from pip._internal.status_codes import (
...
@@ -26,7 +25,6 @@ from pip._internal.status_codes import (
ERROR
,
PREVIOUS_BUILD_DIR_ERROR
,
SUCCESS
,
UNKNOWN_ERROR
,
ERROR
,
PREVIOUS_BUILD_DIR_ERROR
,
SUCCESS
,
UNKNOWN_ERROR
,
VIRTUALENV_NOT_FOUND
,
VIRTUALENV_NOT_FOUND
,
)
)
from
pip._internal.utils
import
deprecation
from
pip._internal.utils.logging
import
IndentingFormatter
from
pip._internal.utils.logging
import
IndentingFormatter
from
pip._internal.utils.misc
import
get_prog
,
normalize_path
from
pip._internal.utils.misc
import
get_prog
,
normalize_path
from
pip._internal.utils.outdated
import
pip_version_check
from
pip._internal.utils.outdated
import
pip_version_check
...
@@ -198,13 +196,6 @@ class Command(object):
...
@@ -198,13 +196,6 @@ class Command(object):
},
},
})
})
if
sys
.
version_info
[:
2
]
==
(
3
,
3
):
warnings
.
warn
(
"Python 3.3 support has been deprecated and will be dropped "
"in the future. Please upgrade your Python."
,
deprecation
.
RemovedInPip11Warning
,
)
# TODO: try to get these passing down from the command?
# TODO: try to get these passing down from the command?
# without resorting to os.environ to hold these.
# without resorting to os.environ to hold these.
...
...
tests/functional/test_install.py
浏览文件 @
90b3db47
...
@@ -32,16 +32,11 @@ def test_pep518_uses_build_env(script, data, original_setuptools):
...
@@ -32,16 +32,11 @@ def test_pep518_uses_build_env(script, data, original_setuptools):
raise
ValueError
(
original_setuptools
)
raise
ValueError
(
original_setuptools
)
to_install
=
data
.
src
.
join
(
"pep518-3.0"
)
to_install
=
data
.
src
.
join
(
"pep518-3.0"
)
for
command
in
(
'install'
,
'wheel'
):
for
command
in
(
'install'
,
'wheel'
):
kwargs
=
{}
if
sys
.
version_info
[:
2
]
==
(
3
,
3
):
# Ignore Python 3.3 deprecation warning...
kwargs
[
'expect_stderr'
]
=
True
script
.
run
(
script
.
run
(
"python"
,
"-c"
,
"python"
,
"-c"
,
"import pip._internal; pip._internal.main(["
"import pip._internal; pip._internal.main(["
"%r, "
"'-f', %r, "
"%r, "
"%r, "
"'-f', %r, "
"%r, "
"])"
%
(
command
,
str
(
data
.
packages
),
str
(
to_install
)),
"])"
%
(
command
,
str
(
data
.
packages
),
str
(
to_install
)),
**
kwargs
)
)
...
@@ -55,16 +50,11 @@ def test_pep518_with_user_pip(script, virtualenv, pip_src, data):
...
@@ -55,16 +50,11 @@ def test_pep518_with_user_pip(script, virtualenv, pip_src, data):
fp
.
write
(
'raise ImportError
\n
'
)
fp
.
write
(
'raise ImportError
\n
'
)
to_install
=
data
.
src
.
join
(
"pep518-3.0"
)
to_install
=
data
.
src
.
join
(
"pep518-3.0"
)
for
command
in
(
'install'
,
'wheel'
):
for
command
in
(
'install'
,
'wheel'
):
kwargs
=
{}
if
sys
.
version_info
[:
2
]
==
(
3
,
3
):
# Ignore Python 3.3 deprecation warning...
kwargs
[
'expect_stderr'
]
=
True
script
.
run
(
script
.
run
(
"python"
,
"-c"
,
"python"
,
"-c"
,
"import pip._internal; pip._internal.main(["
"import pip._internal; pip._internal.main(["
"%r, "
"'-f', %r, "
"%r, "
"%r, "
"'-f', %r, "
"%r, "
"])"
%
(
command
,
str
(
data
.
packages
),
str
(
to_install
)),
"])"
%
(
command
,
str
(
data
.
packages
),
str
(
to_install
)),
**
kwargs
)
)
...
@@ -76,7 +66,7 @@ def test_pip_second_command_line_interface_works(script, data):
...
@@ -76,7 +66,7 @@ def test_pip_second_command_line_interface_works(script, data):
# On old versions of Python, urllib3/requests will raise a warning about
# On old versions of Python, urllib3/requests will raise a warning about
# the lack of an SSLContext.
# the lack of an SSLContext.
kwargs
=
{}
kwargs
=
{}
if
pyversion_tuple
<
(
2
,
7
,
9
)
or
pyversion_tuple
[:
2
]
==
(
3
,
3
)
:
if
pyversion_tuple
<
(
2
,
7
,
9
):
kwargs
[
'expect_stderr'
]
=
True
kwargs
[
'expect_stderr'
]
=
True
args
=
[
'pip%s'
%
pyversion
]
args
=
[
'pip%s'
%
pyversion
]
...
...
tests/lib/__init__.py
浏览文件 @
90b3db47
...
@@ -372,9 +372,6 @@ class PipTestEnvironment(scripttest.TestFileEnvironment):
...
@@ -372,9 +372,6 @@ class PipTestEnvironment(scripttest.TestFileEnvironment):
if
(
pyversion_tuple
<
(
2
,
7
,
9
)
and
if
(
pyversion_tuple
<
(
2
,
7
,
9
)
and
args
and
args
[
0
]
in
(
'search'
,
'install'
,
'download'
)):
args
and
args
[
0
]
in
(
'search'
,
'install'
,
'download'
)):
kwargs
[
'expect_stderr'
]
=
True
kwargs
[
'expect_stderr'
]
=
True
# Python 3.3 is deprecated and we emit a warning on it.
if
pyversion_tuple
[:
2
]
==
(
3
,
3
):
kwargs
[
'expect_stderr'
]
=
True
if
kwargs
.
pop
(
'use_module'
,
False
):
if
kwargs
.
pop
(
'use_module'
,
False
):
exe
=
'python'
exe
=
'python'
args
=
(
'-m'
,
'pip'
)
+
args
args
=
(
'-m'
,
'pip'
)
+
args
...
...
tox.ini
浏览文件 @
90b3db47
[tox]
[tox]
envlist
=
envlist
=
docs,
packaging,
lint-py2,
lint-py3,
mypy,
docs,
packaging,
lint-py2,
lint-py3,
mypy,
py27,
py3
3,
py3
4,
py35,
py36,
py37,
pypy
py27,
py34,
py35,
py36,
py37,
pypy
[testenv]
[testenv]
passenv
=
CI GIT_SSL_CAINFO
passenv
=
CI GIT_SSL_CAINFO
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录