Migrate from Poetry to uv package manager

Co-authored-by: nikdoof <170514+nikdoof@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-16 22:59:26 +00:00
parent daa322b406
commit e9ae65bd21
6 changed files with 510 additions and 683 deletions

View File

@@ -1,31 +1,32 @@
[tool.poetry]
[project]
name = "simple-webfinger"
version = "0.1.1"
description = "A simple, Flask-based webfinger handler."
authors = ["Andrew Williams <andy@tensixtyone.com>"]
license = "MIT"
authors = [
{ name = "Andrew Williams", email = "andy@tensixtyone.com" }
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"Flask>=3.0.3",
"PyYAML>=6.0.2",
"pydantic>=2.8.2",
"prometheus-flask-exporter>=0.23.1",
"gunicorn>=23.0.0",
]
[tool.poetry.dependencies]
python = "^3.11"
Flask = "^3.0.3"
PyYAML = "^6.0.2"
pydantic = "^2.8.2"
prometheus-flask-exporter = "^0.23.1"
gunicorn = "^23.0.0"
[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"
[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"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"