diff options
author | Benoit Pierre <benoit.pierre@gmail.com> | 2019-11-15 12:03:53 +0100 |
---|---|---|
committer | Benoit Pierre <benoit.pierre@gmail.com> | 2019-11-15 22:13:35 +0100 |
commit | dc868755d53520895d96ec0251a66df562a37095 (patch) | |
tree | 633d031acdfe379748c1f7b76ccc8fd0b746ca49 | |
parent | 5ef7e75dd7861b76ec2480a03717cc4b624d64ef (diff) | |
download | external_python_setuptools-dc868755d53520895d96ec0251a66df562a37095.tar.gz external_python_setuptools-dc868755d53520895d96ec0251a66df562a37095.tar.bz2 external_python_setuptools-dc868755d53520895d96ec0251a66df562a37095.zip |
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 7088d166..3a744f23 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 - &default_py python: 3.6 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 74a1284c..b60df32f 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 1f70adee..ff596773 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 |