Skip to content

Commit 09003cc

Browse files
committed
Set alembic path_separator and pin postgres 17 in CI and compose
1 parent 105922a commit 09003cc

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: uv run pytest tests/migrations --override-ini=addopts=
4545
services:
4646
postgres:
47-
image: postgres:latest
47+
image: postgres:17
4848
env:
4949
POSTGRES_DB: postgres
5050
POSTGRES_PASSWORD: password

‎alembic.ini‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ file_template = %%(year)d-%%(month).2d-%%(day).2d_%%(slug)s
1010
# sys.path path, will be prepended to sys.path if present.
1111
# defaults to the current working directory.
1212
prepend_sys_path = .
13+
path_separator = os
1314

1415
# timezone to use when rendering the date
1516
# within the migration file as well as the filename.

‎docker-compose.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
["uv", "run", "python", "-m", "app"]
2121

2222
db:
23-
image: postgres:14
23+
image: postgres:17
2424
restart: always
2525
environment:
2626
- POSTGRES_PASSWORD=password

0 commit comments

Comments
 (0)