Migrate dependency management from pip to uv
- Add a uv workspace at the repository root covering all packages/kaya-* members - Replace pip-compile requirements files with a committed uv.lock - Remove redundant per-package dev extras - Build and publish artifacts with uv build and uv publish in CI - Update the README with uv sync/run/build commands
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
[project]
|
||||
name = "kaya"
|
||||
version = "0.0.0"
|
||||
description = "Development workspace for the Kaya lightweight ASGI web framework"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"kaya-core",
|
||||
"kaya-rsgi",
|
||||
"kaya-session",
|
||||
"kaya-session-redis",
|
||||
"kaya-session-memcache",
|
||||
"kaya-oidc",
|
||||
"kaya-openapi",
|
||||
"kaya-cors",
|
||||
"kaya-forwarded",
|
||||
"kaya-otel",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"fakeredis",
|
||||
"mypy",
|
||||
"ipdb",
|
||||
"httpx",
|
||||
"httpx-ws",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
package = false
|
||||
required-version = ">=0.13"
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = ["packages/*"]
|
||||
|
||||
[tool.uv.sources]
|
||||
kaya-core = { workspace = true }
|
||||
kaya-rsgi = { workspace = true }
|
||||
kaya-session = { workspace = true }
|
||||
kaya-session-redis = { workspace = true }
|
||||
kaya-session-memcache = { workspace = true }
|
||||
kaya-oidc = { workspace = true }
|
||||
kaya-openapi = { workspace = true }
|
||||
kaya-cors = { workspace = true }
|
||||
kaya-forwarded = { workspace = true }
|
||||
kaya-otel = { workspace = true }
|
||||
pwo = { index = "gitea" }
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "gitea"
|
||||
url = "https://gitea.woggioni.net/api/packages/woggioni/pypi/simple"
|
||||
explicit = true
|
||||
Reference in New Issue
Block a user