chore: переезд управления зависимостями на uv - #30
Merged
Conversation
- зависимости описаны в [project] и [dependency-groups] pyproject.toml, версии зафиксированы в uv.lock; requirements.txt и requirements-dev.txt удалены - Dockerfile ставит зависимости через uv sync --frozen отдельным слоем: пересборка зависимостей только при изменении pyproject/uv.lock, деплой на Raspberry ускоряется за счёт кеша - CI перешёл на astral-sh/setup-uv с кешем и uv run для всех проверок - aiohttp поднят 3.11.13 → 3.11.18: старая версия отозвана с PyPI (yanked) из-за регрессии - README: установка через uv sync, команды проверок через uv run - локальная проверка: uv lock/sync, 73 теста, mypy, flake8, сборка Docker-образа и импорт зависимостей внутри образа
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что сделано
[project]/[dependency-groups]pyproject.toml, точные версии — вuv.lock;requirements*.txtудаленыuv sync --frozenотдельным слоем — зависимости пересобираются только при изменении pyproject/uv.lock, деплой на Raspberry заметно быстрее после первого прогрева кешаastral-sh/setup-uvс кешем, все проверки черезuv runaiohttp3.11.13 → 3.11.18 (старая версия yanked на PyPI из-за регрессии)uv sync,uv run ...)