Skip to content

misc: upgrade-related migrations and small fixes - #453

Merged
mik3y merged 8 commits into
mainfrom
mikey/more-fixes
Aug 3, 2026
Merged

misc: upgrade-related migrations and small fixes#453
mik3y merged 8 commits into
mainfrom
mikey/more-fixes

Conversation

@mik3y

@mik3y mik3y commented Aug 3, 2026

Copy link
Copy Markdown
Member

Part of #452

mik3y added 8 commits August 3, 2026 19:07
- replaces the vendored pytz.common_timezones list (a TODO from the 2.0
  upgrade) with a callable over zoneinfo.available_timezones()
- callable choices are serialized by reference, so tzdata updates never
  generate new migrations
- first schema migration since 1.3; the legacy-upgrade CI job now
  exercises applying it to a real v1.3 database
- run them on mysql/postgres (there is no sqlite dump implementation)
- read db connection params lazily: they were captured at import, before
  the test runner swaps in the test database, so dump/erase targeted the
  real database
- fix infinite recursion in erase() media cleanup when a media directory
  has subdirectories
- skipped since the flake8 era; ruff runs as its own CI step
- drop the stale REUSE_DB pytest option (django-nose relic) that warned
  on every test run
- Controller, FlowMeter, FlowToggle, and ThermoSensor lists (api and
  kegadmin) had no ordering, so postgres returned them in arbitrary
  heap order
- no-op at the database level (AlterModelOptions only)
- schemeless producer urls now assume https; silences the last
  deprecation warning in the test run
- example now pulls ghcr.io/kegbot/server:latest (the published image;
  'stable' predates the current release tagging)
- pin mysql:8; mysql:latest is now 9.x
- wait for mysql to be healthy before starting the app services
- drop the deprecated compose 'version' key and the stale KEGBOT_DEBUG
  variable
- developers guide now describes the uv/ruff/pre-commit workflow
- add the 2.0.0 section to the published changelog
- document the backup/restore commands and the direct v1.1.x
  legacy-restore path
- modernize 'docker compose' invocations and the sample output
- CHANGELOG.md is now just a pointer; the changelog was already
  maintained in docs/source/releases/changelog.rst
@mik3y
mik3y force-pushed the mikey/more-fixes branch from 3c8e01e to 8edd06c Compare August 3, 2026 20:12
@mik3y
mik3y merged commit 5e1b735 into main Aug 3, 2026
6 checks passed
@mik3y
mik3y deleted the mikey/more-fixes branch August 3, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant