Switch to uv

This commit is contained in:
2025-08-16 13:04:29 +01:00
parent ce64b3693d
commit c5be81b48e
7 changed files with 757 additions and 1591 deletions

View File

@@ -7,32 +7,25 @@ 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.22.1,<0.23.0)",
"flask>=3.1.1",
"prometheus-client>=0.22.1",
"python-telegram-bot<20",
"twilio>=9.7.0",
"waitress>=3.0.2",
]
[tool.poetry]
packages = [{ include = "smsbot" }]
[tool.poetry.scripts]
[project.scripts]
smsbot = "smsbot.cli:main"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
[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"
[dependency-groups]
dev = [
"pytest>=8.4.1",
"pytest-flask>=1.3.0",
"pytest-mock>=3.14.1",
"ruff>=0.12.9",
]
github = ["pytest-github-actions-annotate-failures>=0.3.0"]