Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: '3.12'
python-version: '3.15'
- uses: pre-commit/action@v3.0.1

tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
- uses: astral-sh/setup-uv@v10.4.0
with:
enable-cache: true
- run: uv run --dev python -m pytest tests/ -q
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
Expand All @@ -10,15 +10,15 @@ repos:
- id: check-toml

- repo: https://github.com/PyCQA/bandit
rev: 1.8.6
rev: 1.9.4
hooks:
- id: bandit
# B101 (assert_used) is just how pytest asserts, so skip the test suite
# rather than disabling the check globally.
exclude: ^tests/

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.15
rev: v0.17.6
hooks:
- id: ruff-check
args: [--fix]
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12
3.15
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["src/api", "src/bot"]

[dependency-groups]
dev = [
"pre-commit>=4.6.0",
"pytest>=9.1.1",
"ruff>=0.15.15",
"pre-commit>=4.7.0",
"pytest>=9.2.0",
"ruff>=0.17.6",
]
4 changes: 2 additions & 2 deletions src/Dockerfile-api
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim-bookworm
FROM python:3.15-slim-trixie

ARG FLASK_RUN_PORT=5000

Expand All @@ -8,7 +8,7 @@ ENV PYTHONUNBUFFERED=1 \
UV_LINK_MODE=copy \
UV_PROJECT_ENVIRONMENT=/api/.venv

COPY --from=ghcr.io/astral-sh/uv:0.13.4 /uv /uvx /usr/local/bin/
COPY --from=ghcr.io/astral-sh/uv:0.13.9 /uv /uvx /usr/local/bin/

WORKDIR /api

Expand Down
4 changes: 2 additions & 2 deletions src/Dockerfile-bot
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.12-slim-bookworm
FROM python:3.15-slim-trixie

ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
UV_COMPILE_BYTECODE=1 \
UV_LINK_MODE=copy \
UV_PROJECT_ENVIRONMENT=/bot/.venv

COPY --from=ghcr.io/astral-sh/uv:0.13.4 /uv /uvx /usr/local/bin/
COPY --from=ghcr.io/astral-sh/uv:0.13.9 /uv /uvx /usr/local/bin/

WORKDIR /bot

Expand Down
2 changes: 1 addition & 1 deletion src/Dockerfile-migration
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:17.7-alpine3.21
FROM postgres:17.12-alpine3.24

COPY /db/migration-entrypoint.sh /usr/local/bin/
COPY /db/migrations.sql /
Expand Down
8 changes: 4 additions & 4 deletions src/api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name = "eos-api"
version = "0.1.0"
description = "Source files for the backend API made with flask."
requires-python = ">=3.12"
requires-python = ">=3.15"
dependencies = [
"flask==3.1.3",
"gunicorn==26.0.0",
"psycopg[binary]==3.3.4",
"psycopg-pool==3.2.6",
"gunicorn==27.0.1",
"psycopg[binary]==3.3.9",
"psycopg-pool==3.3.3",
]
2 changes: 1 addition & 1 deletion src/bot/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "eos-bot"
version = "0.1.0"
description = "Source files for the bot implementation."
requires-python = ">=3.12"
requires-python = ">=3.15"
dependencies = [
"aiohttp>=3.13.5",
"discord-py>=2.7.1",
Expand Down
2 changes: 1 addition & 1 deletion src/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ services:
postgres:
container_name: db
env_file: .env
image: postgres:17.7-alpine3.21
image: postgres:17.12-alpine3.24
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${PGUSER} -d ${POSTGRES_DB}"]
interval: 5s
Expand Down
1,305 changes: 444 additions & 861 deletions uv.lock

Large diffs are not rendered by default.

Loading