From 204983748ef9d6d0a370b567571b3d2d8daf280d Mon Sep 17 00:00:00 2001 From: Kirill Mokevnin Date: Tue, 12 May 2026 21:41:20 -0400 Subject: [PATCH] chore: update Python to 3.13, PostgreSQL to 17, GitHub Actions to latest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Python: 3.12 → 3.13 - PostgreSQL: 15 → 17 (+ update config paths) - actions/checkout: v4 → v5 - actions/setup-python: v5 → v6 - astral-sh/setup-uv: v5 → v7 - docker/login-action: v3 → v4 - docker/build-push-action: v6 → v7 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/python-ci.yml | 14 +++++++------- Dockerfile | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 0d8303d..860baf0 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -13,15 +13,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: "3.12" + python-version: "3.13" - name: Install uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v7 - name: Install dependencies run: uv sync @@ -35,19 +35,19 @@ jobs: if: ${{ github.event_name == 'push' }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: docker/setup-buildx-action@v3 - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . push: true diff --git a/Dockerfile b/Dockerfile index 582f778..93bbd2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM python:3.12-slim +FROM python:3.13-slim RUN apt-get update && apt-get install -yqq \ make \ - postgresql-15 \ + postgresql-17 \ sudo \ curl @@ -22,8 +22,8 @@ COPY . . COPY init.sql /docker-entrypoint-initdb.d/ # postgres config -RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/15/main/pg_hba.conf && \ - echo "listen_addresses='*'" >> /etc/postgresql/15/main/postgresql.conf +RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/17/main/pg_hba.conf && \ + echo "listen_addresses='*'" >> /etc/postgresql/17/main/postgresql.conf # create docker user and db RUN service postgresql start && \