Skip to content

Commit

Permalink
Drop python 3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
bebleo committed Apr 21, 2024
1 parent 233fe01 commit ce20b78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-3.8]
python-version: ["3.8", "3.9", "3.10", "3.11", pypy-3.8]
include:
- os: macos-latest
python-version: "3.11"
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ["version"]
description = "An SMTP server for testing built on aiosmtpd"
readme = "README.md"
license = "MIT"
requires-python = ">=3.7, <4"
requires-python = ">=3.8, <4"
authors = [
{ name = "James Warne", email = "bebleo@yahoo.com" },
]
Expand All @@ -24,7 +24,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down Expand Up @@ -78,7 +77,7 @@ source = [

[tool.mypy]
files = "src/pytest_smtpd"
python_version = "3.7"
python_version = "3.8"
# show_error_codes = true
# allow_redefinition = true
disallow_any_generics = true
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[tox]
envlist = py{37,38,39,310,311},pypy3,lint,cov
envlist = py{38,39,310,311},pypy3,lint,cov

[testenv]
deps =
pytest
commands = pytest {posargs}
passenv = PYTHON_VERSION

[testenv:lint]
basepython = python39
Expand Down

0 comments on commit ce20b78

Please sign in to comment.