tortoise / aerich

A database migrations tool for TortoiseORM, ready to production.
https://github.com/tortoise/aerich
Apache License 2.0
804 stars 90 forks source link

Drop python3.7 support #337

Closed waketzheng closed 1 month ago

waketzheng commented 1 month ago

Does not change any code logic.

  1. Drop py37 support by lock python version to ^3.8 in pyproject.toml
  2. Bump up version of Github action tools
  3. Update Makefile to avoid installing deps twice when make ci
  4. Add some type hints
  5. Share add/modify logic for BaseDDL
  6. Use staticmethod for migrate.Migrate to reduce duplicated code