Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.7 (#90) #92

Merged
merged 2 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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