Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/mcp/playwright_selenium_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from selenium.webdriver import ChromeOptions, Remote

# renovate: datasource=npm depName=@playwright/mcp
_PLAYWRIGHT_MCP_VERSION = "0.0.84"
_PLAYWRIGHT_MCP_VERSION = "0.0.86"


def main() -> None:
Expand Down
12 changes: 6 additions & 6 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b
# syntax=docker/dockerfile:1.29@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183
# Single-stage build: develop (the devcontainer image). Built with the repo
# root as context (see compose.yml). The repo-root Dockerfile is reserved for
# an instance's own runtime image -- see docs/TEMPLATE.md's "Contents" and
# "Instance extension points".

# renovate: datasource=github-releases depName=j178/prek
ARG PREK_VERSION=0.5.10
ARG PREK_VERSION=0.5.12

# renovate: datasource=npm depName=@anthropic-ai/claude-code
ARG CLAUDE_CODE_VERSION=2.1.319
ARG CLAUDE_CODE_VERSION=2.1.332

# renovate: datasource=github-releases depName=edouard-claude/snip
ARG SNIP_VERSION=0.26.0

# renovate: datasource=github-releases depName=cli/cli
ARG GH_VERSION=2.103.3
ARG GH_VERSION=2.106.0

# uv itself isn't a project dependency manager here -- it's only the
# mechanism scripts/develop.sh uses to install an exact, checksum-verified
# CPython build (see PYTHON_VERSION below) rather than an unpinned apt
# package. Left on PATH afterward; harmless, and an instance that adds
# Python as its own application runtime can reuse it directly.
# renovate: datasource=github-releases depName=astral-sh/uv
ARG UV_VERSION=0.13.7
ARG UV_VERSION=0.13.10

# python3 is infrastructure tooling, not an application runtime this
# template assumes: prek needs an interpreter to build the venv for any
Expand All @@ -35,7 +35,7 @@ ARG PYTHON_VERSION=3.14.8
# (the clear-thought MCP server in .mcp.json) is the only thing that
# needs it.
# renovate: datasource=node-version depName=node
ARG NODE_VERSION=24.22.2
ARG NODE_VERSION=24.22.3

ARG SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
ARG SSL_CERT_DIR=/etc/ssl/certs
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/stack/mqtt/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- mqtt-tls:/tls

mqtt:
image: eclipse-mosquitto:2.0.22@sha256:81a6193ae693942a3231cd3ac52875b02b7e3a19da671b2fb4b55cc874c5b279
image: eclipse-mosquitto:2.0.23@sha256:6a332cc7a8dbe011cbc076180cbb76b37c6f0f55809682ea08e7980ef0112ad9
restart: unless-stopped
# The password file is built from mqtt.env's credentials at every start (see
# mosquitto.conf); the image's own entrypoint still runs first and fixes /mosquitto
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/stack/postgres/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# ../README.md's "Devcontainer stack pattern" section.
services:
postgres:
image: postgres:18.6-alpine@sha256:9ba53c7d41ea093baf5c1ba635ba5434c4f979880527d49bb7d9237d3193085b
image: postgres:18.7-alpine@sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
restart: unless-stopped
env_file:
- ./postgres.env
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/stack/redis/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# compose-generated default network (see ../README.md).
services:
redis:
image: valkey/valkey:9.1.3-alpine@sha256:bf09d58e96d6b4524a15396b65b242bbe18beebbcc15a04d8ee75ddac62fae0b
image: valkey/valkey:9.2.1-alpine@sha256:3ad5a213cb1bc2fd4a113c89b6248a88655a6bf1dda69519d04e03cd3e3d2742
restart: unless-stopped
command: valkey-server --appendonly yes
volumes:
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/stack/umami/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
# Not docker-entrypoint-initdb.d, which Postgres skips on an existing
# volume. Connects with the stack's Postgres credentials.
umami-db-init:
image: postgres:18.6-alpine@sha256:9ba53c7d41ea093baf5c1ba635ba5434c4f979880527d49bb7d9237d3193085b
image: postgres:18.7-alpine@sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
restart: "no"
env_file:
- ../postgres/postgres.env
Expand Down Expand Up @@ -47,7 +47,7 @@ services:
# analytics.env, the same file myapp loads).
# user_id is the admin user created by Umami's migration 01_init.
umami-seed:
image: postgres:18.6-alpine@sha256:9ba53c7d41ea093baf5c1ba635ba5434c4f979880527d49bb7d9237d3193085b
image: postgres:18.7-alpine@sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
restart: "no"
env_file:
- ../postgres/postgres.env
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
persist-credentials: false

- name: Install uv
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
with:
enable-cache: true
# Same minor as the devcontainer's CPython (.devcontainer/Dockerfile's
Expand All @@ -47,7 +47,7 @@ jobs:
run: uv sync --locked --all-extras

- name: Run benchmarks
uses: CodSpeedHQ/action@61efe07e57e55bedeab750c434504de272a56e8c # v5.6.1
uses: CodSpeedHQ/action@b1f28b5eccf7cb5bfe6a2a89cb3053eb67f1150c # v5.8.0
# The app has no MODE default (it refuses to start without one), and this bare
# runner has no devcontainer environment to supply it. tests/bench swaps in the
# mock repository itself.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
persist-credentials: false

- name: Install uv
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
with:
enable-cache: true
# Same minor as the devcontainer's CPython (.devcontainer/Dockerfile's
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
persist-credentials: false

- name: Install uv
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
with:
enable-cache: true
# Same minor as the devcontainer's CPython (.devcontainer/Dockerfile's
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ repos:
# that directory only. Keep the rev equal to the ruff the Python
# templates pin in pyproject.toml.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.17.4
rev: v0.17.6
hooks:
- id: ruff-check
name: ruff check (.github/scripts)
Expand Down Expand Up @@ -173,7 +173,7 @@ repos:
# pre-commit manager bumps tags directly, and a SHA + "# frozen: vX"
# comment is pre-commit.ci's convention that it doesn't maintain.
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.32.0
rev: v1.33.1
hooks:
# Offline when run locally (no token); checks.yml passes GH_TOKEN
# through to the devcontainer so CI also runs the online audits.
Expand All @@ -198,7 +198,7 @@ repos:
stages: [manual]

- repo: https://github.com/google/osv-scanner
rev: v2.7.0
rev: v2.7.1
hooks:
# Online (queries osv.dev). Only runs when a supported lockfile is
# in the file set: with none, osv-scanner exits 128 ("no packages
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b
# syntax=docker/dockerfile:1.29@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183
# Runtime image (builder → runner), the repo's only top-level Dockerfile, in
# the layout template-docker expects (docs/TEMPLATE.md's "Image layer"). The
# devcontainer image is the base-owned .devcontainer/Dockerfile's `develop`
Expand All @@ -13,7 +13,7 @@ ARG PYTHON_VERSION=3.14.8
ARG DEBIAN_VERSION=trixie

# renovate: datasource=github-releases depName=astral-sh/uv
ARG UV_VERSION=0.13.6
ARG UV_VERSION=0.13.10

ARG APP_UID=1000

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ IMAGE_SCAN_STRICT ?=
# (a customManager in .github/renovate.json). The SBOM tool runs as root with
# dist/ (the image tar) mounted read-write, so a retagged image must not run.
# Apache-2.0.
SYFT_IMAGE := anchore/syft:v1.57.1@sha256:03215d0e98b661d0ecbc8575dbc14d65be1743b5de5df6410aecb7e80f95b060
SYFT_IMAGE := anchore/syft:v1.57.2@sha256:e97e20b6e6d1699c60296b66ab337941724f9bd06ac279d893eda89601fc4b2a

# Pinned by tag and digest; Renovate updates both together. Apache-2.0. The
# `-immutable` tag, not `vX.Y.Z`: quay.io rebuilds the plain tags daily and
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ services:
# inline (configs: below) and the password file is built at startup from
# the smoke-only credentials, so no secret-shaped file is checked in.
mqtt:
image: eclipse-mosquitto:2.0.22@sha256:81a6193ae693942a3231cd3ac52875b02b7e3a19da671b2fb4b55cc874c5b279
image: eclipse-mosquitto:2.0.23@sha256:6a332cc7a8dbe011cbc076180cbb76b37c6f0f55809682ea08e7980ef0112ad9
entrypoint: ["sh", "-c"]
command:
- >-
Expand Down
40 changes: 20 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,53 @@ description = "Template repository for FastAPI projects"
license = "GPL-3.0-only"
requires-python = ">=3.14"
dependencies = [
"fastapi==0.162.0",
"uvicorn[standard]==0.54.0",
"pydantic-settings==2.16.2",
"fastapi==0.165.0",
"uvicorn[standard]==0.55.0",
"pydantic-settings==2.16.3",
"pyjwt[crypto]==2.15.1",
"httpx==0.28.1",
"sqlalchemy[asyncio]==2.0.54",
"httpx==0.29.0",
"sqlalchemy[asyncio]==2.1.9",
"asyncpg==0.32.0",
"alembic==1.20.1",
"redis==8.1.0",
"boto3==1.43.123",
"redis==8.2.0",
"boto3==1.44.13",
"debugpy==1.8.22",
"opentelemetry-sdk==1.45.2",
"opentelemetry-exporter-otlp-proto-http==1.45.2",
"python-multipart==0.0.33",
"python-multipart==0.0.34",
"opentelemetry-instrumentation-logging==0.66b2",
"defusedxml==0.7.1",
"slowapi==0.1.10",
"aiomqtt==2.5.1",
"opentelemetry-instrumentation-fastapi==0.66b2",
"opentelemetry-instrumentation-sqlalchemy==0.66b2",
"granian==2.8.7",
"granian==2.8.9",
"craftainer-crud[mqtt,xml]>=0.11.0,<0.12",
"craftainer-observability[otel,sqlalchemy,redis,s3,http,analytics]>=0.5.0,<0.6",
]

[project.optional-dependencies]
dev = [
"pytest==9.2.0",
"pytest-asyncio==1.4.1.post1",
"ruff==0.17.4",
"pytest-asyncio==1.5.0",
"ruff==0.17.6",
"mypy==2.4.1",
"prek==0.5.9",
"httpx2==2.16.0",
"playwright==1.64.1",
"prek==0.5.12",
"httpx2==2.16.2",
"playwright==1.65.2",
"pytest-playwright==0.10.0",
"selenium==4.52.0",
"selenium==4.54.0",
"pytest-cov==7.1.0",
"import-linter==2.15",
"boto3-stubs[s3]==1.43.123",
"import-linter==2.17",
"boto3-stubs[s3]==1.44.13",
"types-defusedxml==0.7.0.20260504",
"pip-audit==2.10.1",
"locust==2.47.0",
"pytest-benchmark==5.3.1",
"pytest-codspeed==5.0.4",
"py-spy==0.4.2",
"pyinstrument==5.1.3",
"squawk-cli==2.71.0",
"py-spy==0.4.4",
"pyinstrument==5.1.4",
"squawk-cli==2.74.0",
"craftainer-crud-sdk>=0.4.0,<0.5",
]

Expand Down
2 changes: 1 addition & 1 deletion scripts/develop.d/30-rustfs-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
set -euo pipefail

# renovate: datasource=github-releases depName=rustfs/cli
RUSTFS_CLI_VERSION=0.1.36
RUSTFS_CLI_VERSION=0.1.38

rustfs_cli_arch="$(dpkg --print-architecture)"
rustfs_cli_asset="rustfs-cli_${RUSTFS_CLI_VERSION}_${rustfs_cli_arch}.deb"
Expand Down
Loading