Skip to content

Commit 55c3105

Browse files
authored
Merge pull request #229 from grillazz/docker-image-refactor
Docker image refactor
2 parents 3e96bbb + daf5ce9 commit 55c3105

File tree

4 files changed

+160
-127
lines changed

4 files changed

+160
-127
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: [ "3.14" ]
15+
python-version: [ "3.14.0" ]
1616

1717
env:
1818
PYTHONDONTWRITEBYTECODE: 1

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.14-slim AS base
1+
FROM python:3.14.0-slim-trixie AS base
22

33
RUN apt-get update -qy \
44
&& apt-get install -qyy \
@@ -7,19 +7,19 @@ RUN apt-get update -qy \
77
build-essential \
88
ca-certificates
99

10-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
10+
COPY --from=ghcr.io/astral-sh/uv:0.9.17 /uv /uvx /bin/
1111

1212
ENV UV_LINK_MODE=copy \
1313
UV_COMPILE_BYTECODE=1 \
14-
UV_PYTHON=python3.14 \
14+
UV_PYTHON=python3.14.0 \
1515
UV_PROJECT_ENVIRONMENT=/panettone
1616

1717
COPY pyproject.toml /_lock/
1818
COPY uv.lock /_lock/
1919

2020
RUN cd /_lock && uv sync --locked --no-install-project
2121
##########################################################################
22-
FROM python:3.14-slim
22+
FROM python:3.14.0-slim-trixie
2323

2424
ENV PATH=/panettone/bin:$PATH
2525

pyproject.toml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
[project]
22
name = "fastapi-sqlalchemy-asyncpg"
3-
version = "1.22.0"
3+
version = "1.24.0"
44
description = "A modern FastAPI application with SQLAlchemy 2.0 and AsyncPG for high-performance async database operations. Features include JWT authentication with Redis token storage, password hashing, connection pooling, data processing with Polars, Rich logging, task scheduling with APScheduler, and Shakespeare datasets integration."
55
readme = "README.md"
66
requires-python = "==3.14.0"
77
dependencies = [
8-
"fastapi[all]==0.121.2",
9-
"pydantic[email]==2.12.4",
8+
"fastapi[all]==0.124.4",
9+
"pydantic[email]==2.12.5",
1010
"pydantic-settings==2.12.0",
11-
"sqlalchemy==2.0.44",
11+
"sqlalchemy==2.0.45",
1212
"uvicorn[standard]==0.38.0",
13-
"asyncpg==0.30.0",
13+
"asyncpg==0.31.0",
1414
"alembic==1.17.2",
1515
"httpx==0.28.1",
16-
"pytest==9.0.1",
16+
"pytest==9.0.2",
1717
"pytest-cov==7.0.0",
1818
"uvloop==0.22.1",
1919
"httptools==0.7.1",
2020
"rich==14.2.0",
2121
"pyjwt==2.10.1",
22-
"redis==7.0.1",
22+
"redis==7.1.0",
2323
"bcrypt==5.0.0",
24-
"polars[pyarrow]==1.35.2",
24+
"polars[pyarrow]==1.36.1",
2525
"python-multipart==0.0.20",
26-
"fastexcel==0.16.0",
26+
"fastexcel==0.18.0",
2727
"inline-snapshot==0.31.1",
28-
"dirty-equals==0.10.0",
29-
"polyfactory==3.0.0",
30-
"granian==2.5.7",
28+
"dirty-equals==0.11",
29+
"polyfactory==3.1.0",
30+
"granian==2.6.0",
3131
"apscheduler[redis,sqlalchemy]>=4.0.0a6",
3232
"rotoger==0.2.1",
3333
]
3434

3535
[tool.uv]
3636
dev-dependencies = [
37-
"ruff==0.14.5",
37+
"ruff==0.14.9",
3838
"devtools[pygments]==0.12.2",
39-
"pyupgrade==3.21.1",
40-
"ipython==9.7.0",
39+
"pyupgrade==3.21.2",
40+
"ipython==9.8.0",
4141
"tryceratops==2.4.1",
4242
]
4343

0 commit comments

Comments
 (0)