Skip to content

Commit 2c1010e

Browse files
committed
Drop support for EOL Python 3.4
1 parent 9311049 commit 2c1010e

File tree

9 files changed

+5
-28
lines changed

9 files changed

+5
-28
lines changed

.appveyor.yml

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ environment:
77
RUN_INTEGRATION_TESTS: "True"
88
# Unit tests only.
99
- PYTHON: "C:\\Python27-x64"
10-
- PYTHON: "C:\\Python34"
11-
- PYTHON: "C:\\Python34-x64"
1210
- PYTHON: "C:\\Python35"
1311
- PYTHON: "C:\\Python35-x64"
1412
- PYTHON: "C:\\Python36"

.azure-pipelines/jobs/test-windows.yml

-6
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ jobs:
3232
vmImage: ${{ parameters.vmImage }}
3333
strategy:
3434
matrix:
35-
Python34-x64:
36-
python.version: '3.4'
37-
python.architecture: x64
3835
Python35-x64:
3936
python.version: '3.5'
4037
python.architecture: x64
@@ -45,9 +42,6 @@ jobs:
4542
Python27-x86:
4643
python.version: '2.7'
4744
python.architecture: x86
48-
Python34-x86:
49-
python.version: '3.4'
50-
python.architecture: x86
5145
Python35-x86:
5246
python.version: '3.5'
5347
python.architecture: x86

.azure-pipelines/jobs/test.yml

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ jobs:
2929
vmImage: ${{ parameters.vmImage }}
3030
strategy:
3131
matrix:
32-
Python34:
33-
python.version: '3.4'
34-
python.architecture: x64
3532
Python35:
3633
python.version: '3.5'
3734
python.architecture: x64

.travis.yml

-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ jobs:
5151
python: 3.5
5252
- env: GROUP=2
5353
python: 3.5
54-
- env: GROUP=1
55-
python: 3.4
56-
- env: GROUP=2
57-
python: 3.4
5854

5955
- env: GROUP=1
6056
python: 3.8-dev

docs/html/installing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ On Windows [4]_::
109109
Python and OS Compatibility
110110
---------------------------
111111

112-
pip works with CPython versions 2.7, 3.4, 3.5, 3.6, 3.7 and also pypy.
112+
pip works with CPython versions 2.7, 3.5, 3.6, 3.7 and also PyPy.
113113

114114
This means pip works on the latest patch version of each of these minor
115115
versions. Previous patch versions are supported on a best effort approach.

news/6685.removal

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Drop support for EOL Python 3.4.

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def find_version(*file_paths):
4646
"Programming Language :: Python :: 2",
4747
"Programming Language :: Python :: 2.7",
4848
"Programming Language :: Python :: 3",
49-
"Programming Language :: Python :: 3.4",
5049
"Programming Language :: Python :: 3.5",
5150
"Programming Language :: Python :: 3.6",
5251
"Programming Language :: Python :: 3.7",
@@ -79,5 +78,5 @@ def find_version(*file_paths):
7978
},
8079

8180
zip_safe=False,
82-
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
81+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
8382
)

src/pip/_internal/cli/base_command.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,7 @@ def main(self, args):
152152
user_log_file=options.log,
153153
)
154154

155-
if sys.version_info[:2] == (3, 4):
156-
deprecated(
157-
"Python 3.4 support has been deprecated. pip 19.1 will be the "
158-
"last one supporting it. Please upgrade your Python as Python "
159-
"3.4 won't be maintained after March 2019 (cf PEP 429).",
160-
replacement=None,
161-
gone_in='19.2',
162-
)
163-
elif sys.version_info[:2] == (2, 7):
155+
if sys.version_info[:2] == (2, 7):
164156
message = (
165157
"A future version of pip will drop support for Python 2.7."
166158
)

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minversion = 3.4.0
33
envlist =
44
docs, packaging, lint-py2, lint-py3, mypy,
5-
py27, py34, py35, py36, py37, py38, pypy, pypy3
5+
py27, py35, py36, py37, py38, pypy, pypy3
66

77
[helpers]
88
# Wrapper for calls to pip that make sure the version being used is the

0 commit comments

Comments
 (0)