Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion doc/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

## переход на UV

- [ ] разобратся с зависимостями - как правильно реализовать совместимость `[dependency-groups]` и `[project.optional-dependencies]`
- [ ] переёти на uv build

## автоматизация
Expand Down
10 changes: 3 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ build-backend = "setuptools.build_meta"
include = ["maxapi*", "wiki*", "examples*"]

[project.optional-dependencies]
webhook = [
"fastapi>=0.103.0,<1",
"uvicorn>=0.15.0,<1",
]
fastapi = [
"fastapi>=0.103.0,<1",
"uvicorn>=0.15.0,<1",
Expand All @@ -54,9 +50,12 @@ litestar = [
"litestar>=2.0.0,<3",
"uvicorn>=0.15.0,<1",
]
# алиас для обратной совместимости с maxapi[webhook]
webhook = ["maxapi[fastapi]"]
Comment thread
Olegt0rr marked this conversation as resolved.

[dependency-groups]
dev = [
"maxapi[fastapi,litestar]",
"pytest>=9.0",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
Expand All @@ -72,9 +71,6 @@ dev = [
"python-dotenv>=1.2.1",
"Faker>=40.4.0",
"httpx>=0.28.1,<1",
"fastapi>=0.103.0,<1",
"uvicorn>=0.15.0,<1",
"litestar>=2.0.0,<3",
"aresponses>=3.0.0,<4",
]

Expand Down