Drop support for EOL Python 3.4

This commit is contained in:
Hugo 2019-07-07 11:45:16 +03:00
parent 9311049de2
commit 2c1010ee96
9 changed files with 5 additions and 28 deletions

View File

@ -7,8 +7,6 @@ environment:
RUN_INTEGRATION_TESTS: "True"
# Unit tests only.
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36"

View File

@ -32,9 +32,6 @@ jobs:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
Python34-x64:
python.version: '3.4'
python.architecture: x64
Python35-x64:
python.version: '3.5'
python.architecture: x64
@ -45,9 +42,6 @@ jobs:
Python27-x86:
python.version: '2.7'
python.architecture: x86
Python34-x86:
python.version: '3.4'
python.architecture: x86
Python35-x86:
python.version: '3.5'
python.architecture: x86

View File

@ -29,9 +29,6 @@ jobs:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
Python34:
python.version: '3.4'
python.architecture: x64
Python35:
python.version: '3.5'
python.architecture: x64

View File

@ -51,10 +51,6 @@ jobs:
python: 3.5
- env: GROUP=2
python: 3.5
- env: GROUP=1
python: 3.4
- env: GROUP=2
python: 3.4
- env: GROUP=1
python: 3.8-dev

View File

@ -109,7 +109,7 @@ On Windows [4]_::
Python and OS Compatibility
---------------------------
pip works with CPython versions 2.7, 3.4, 3.5, 3.6, 3.7 and also pypy.
pip works with CPython versions 2.7, 3.5, 3.6, 3.7 and also PyPy.
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.

1
news/6685.removal Normal file
View File

@ -0,0 +1 @@
Drop support for EOL Python 3.4.

View File

@ -46,7 +46,6 @@ setup(
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
@ -79,5 +78,5 @@ setup(
},
zip_safe=False,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
)

View File

@ -152,15 +152,7 @@ class Command(object):
user_log_file=options.log,
)
if sys.version_info[:2] == (3, 4):
deprecated(
"Python 3.4 support has been deprecated. pip 19.1 will be the "
"last one supporting it. Please upgrade your Python as Python "
"3.4 won't be maintained after March 2019 (cf PEP 429).",
replacement=None,
gone_in='19.2',
)
elif sys.version_info[:2] == (2, 7):
if sys.version_info[:2] == (2, 7):
message = (
"A future version of pip will drop support for Python 2.7."
)

View File

@ -2,7 +2,7 @@
minversion = 3.4.0
envlist =
docs, packaging, lint-py2, lint-py3, mypy,
py27, py34, py35, py36, py37, py38, pypy, pypy3
py27, py35, py36, py37, py38, pypy, pypy3
[helpers]
# Wrapper for calls to pip that make sure the version being used is the