feat: switch to Uv

This commit is contained in:
ducklet 2025-05-15 21:56:57 +02:00
parent 5c272b5110
commit 2814be8975
10 changed files with 538 additions and 852 deletions

View file

@ -1,46 +1,34 @@
[project]
name = "unwind"
requires-python = ">=3.12"
[tool.poetry]
name = "unwind"
version = "0"
description = ""
authors = ["ducklet <ducklet@noreply.code.dumpr.org>"]
license = "LOL"
authors = [{ name = "ducklet", email = "ducklet@noreply.code.dumpr.org" }]
requires-python = ">=3.12"
license = "blessing"
dependencies = [
"beautifulsoup4>=4.9.3,<5",
"html5lib~=1.1",
"starlette>=0.38.0,<0.39",
"ulid-py>=1.1.0,<2",
"uvicorn>=0.30.1,<0.31",
"httpx>=0.27.0,<0.28",
"sqlalchemy[aiosqlite]~=2.0",
"alembic>=1.13.1,<2",
]
[tool.poetry.dependencies]
python = "^3.12"
beautifulsoup4 = "^4.9.3"
html5lib = "^1.1"
starlette = "^0.38.0"
ulid-py = "^1.1.0"
uvicorn = "^0.30.1"
httpx = "^0.27.0"
sqlalchemy = {version = "^2.0", extras = ["aiosqlite"]}
alembic = "^1.13.1"
[tool.poetry.group.build.dependencies]
# When we run poetry export, typing-extensions is a transient dependency via
# sqlalchemy, but the hash won't be included in the requirements.txt.
# By making it a direct dependency we can fix this issue, otherwise this could
# be removed.
typing-extensions = "*"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = "*"
pyright = "*"
pytest-asyncio = "*"
pytest-cov = "*"
ruff = "*"
honcho = "*"
[dependency-groups]
dev = [
"pytest",
"pyright",
"pytest-asyncio",
"pytest-cov",
"ruff",
"honcho",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pyright]
pythonVersion = "3.12"