diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-01 18:31:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-01 18:31:19 -0500 |
commit | 95accbbd4f5d3fd1ac29b306e986fce967fde865 (patch) | |
tree | 37b7940b35fb07da159e24f1bc3baca1b6ae97ca | |
parent | 3d5b7775b7b7ee6c0b354a04fe1d33c1f9b0e5df (diff) | |
parent | dc868755d53520895d96ec0251a66df562a37095 (diff) | |
download | python-setuptools-git-95accbbd4f5d3fd1ac29b306e986fce967fde865.tar.gz |
Merge pull request #1908 from benoit-pierre/drop_py34_support
drop support for Python 3.4
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | changelog.d/1908.breaking.rst | 1 | ||||
-rw-r--r-- | docs/easy_install.txt | 2 | ||||
-rw-r--r-- | pkg_resources/__init__.py | 4 | ||||
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | setuptools/tests/test_virtualenv.py | 5 | ||||
-rw-r--r-- | tests/requirements.txt | 3 | ||||
-rw-r--r-- | tox.ini | 2 |
8 files changed, 8 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml index b3a6556d..501a0b69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,6 @@ jobs: env: DISABLE_COVERAGE=1 # Don't run coverage on pypy (too slow). - python: pypy3 env: DISABLE_COVERAGE=1 - - python: 3.4 - python: 3.5 - python: 3.6 - python: 3.7 diff --git a/changelog.d/1908.breaking.rst b/changelog.d/1908.breaking.rst new file mode 100644 index 00000000..3fbb9fe7 --- /dev/null +++ b/changelog.d/1908.breaking.rst @@ -0,0 +1 @@ +Drop support for Python 3.4. diff --git a/docs/easy_install.txt b/docs/easy_install.txt index 544b9efd..fac7b8fc 100644 --- a/docs/easy_install.txt +++ b/docs/easy_install.txt @@ -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 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. Note that the instructions on the setuptools PyPI page assume that you are diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index 51fb1192..2f5aa64a 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -88,8 +88,8 @@ __import__('pkg_resources.extern.packaging.markers') __metaclass__ = type -if (3, 0) < sys.version_info < (3, 4): - raise RuntimeError("Python 3.4 or later is required") +if (3, 0) < sys.version_info < (3, 5): + raise RuntimeError("Python 3.5 or later is required") if six.PY2: # Those builtin exceptions are only defined in Python 3 @@ -38,7 +38,6 @@ classifiers = 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 @@ -50,7 +49,7 @@ classifiers = [options] 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 packages = find: diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py index cd3d9313..2c35825a 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -77,12 +77,9 @@ def _get_pip_versions(): 'pip==10.0.1', 'pip==18.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] + [ pytest.param(v, **({} if network else {'marks': pytest.mark.skip})) for v in network_versions diff --git a/tests/requirements.txt b/tests/requirements.txt index 1f8bd19d..4b5e0eeb 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,6 +1,5 @@ mock -pytest-flake8; python_version!="3.4" -pytest-flake8<=1.0.0; python_version=="3.4" +pytest-flake8 virtualenv>=13.0.0 pytest-virtualenv>=1.2.7 pytest>=3.7 @@ -2,7 +2,7 @@ # # 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] envlist=python |