diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-02 10:53:17 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-01-02 11:23:35 -0500 |
| commit | a46a6bfd903ecc292fc3645c37c1b72781528095 (patch) | |
| tree | 3bf3caac8a4c628a8f67f895e5e3c3743052f188 | |
| parent | 7e97def47723303fafabe48b22168bbc11bb4821 (diff) | |
| download | python-setuptools-git-a46a6bfd903ecc292fc3645c37c1b72781528095.tar.gz | |
Require Python 3.5 or later, dropping support for Python 2.
This change does not yet remove any of the compatibility for Python 2, but only aims to declare the dropped support.
| -rw-r--r-- | .travis.yml | 8 | ||||
| -rw-r--r-- | appveyor.yml | 4 | ||||
| -rw-r--r-- | changelog.d/1458.breaking.rst | 1 | ||||
| -rw-r--r-- | setup.cfg | 4 |
4 files changed, 5 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index 501a0b69..d18b86c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,14 +4,8 @@ language: python jobs: fast_finish: true include: - - &latest_py2 - python: 2.7 - - <<: *latest_py2 - env: LANG=C - - python: pypy - env: DISABLE_COVERAGE=1 # Don't run coverage on pypy (too slow). - python: pypy3 - env: DISABLE_COVERAGE=1 + env: DISABLE_COVERAGE=1 # Don't run coverage on pypy (too slow). - python: 3.5 - python: 3.6 - python: 3.7 diff --git a/appveyor.yml b/appveyor.yml index 08818069..fc65a9a7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,8 +9,8 @@ environment: matrix: - APPVEYOR_JOB_NAME: "python36-x64" PYTHON: "C:\\Python36-x64" - - APPVEYOR_JOB_NAME: "python27-x64" - PYTHON: "C:\\Python27-x64" + - APPVEYOR_JOB_NAME: "python37-x64" + PYTHON: "C:\\Python37-x64" install: # symlink python from a directory with a space diff --git a/changelog.d/1458.breaking.rst b/changelog.d/1458.breaking.rst new file mode 100644 index 00000000..3004722c --- /dev/null +++ b/changelog.d/1458.breaking.rst @@ -0,0 +1 @@ +Drop support for Python 2. Setuptools now requires Python 3.5 or later. Install setuptools using pip >=9 or pin to Setuptools <45 to maintain 2.7 support. @@ -35,8 +35,6 @@ classifiers = Intended Audience :: Developers License :: OSI Approved :: MIT License Operating System :: OS Independent - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 @@ -49,7 +47,7 @@ classifiers = [options] zip_safe = True -python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.* +python_requires = >=3.5 py_modules = easy_install packages = find: |
