Какие ключи следует изменить или добавить для правильной миграции на uv?
Вот текущая структура pyproject.toml:
Код: Выделить всё
[tool.poetry]
name = "name"
version = "1.6.0"
description = ""
authors = [
"...",
]
maintainers = [
"...",
]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "^0.115.2"
uvicorn = { version = "^0.32.0", extras = ["standard"] }
pydantic = "^2.5.3"
pydantic-settings = "^2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
flake8 = "~7.1.1"
mypy = "^1.12"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore:.*unclosed.*:ResourceWarning",
]
env = [
"...=...",
"...=...",
]
[tool.coverage.run]
omit = [
"...=...",
"...=...",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Подробнее здесь: https://stackoverflow.com/questions/791 ... ge-manager
Мобильная версия