From c2e58163636d69555c5bffec4eaf5c47922a596d Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 28 Aug 2025 19:42:28 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20Remove=20Alembic=20migr?= =?UTF-8?q?ation=20system=20completely?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove alembic/ directory and alembic.ini file - Remove Alembic references from pyproject.toml, mypy.ini - Remove migration logic from main.py - Update CHANGELOG.md with removal details - Clean up all configuration files from Alembic settings --- CHANGELOG.md | 7 +++++++ pyproject.toml | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea1181d0..9cda6e60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ## [0.9.13] - 2025-08-27 +### 🗑️ Удалено +- **Удален Alembic**: Полностью удалена система миграций Alembic и вся связанная логика + - Удалена папка `alembic/` и файл `alembic.ini` + - Убраны упоминания Alembic из конфигурации (pyproject.toml, mypy.ini) + - Удалена логика запуска миграций из main.py + - Очищены конфигурационные файлы от настроек Alembic + ### 🚨 Исправлено - **Удалено поле username из модели Author**: Поле `username` больше не является частью модели `Author` - Убрано свойство `@property def username` из `orm/author.py` diff --git a/pyproject.toml b/pyproject.toml index 2d4361d3..bac2052e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -370,14 +370,12 @@ strict_equality = true exclude = [ "venv/", ".venv/", - "tests/", - "*/migrations/*", + "tests/" ] # Настройки для конкретных модулей [[tool.mypy.overrides]] module = [ - "tests.*", ] ignore_missing_imports = true