Skip to content

Commit

Permalink
Merge pull request #92 from willkg/90-py37
Browse files Browse the repository at this point in the history
Drop support for Python 3.7 (#90)
  • Loading branch information
willkg authored Sep 18, 2023
2 parents 52859c6 + 5aff793 commit f1c2832
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 5 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ select = ["E", "F", "B"]
line-length = 88
ignore = ["E501"]

target-version = "py37"
target-version = "py38"

src = ["src"]

Expand All @@ -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
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand Down

0 comments on commit f1c2832

Please sign in to comment.