Migrate from Poetry to uv: update pyproject.toml, Taskfile, GitHub Actions, and Dockerfile

Co-authored-by: nikdoof <170514+nikdoof@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-16 23:24:01 +00:00
parent 5556a0f650
commit 88cb3388af
12 changed files with 983 additions and 1625 deletions

View File

@@ -7,32 +7,27 @@ license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.9,<3.10"
dependencies = [
"flask (>=3.1.0,<4.0.0)",
"waitress (>=3.0.2,<4.0.0)",
"twilio (>=9.4.6,<10.0.0)",
"python-telegram-bot (<20)",
"prometheus-client (>=0.21.1,<0.22.0)",
"flask>=3.1.0,<4.0.0",
"waitress>=3.0.2,<4.0.0",
"twilio>=9.4.6,<10.0.0",
"python-telegram-bot<20",
"prometheus-client>=0.21.1,<0.22.0",
]
[tool.poetry]
packages = [{ include = "smsbot" }]
[tool.poetry.scripts]
[project.scripts]
smsbot = "smsbot.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"ruff>=0.12.0",
"pytest-mock>=3.12.0",
"pytest-flask>=1.3.0",
]
github = [
"pytest-github-actions-annotate-failures>=0.3.0",
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
ruff = "^0.12.0"
pytest-mock = "^3.12.0"
pytest-flask = "^1.3.0"
[tool.poetry.group.github]
optional = true
[tool.poetry.group.github.dependencies]
pytest-github-actions-annotate-failures = "^0.3.0"
requires = ["hatchling"]
build-backend = "hatchling.build"