Drop support for Python 3.2 · pypa/pip@b11cb01 (original) (raw)
12 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -7,8 +7,6 @@ matrix: | ||
7 | 7 | env: TOXENV=py26 |
8 | 8 | - python: 2.7 |
9 | 9 | env: TOXENV=py27 |
10 | - - python: 3.2 | |
11 | -env: TOXENV=py32 | |
12 | 10 | - python: 3.3 |
13 | 11 | env: TOXENV=py33 |
14 | 12 | - python: 3.4 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -54,8 +54,4 @@ fi | ||
54 | 54 | tox -- -m unit $TOXARGS |
55 | 55 | |
56 | 56 | # Run our integration tests |
57 | -# Note: There is an issue with Python 3.2 where concurrent imports will corrupt | |
58 | -# the generated .pyc files and we'll get very strange errors. However as | |
59 | -# long as we continue to run the unit tests first and in a seperate step | |
60 | -# then this should work fine. | |
61 | 57 | tox -- -m integration -n 8 $TOXARGS |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
1 | 1 | **8.0.0 (unreleased)** |
2 | 2 | |
3 | +* **BACKWARD INCOMPATIBLE** Drop support for Python 3.2. | |
4 | + | |
3 | 5 | * **BACKWARD INCOMPATIBLE** Remove the ability to find any files other than the |
4 | 6 | ones directly linked from the index or find-links pages. |
5 | 7 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -102,15 +102,10 @@ On Windows [5]_: | ||
102 | 102 | Python and OS Compatibility |
103 | 103 | --------------------------- |
104 | 104 | |
105 | -pip works with CPython versions 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 and also pypy. | |
105 | +pip works with CPython versions 2.6, 2.7, 3.3, 3.4, 3.5 and also pypy. | |
106 | 106 | |
107 | 107 | pip works on Unix/Linux, OS X, and Windows. |
108 | 108 | |
109 | -.. note:: | |
110 | - | |
111 | - Python 2.5 was supported through v1.3.1, and Python 2.4 was supported through | |
112 | - v1.1. | |
113 | - | |
114 | 109 | |
115 | 110 | ---- |
116 | 111 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -12,7 +12,6 @@ Modifications | ||
12 | 12 | * pkg_resources has been modified to import _markerlib from pip._vendor |
13 | 13 | * markerlib has been modified to import its API from pip._vendor |
14 | 14 | * CacheControl has been modified to import it's dependencies from pip._vendor |
15 | -* progress has been modified to not use unicode literals for support for Python 3.2 | |
16 | 15 | |
17 | 16 | |
18 | 17 | _markerlib and pkg_resources |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -14,9 +14,6 @@ | ||
14 | 14 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | |
17 | -from __future__ import unicode_literals | |
18 | - | |
19 | - | |
20 | 17 | from . import Progress |
21 | 18 | from .helpers import WritelnMixin |
22 | 19 | |
@@ -48,22 +45,22 @@ class ChargingBar(Bar): | ||
48 | 45 | suffix = '%(percent)d%%' |
49 | 46 | bar_prefix = ' ' |
50 | 47 | bar_suffix = ' ' |
51 | -empty_fill = '∙' | |
52 | -fill = '█' | |
48 | +empty_fill = u'∙' | |
49 | +fill = u'█' | |
53 | 50 | |
54 | 51 | |
55 | 52 | class FillingSquaresBar(ChargingBar): |
56 | -empty_fill = '▢' | |
57 | -fill = '▣' | |
53 | +empty_fill = u'▢' | |
54 | +fill = u'▣' | |
58 | 55 | |
59 | 56 | |
60 | 57 | class FillingCirclesBar(ChargingBar): |
61 | -empty_fill = '◯' | |
62 | -fill = '◉' | |
58 | +empty_fill = u'◯' | |
59 | +fill = u'◉' | |
63 | 60 | |
64 | 61 | |
65 | 62 | class IncrementalBar(Bar): |
66 | -phases = (' ', '▏', '▎', '▍', '▌', '▋', '▊', '▉', '█') | |
63 | +phases = (u' ', u'▏', u'▎', u'▍', u'▌', u'▋', u'▊', u'▉', u'█') | |
67 | 64 | |
68 | 65 | def update(self): |
69 | 66 | nphases = len(self.phases) |
@@ -83,4 +80,4 @@ def update(self): | ||
83 | 80 | |
84 | 81 | |
85 | 82 | class ShadyBar(IncrementalBar): |
86 | -phases = (' ', '░', '▒', '▓', '█') | |
83 | +phases = (u' ', u'░', u'▒', u'▓', u'█') |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -14,8 +14,6 @@ | ||
14 | 14 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | |
17 | -from __future__ import unicode_literals | |
18 | - | |
19 | 17 | from . import Infinite, Progress |
20 | 18 | from .helpers import WriteMixin |
21 | 19 | |
@@ -36,7 +34,7 @@ def update(self): | ||
36 | 34 | |
37 | 35 | |
38 | 36 | class Stack(WriteMixin, Progress): |
39 | -phases = (' ', '▁', '▂', '▃', '▄', '▅', '▆', '▇', '█') | |
37 | +phases = (u' ', u'▁', u'▂', u'▃', u'▄', u'▅', u'▆', u'▇', u'█') | |
40 | 38 | hide_cursor = True |
41 | 39 | |
42 | 40 | def update(self): |
@@ -46,4 +44,4 @@ def update(self): | ||
46 | 44 | |
47 | 45 | |
48 | 46 | class Pie(Stack): |
49 | -phases = ('○', '◔', '◑', '◕', '●') | |
47 | +phases = (u'○', u'◔', u'◑', u'◕', u'●') |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -13,7 +13,6 @@ | ||
13 | 13 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
14 | 14 | |
15 | 15 | from __future__ import print_function |
16 | -from __future__ import unicode_literals | |
17 | 16 | |
18 | 17 | |
19 | 18 | HIDE_CURSOR = '\x1b[?25l' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -14,8 +14,6 @@ | ||
14 | 14 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | |
17 | -from __future__ import unicode_literals | |
18 | - | |
19 | 17 | from . import Infinite |
20 | 18 | from .helpers import WriteMixin |
21 | 19 | |
@@ -31,12 +29,12 @@ def update(self): | ||
31 | 29 | |
32 | 30 | |
33 | 31 | class PieSpinner(Spinner): |
34 | -phases = ['◷', '◶', '◵', '◴'] | |
32 | +phases = [u'◷', u'◶', u'◵', u'◴'] | |
35 | 33 | |
36 | 34 | |
37 | 35 | class MoonSpinner(Spinner): |
38 | -phases = ['◑', '◒', '◐', '◓'] | |
36 | +phases = [u'◑', u'◒', u'◐', u'◓'] | |
39 | 37 | |
40 | 38 | |
41 | 39 | class LineSpinner(Spinner): |
42 | -phases = ['⎺', '⎻', '⎼', '⎽', '⎼', '⎻'] | |
40 | +phases = [u'⎺', u'⎻', u'⎼', u'⎽', u'⎼', u'⎻'] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,6 +6,6 @@ requests==2.7.0 | ||
6 | 6 | CacheControl==0.11.5 |
7 | 7 | lockfile==0.10.2 |
8 | 8 | progress==1.2 |
9 | -ipaddress==1.0.14 # Only needed on 2.6, 2.7, and 3.2 | |
9 | +ipaddress==1.0.14 # Only needed on 2.6 and 2.7 | |
10 | 10 | packaging==15.3 |
11 | 11 | retrying==1.3.3 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -58,9 +58,9 @@ def find_version(*file_paths): | ||
58 | 58 | "Programming Language :: Python :: 2.6", |
59 | 59 | "Programming Language :: Python :: 2.7", |
60 | 60 | "Programming Language :: Python :: 3", |
61 | -"Programming Language :: Python :: 3.2", | |
62 | 61 | "Programming Language :: Python :: 3.3", |
63 | 62 | "Programming Language :: Python :: 3.4", |
63 | +"Programming Language :: Python :: 3.5", | |
64 | 64 | "Programming Language :: Python :: Implementation :: PyPy" |
65 | 65 | ], |
66 | 66 | keywords='easy_install distutils setuptools egg virtualenv', |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
1 | 1 | [tox] |
2 | 2 | envlist = |
3 | - docs, packaging, pep8, py3pep8, py26, py27, py32, py33, py34, py35, pypy | |
3 | + docs, packaging, pep8, py3pep8, py26, py27, py33, py34, py35, pypy | |
4 | 4 | |
5 | 5 | [testenv] |
6 | 6 | setenv = |
@@ -20,10 +20,10 @@ basepython = python2.7 | ||
20 | 20 | commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html |
21 | 21 | |
22 | 22 | [testenv:packaging] |
23 | -deps = | |
23 | +deps = | |
24 | 24 | check-manifest |
25 | 25 | readme |
26 | -commands = | |
26 | +commands = | |
27 | 27 | check-manifest |
28 | 28 | python setup.py check -m -r -s |
29 | 29 |