feat(backend): replace Selenium with Playwright

BREAKING CHANGE: backend now requires Python 3.12 or newer.
This commit is contained in:
2026-05-04 21:20:30 +08:00
parent fa07b340e7
commit d811c20932
15 changed files with 451 additions and 1570 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ name = "checkin-app-backend"
version = "0.1.0"
description = "FastAPI backend for CheckIn App"
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.12"
dependencies = [
"apscheduler>=3.10.4",
"bcrypt>=4.2.2",
@@ -15,7 +15,7 @@ dependencies = [
"pyjwt>=2.10.1",
"python-dotenv>=1.0.1",
"requests>=2.32.3",
"selenium>=4.28.1",
"playwright>=1.50.0",
"slowapi>=0.1.9",
"sqlalchemy>=2.0.36",
"uvicorn[standard]>=0.34.0",
@@ -48,7 +48,7 @@ namespaces = true
[tool.ruff]
line-length = 100
target-version = "py39"
target-version = "py312"
src = ["apps", "tests"]
[tool.ruff.lint]