diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 446e602..db92771 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11'] name: Python ${{ matrix.python-version}} steps: diff --git a/pyproject.toml b/pyproject.toml index 57faa79..31c0871 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ select = ["E", "F", "B"] line-length = 88 ignore = ["E501"] -target-version = "py37" +target-version = "py38" src = ["src"] @@ -16,23 +16,21 @@ docstring-quotes = "double" [tool.black] line-length = 88 -target-version = ["py37"] +target-version = ["py38"] [tool.tox] legacy_tox_ini = """ [tox] envlist = - py37 - py37-lint py38 + py38-lint py39 py310 py311 [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 @@ -43,8 +41,8 @@ deps = -rrequirements-dev.txt commands = pytest {posargs} -[testenv:py37-lint] -basepython = python3.7 +[testenv:py38-lint] +basepython = python3.8 changedir = {toxinidir} commands = black --check setup.py src tests diff --git a/setup.py b/setup.py index 47f591d..ddb0f8b 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ def get_version(): package_dir={"": "src"}, install_requires=INSTALL_REQUIRES, extras_require=EXTRAS_REQUIRE, - python_requires=">=3.7", + python_requires=">=3.8", entry_points=""" [console_scripts] fetch-data=crashstats_tools.cmd_fetch_data:fetch_data @@ -52,7 +52,6 @@ def get_version(): "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10",