Skip to content

Commit dbb1843

Browse files
authored
Drop support for EOL Python 2.7 and 3.4-3.5 (#660)
* Add support for Python 3.10 * Drop support for EOL Python 2.7 and 3.4-3.5
1 parent 140817f commit dbb1843

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10-dev", "pypy2", "pypy3"]
11+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
1212
os: [ubuntu-latest]
13-
# Include py2 + minimum py3 + maximum py3 + pypy + pypy3 on Windows
13+
# Include minimum py3 + maximum py3 + pypy3 on Windows
1414
include:
15-
- { os: "windows-latest" , python-version: "2.7" }
16-
- { os: "windows-latest" , python-version: "3.5" }
17-
- { os: "windows-latest" , python-version: "3.9" }
18-
- { os: "windows-latest" , python-version: "pypy2" }
15+
- { os: "windows-latest" , python-version: "3.6" }
16+
- { os: "windows-latest" , python-version: "3.10" }
1917
- { os: "windows-latest" , python-version: "pypy3" }
2018

2119
steps:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ parsing the source file, not importing it, so it is safe to use on
99
modules with side effects. It's also much faster.
1010

1111
It is `available on PyPI <https://pypi.org/project/pyflakes/>`_
12-
and it supports all active versions of Python: 2.7 and 3.4 to 3.8.
12+
and it supports all active versions of Python: 3.6+.
1313

1414

1515

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,20 @@ def get_long_description():
4242
author_email="[email protected]",
4343
url="https://github.com/PyCQA/pyflakes",
4444
packages=["pyflakes", "pyflakes.scripts", "pyflakes.test"],
45-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
45+
python_requires='>=3.6',
4646
classifiers=[
4747
"Development Status :: 6 - Mature",
4848
"Environment :: Console",
4949
"Intended Audience :: Developers",
5050
"License :: OSI Approved :: MIT License",
5151
"Programming Language :: Python",
52-
"Programming Language :: Python :: 2",
53-
"Programming Language :: Python :: 2.7",
5452
"Programming Language :: Python :: 3",
55-
"Programming Language :: Python :: 3.4",
56-
"Programming Language :: Python :: 3.5",
5753
"Programming Language :: Python :: 3.6",
5854
"Programming Language :: Python :: 3.7",
5955
"Programming Language :: Python :: 3.8",
56+
"Programming Language :: Python :: 3.9",
57+
"Programming Language :: Python :: 3.10",
58+
"Programming Language :: Python :: 3 :: Only",
6059
"Programming Language :: Python :: Implementation :: CPython",
6160
"Programming Language :: Python :: Implementation :: PyPy",
6261
"Topic :: Software Development",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
skip_missing_interpreters = True
33
envlist =
4-
py27,py35,py36,py37,py38,py39,py310,pypy,pypy3
4+
py36,py37,py38,py39,py310,pypy3
55

66
[testenv]
77
deps = flake8==3.6.0

0 commit comments

Comments
 (0)