chore: upgrade Python version to 3.13

- Update requires-python to >=3.13 in pyproject.toml
- Update ruff and black target versions to py313
- Update Dockerfile to use python:3.13-alpine
- Add explicit Python 3.13 setup in CI workflow
- Regenerate uv.lock for Python 3.13

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
EstrellaXD
2026-01-26 16:30:25 +01:00
parent f22f5c657f
commit 7b5c8d9ac5
4 changed files with 10 additions and 407 deletions

View File

@@ -2,7 +2,7 @@
name = "auto-bangumi"
version = "3.2.0-beta.13"
description = "AutoBangumi - Automated anime download manager"
requires-python = ">=3.10"
requires-python = ">=3.13"
dependencies = [
"fastapi>=0.109.0",
"uvicorn>=0.27.0",
@@ -43,7 +43,7 @@ asyncio_mode = "auto"
[tool.ruff]
line-length = 88
target-version = "py310"
target-version = "py313"
exclude = [".venv", "venv", "build", "dist"]
[tool.ruff.lint]
@@ -60,4 +60,4 @@ package = false
[tool.black]
line-length = 88
target-version = ['py310', 'py311']
target-version = ['py313']