diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14f2a27..20bb585 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: needs: [setup] strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -96,7 +96,7 @@ jobs: *) echo "Incorrect Hatch virtualenv." && exit 1 ;; esac - name: Test that Git tag version and Python package version match - if: github.ref_type == 'tag' && matrix.python-version == '3.12' + if: github.ref_type == 'tag' && matrix.python-version == '3.13' run: | GIT_TAG_VERSION=$GITHUB_REF_NAME PACKAGE_VERSION=$(hatch version) @@ -138,7 +138,7 @@ jobs: - name: Upload Python package artifacts if: > github.ref_type == 'tag' && - matrix.python-version == '3.12' && + matrix.python-version == '3.13' && needs.setup.outputs.environment-name == 'PyPI' uses: actions/upload-artifact@v4 with: @@ -152,7 +152,7 @@ jobs: fail-fast: false matrix: linux-version: ["alpine", "bookworm", "slim-bookworm"] - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -298,7 +298,7 @@ jobs: -u ${{ github.actor }} --password-stdin - name: Tag and push Docker images with latest tags if: > - matrix.python-version == '3.12' && + matrix.python-version == '3.13' && ( github.ref_type == 'tag' || github.ref == 'refs/heads/develop' || diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b5fa761..a5caa4c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - uses: github/codeql-action/init@v3 with: languages: python diff --git a/Dockerfile b/Dockerfile index cb42c17..6a8a1c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -ARG PYTHON_VERSION=3.12 LINUX_VERSION= +ARG PYTHON_VERSION=3.13 LINUX_VERSION= FROM python:${PYTHON_VERSION}${LINUX_VERSION:+-$LINUX_VERSION} AS builder LABEL org.opencontainers.image.authors="Brendon Smith " LABEL org.opencontainers.image.description="Docker images and utilities to power your Python APIs and help you ship faster." diff --git a/docs/docker.md b/docs/docker.md index c1fe380..0f4705d 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -20,24 +20,24 @@ Please see [inboard Git tags](https://github.com/br3ndonland/inboard/tags), [inb docker pull ghcr.io/br3ndonland/inboard:starlette # Pull image from specific release - docker pull ghcr.io/br3ndonland/inboard:0.67.0-fastapi + docker pull ghcr.io/br3ndonland/inboard:0.71.2-fastapi # Pull image from latest minor version release (new in inboard 0.22.0) - docker pull ghcr.io/br3ndonland/inboard:0.67-fastapi + docker pull ghcr.io/br3ndonland/inboard:0.71-fastapi # Pull image with specific Python version - docker pull ghcr.io/br3ndonland/inboard:fastapi-python3.12 + docker pull ghcr.io/br3ndonland/inboard:fastapi-python3.13 # Pull image from latest minor release and with specific Python version - docker pull ghcr.io/br3ndonland/inboard:0.67-fastapi-python3.12 + docker pull ghcr.io/br3ndonland/inboard:0.71-fastapi-python3.12 # Append `-alpine` to image tags for Alpine Linux (new in inboard 0.11.0) docker pull ghcr.io/br3ndonland/inboard:latest-alpine - docker pull ghcr.io/br3ndonland/inboard:0.67-fastapi-alpine + docker pull ghcr.io/br3ndonland/inboard:0.71-fastapi-alpine # Append `-slim` to any of the above for Debian slim (new in inboard 0.11.0) docker pull ghcr.io/br3ndonland/inboard:latest-slim - docker pull ghcr.io/br3ndonland/inboard:0.67-fastapi-slim + docker pull ghcr.io/br3ndonland/inboard:0.71-fastapi-slim ``` ## Use images in a _Dockerfile_ diff --git a/pyproject.toml b/pyproject.toml index 331ca22..260f6a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Internet :: Log Analysis", "Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Internet :: WWW/HTTP :: WSGI",