Skip to content

Commit

Permalink
Remove support for Python 2.7 and 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ymyzk committed Sep 4, 2021
1 parent 1223231 commit 40b3d92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- macos-latest # macOS-10.15
- windows-2016
- windows-latest # windows-2019
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy-2.7, pypy-3.6, pypy-3.7]
python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.6, pypy-3.7]

steps:
- uses: actions/checkout@v1
Expand Down
19 changes: 6 additions & 13 deletions setup.cfg
Expand Up @@ -24,10 +24,8 @@ classifiers =
Topic :: Software Development :: Testing
Topic :: Software Development :: Libraries
Topic :: Utilities
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Expand All @@ -40,14 +38,11 @@ packages = find:
package_dir =
=src
zip_safe = True
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
python_requires = >=3.6
install_requires =
tox >=3.12, <4
typing; python_version<"3.5"
setup_requires =
# This is for backward compatibility
# Needs setuptools_scm v5 for Python <3.6
setuptools_scm[toml] >=5, <7
setuptools_scm[toml] >=6, <7

[options.packages.find]
where = src
Expand All @@ -58,12 +53,12 @@ tox =

[options.extras_require]
testing =
black; platform_python_implementation=='CPython' and python_version>='3.6'
black
flake8 >=3, <4
pytest >=4, <6
pytest-cov >=2, <3
pytest-mock >=2, <3
pytest-randomly >=3; python_version>='3.5'
pytest-randomly >=3

[options.package_data]
tox_gh_actions =
Expand All @@ -79,12 +74,10 @@ skip_missing_interpreters = true
envlist =
black
flake8
{py27,py35,py36,py37,py38,py39,pypy2,pypy3}-tox{312,315,latest}
{py36,py37,py38,py39,pypy2,pypy3}-tox{312,315,latest}

[gh-actions]
python =
2.7: py27, flake8
3.5: py35
3.6: py36
3.7: py37
3.8: py38, black, flake8
Expand Down

0 comments on commit 40b3d92

Please sign in to comment.