Skip to content

Commit

Permalink
feat: remove support for Python 3.7 (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon authored Jun 26, 2023
1 parent fe64fb3 commit 5b8a172
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ["3.7", "3.11"]
python-version: ["3.8", "3.11"]
fail-fast: false
permissions:
contents: read
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
fail-fast: false
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.7
python_version = 3.8
warn_unused_configs = True
plugins = sqlmypy

Expand Down
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ def default(session, path):
)


@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"])
@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
def unit(session):
default(session, os.path.join("tests", "unit"))


@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"])
@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
def system(session):
default(session, os.path.join("tests", "system"))


@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"])
@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
def test(session):
default(session, os.path.join("tests", "unit"))
default(session, os.path.join("tests", "system"))
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -80,7 +79,7 @@
"pytds": ["python-tds==1.12.0"],
"asyncpg": ["asyncpg==0.27.0"]
},
python_requires=">=3.7",
python_requires=">=3.8",
include_package_data=True,
zip_safe=False,
)

0 comments on commit 5b8a172

Please sign in to comment.