Skip to content

Commit

Permalink
drop support for python 3.7 (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored Aug 18, 2023
1 parent abe3467 commit 14a4ecd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [Ubuntu, macOS, Windows]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
include:
- os: Ubuntu
image: ubuntu-latest
Expand Down
67 changes: 2 additions & 65 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include = [
]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
poetry = "^1.5.0"
poetry-core = "^1.6.0"

Expand Down Expand Up @@ -45,7 +45,7 @@ fix = true
unfixable = [
"ERA", # do not autoremove commented out code
]
target-version = "py37"
target-version = "py38"
line-length = 88
extend-select = [
"B", # flake8-bugbear
Expand Down Expand Up @@ -79,7 +79,7 @@ required-imports = ["from __future__ import annotations"]


[tool.black]
target-version = ['py37']
target-version = ['py38']
preview = true

[tool.mypy]
Expand All @@ -94,9 +94,9 @@ strict = true
files = ["src", "tests"]
exclude = ["^tests/fixtures/"]

# use of importlib-metadata backport at python3.7 makes it impossible to
# satisfy mypy without some ignores: but we get a different set of ignores at
# different python versions.
# use of importlib-metadata backport makes it impossible to satisfy mypy
# without some ignores: but we get a different set of ignores at different
# python versions.
#
# <https://github.com/python/mypy/issues/8823>, meanwhile suppress that
# warning.
Expand Down

0 comments on commit 14a4ecd

Please sign in to comment.