Skip to content

Set alembic path_separator and pin postgres 17 - #93

Merged
lesnik512 merged 1 commit into
mainfrom
chore/alembic-path-separator-pin-postgres-17
Oct 17, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
chore/alembic-path-separator-pin-postgres-17

Conversation

@lesnik512

Copy link
Copy Markdown
Member

What

  • Adds path_separator = os to alembic.ini, as chat-app already does. Alembic 1.16+ emitted a DeprecationWarning on every run, visible in the pytest-alembic suite.
  • Pins postgres:17 in both .github/workflows/main.yml (was latest) and docker-compose.yml (was 14), matching chat-app.

Why

CI and local compose ran different Postgres majors, so a migration could pass in one and fail in the other. Both now use 17.

Testing

Config-only change, so no new test. Checked locally against a Postgres 17 container:

  • tests/migrations passes, and the path_separator DeprecationWarning is gone (5 warnings before, none after).
  • ruff, ty, and the full pytest run (100% coverage) pass.

@lesnik512
lesnik512 merged commit cb4fca9 into main Oct 17, 2026
3 checks passed
@lesnik512
lesnik512 deleted the chore/alembic-path-separator-pin-postgres-17 branch October 17, 2026 07:34
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