Skip to content

Commit 96dba85

Browse files
committed
Update deps, including Safir for app metrics resiliency fix
1 parent d47bef3 commit 96dba85

File tree

7 files changed

+455
-359
lines changed

7 files changed

+455
-359
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44
# Current supported uv version. The uv documentation recommends pinning
55
# this. The version should match the version used in .pre-commit-config.yaml
66
# and frozen in uv.lock. It is updated by make update-deps.
7-
UV_VERSION: "0.9.2"
7+
UV_VERSION: "0.9.15"
88

99
"on":
1010
merge_group: {}

.github/workflows/periodic-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
# Current supported uv version. The uv documentation recommends pinning
1010
# this. The version should match the version used in .pre-commit-config.yaml
1111
# and frozen in uv.lock. It is updated by make update-deps.
12-
UV_VERSION: "0.9.2"
12+
UV_VERSION: "0.9.15"
1313

1414
"on":
1515
schedule:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ repos:
77
- id: trailing-whitespace
88

99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.14.0
10+
rev: v0.14.7
1111
hooks:
1212
- id: ruff-check
1313
args: [--fix, --exit-non-zero-on-fix]
1414
- id: ruff-format
1515

1616
- repo: https://github.com/astral-sh/uv-pre-commit
17-
rev: 0.9.2
17+
rev: 0.9.15
1818
hooks:
1919
- id: uv-lock

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
2323
FROM base-image AS install-image
2424

2525
# Install uv.
26-
COPY --from=ghcr.io/astral-sh/uv:0.9.2 /uv /bin/uv
26+
COPY --from=ghcr.io/astral-sh/uv:0.9.15 /uv /bin/uv
2727

2828
# Install system packages only needed for building dependencies.
2929
COPY scripts/install-dependency-packages.sh .
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Bug fixes
2+
3+
- Use updated Safir so that app metrics won't break the app in rare situations if the underlying Kafka infrastructure is down.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies = [
2424
"fastapi>=0.100",
2525
"pydantic>2",
2626
"pydantic-settings>=2.6",
27-
"safir[db,kafka,uws]>=14",
27+
"safir[db,kafka,uws]>=14.1.2",
2828
"sqlalchemy[asyncio]>=2",
2929
"structlog",
3030
"uvicorn[standard]",

uv.lock

Lines changed: 446 additions & 353 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)