Drop Python 3.4
It reached its end-of-life on 2019-03-18 and represents <4% of our
daily downloads.
MODIFY
.travis.yml
.travis.yml
@@ -40,8 +40,6 @@ matrix:
# Unit tests
- python: 2.7
env: NOX_SESSION=test-2.7
- - python: 3.4
- env: NOX_SESSION=test-3.4
- python: 3.5
env: NOX_SESSION=test-3.5
- python: 3.6
@@ -67,9 +65,6 @@ matrix:
- language: generic
os: osx
env: NOX_SESSION=test-2.7
- - language: generic
- os: osx
- env: NOX_SESSION=test-3.4
- language: generic
os: osx
env: NOX_SESSION=test-3.5

MODIFY
CHANGES.rst
CHANGES.rst
Changes
=======
+dev
+---
+
+* Drop support for EOL Python 3.4 (Pull #1774)
+
+
1.25.7 (2019-11-11)
-------------------

MODIFY
_travis/install.sh
_travis/install.sh
@@ -21,7 +21,6 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
# Mac OS setup.
case "${NOX_SESSION}" in
test-2.7) MACPYTHON=2.7.16 ;;
- test-3.4) MACPYTHON=3.4.4 ;;
test-3.5) MACPYTHON=3.5.4 ;; # last binary release
test-3.6) MACPYTHON=3.6.8 ;; # last binary release
test-3.7) MACPYTHON=3.7.4 ;;

MODIFY
appveyor.yml
appveyor.yml
@@ -12,11 +12,6 @@ environment:
PYTHON_ARCH: "64"
NOX_SESSION: "test-2.7"
- - PYTHON: "C:\\Python34-x64"
- PYTHON_VERSION: "3.4.x"
- PYTHON_ARCH: "64"
- NOX_SESSION: "test-3.4"
-
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "64"

MODIFY
noxfile.py
noxfile.py
@@ -39,7 +39,7 @@ def tests_impl(session, extras="socks,secure,brotli"):
session.run("coverage", "report", "-m")
-@nox.session(python=["2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "pypy"])
+@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "pypy"])
def test(session):
tests_impl(session)

MODIFY
setup.py
setup.py
@@ -37,7 +37,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",
@@ -68,7 +67,7 @@ setup(
],
package_dir={"": "src"},
requires=[],
- python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4",
+ python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4",
tests_require=[
# These are a less-specific subset of dev-requirements.txt, for the
# convenience of distro package maintainers.

MODIFY
test/__init__.py
test/__init__.py
@@ -130,7 +130,7 @@ def notSecureTransport(test):
def notOpenSSL098(test):
- """Skips this test for Python 3.4 and 3.5 macOS python.org distributions"""
+ """Skips this test for Python 3.5 macOS python.org distribution"""
@six.wraps(test)
def wrapper(*args, **kwargs):

Drop Python 3.4 (#1774)

It reached its end-of-life on 2019-03-18 and represents <4% of our
daily downloads.