Skip to content

Commit ef69c65

Browse files
committed
perf: 停止兼容python3.7
1 parent 52decbf commit ef69c65

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.github/workflows/pytest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
21+
python-version: ["3.8", "3.9", "3.10", "3.11" ]
2222
fail-fast: false
2323

2424
steps:

fastapi_user_auth/__init__.py

-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@
1717
),
1818
}
1919
)
20-
21-
from . import globals as g # noqa: E402
22-
23-
__all__ = ["__version__", "__url__", "g", "i18n"]

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ maintainers = [
1212
]
1313
description = "FastAPI-User-Auth is a simple and powerful FastAPI user RBAC authentication and authorization library. Based on FastAPI-Amis-Admin and provides a freely extensible visual management interface."
1414
readme = "README.md"
15-
requires-python = ">=3.7"
15+
requires-python = ">=3.8"
1616
dynamic = ["version"]
1717
keywords = [
1818
"fastapi",
@@ -30,7 +30,6 @@ classifiers = [
3030
"License :: OSI Approved :: Apache Software License",
3131
"Operating System :: OS Independent",
3232
"Programming Language :: Python :: 3",
33-
"Programming Language :: Python :: 3.7",
3433
"Programming Language :: Python :: 3.8",
3534
"Programming Language :: Python :: 3.9",
3635
"Programming Language :: Python :: 3.10",

0 commit comments

Comments
 (0)