Commit dc868755 authored by Benoit Pierre's avatar Benoit Pierre

drop support for Python 3.4

parent 5ef7e75d
...@@ -12,7 +12,6 @@ jobs: ...@@ -12,7 +12,6 @@ jobs:
env: DISABLE_COVERAGE=1 # Don't run coverage on pypy (too slow). env: DISABLE_COVERAGE=1 # Don't run coverage on pypy (too slow).
- python: pypy3 - python: pypy3
env: DISABLE_COVERAGE=1 env: DISABLE_COVERAGE=1
- python: 3.4
- python: 3.5 - python: 3.5
- &default_py - &default_py
python: 3.6 python: 3.6
......
Drop support for Python 3.4.
...@@ -41,7 +41,7 @@ Please see the `setuptools PyPI page <https://pypi.org/project/setuptools/>`_ ...@@ -41,7 +41,7 @@ Please see the `setuptools PyPI page <https://pypi.org/project/setuptools/>`_
for download links and basic installation instructions for each of the for download links and basic installation instructions for each of the
supported platforms. supported platforms.
You will need at least Python 3.4 or 2.7. An ``easy_install`` script will be You will need at least Python 3.5 or 2.7. An ``easy_install`` script will be
installed in the normal location for Python scripts on your platform. installed in the normal location for Python scripts on your platform.
Note that the instructions on the setuptools PyPI page assume that you are Note that the instructions on the setuptools PyPI page assume that you are
......
...@@ -88,8 +88,8 @@ __import__('pkg_resources.extern.packaging.markers') ...@@ -88,8 +88,8 @@ __import__('pkg_resources.extern.packaging.markers')
__metaclass__ = type __metaclass__ = type
if (3, 0) < sys.version_info < (3, 4): if (3, 0) < sys.version_info < (3, 5):
raise RuntimeError("Python 3.4 or later is required") raise RuntimeError("Python 3.5 or later is required")
if six.PY2: if six.PY2:
# Those builtin exceptions are only defined in Python 3 # Those builtin exceptions are only defined in Python 3
......
...@@ -38,7 +38,6 @@ classifiers = ...@@ -38,7 +38,6 @@ classifiers =
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.4
Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
...@@ -50,7 +49,7 @@ classifiers = ...@@ -50,7 +49,7 @@ classifiers =
[options] [options]
zip_safe = True zip_safe = True
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.*
py_modules = easy_install py_modules = easy_install
packages = find: packages = find:
......
...@@ -77,12 +77,9 @@ def _get_pip_versions(): ...@@ -77,12 +77,9 @@ def _get_pip_versions():
'pip==10.0.1', 'pip==10.0.1',
'pip==18.1', 'pip==18.1',
'pip==19.0.1', 'pip==19.0.1',
'https://github.com/pypa/pip/archive/master.zip',
] ]
# Pip's master dropped support for 3.4.
if not six.PY34:
network_versions.append('https://github.com/pypa/pip/archive/master.zip')
versions = [None] + [ versions = [None] + [
pytest.param(v, **({} if network else {'marks': pytest.mark.skip})) pytest.param(v, **({} if network else {'marks': pytest.mark.skip}))
for v in network_versions for v in network_versions
......
mock mock
pytest-flake8; python_version!="3.4" pytest-flake8
pytest-flake8<=1.0.0; python_version=="3.4"
virtualenv>=13.0.0 virtualenv>=13.0.0
pytest-virtualenv>=1.2.7 pytest-virtualenv>=1.2.7
pytest>=3.7 pytest>=3.7
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# To run Tox against all supported Python interpreters, you can set: # To run Tox against all supported Python interpreters, you can set:
# #
# export TOXENV='py27,py3{4,5,6},pypy,pypy3' # export TOXENV='py27,py3{5,6,7,8},pypy,pypy3'
[tox] [tox]
envlist=python envlist=python
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment