Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/container-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.12', '3.13', '3.14', '3.15' ]
python-version: [ '3.13', '3.14', '3.15' ]
env:
BUILDKIT_PROGRESS: plain
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
build-args: |
KARAPACE_VERSION=${{ steps.ctx.outputs.version }}
PYTHON_VERSION=3.12
PYTHON_VERSION=3.13
file: container/Dockerfile
platforms: "linux/amd64,linux/arm64"
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version: '3.12'
python-version: '3.13'
- name: Install libsnappy-dev
run: sudo apt install libsnappy-dev
- run: pip install pre-commit
Expand All @@ -43,7 +43,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- name: Resolve Karapace version
run: echo KARAPACE_VERSION="$(git describe --tags | cut -d '-' -f -2 | sed 's/-/.dev/g')" >> $GITHUB_ENV
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Run mypy
run: make type-check-mypy-in-docker
env:
PYTHON_VERSION: 3.12
PYTHON_VERSION: 3.13
KARAPACE_VERSION: ${{ env.KARAPACE_VERSION }}
RUNNER_UID: ${{ env.RUNNER_UID }}
RUNNER_GID: ${{ env.RUNNER_GID }}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ '3.12', '3.13', '3.14', '3.15' ]
python-version: [ '3.13', '3.14', '3.15' ]
steps:
- uses: actions/checkout@v4
# Need fetch-depth 0 to fetch tags, see https://github.com/actions/checkout/issues/701
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ source venv/bin/activate
pip install -e ".[dev]" # development install (includes test/lint deps)
```

Requires Python 3.12+, Go, Rust, and protoc whose major is not ahead of the pinned `protobuf` runtime lib (currently 7.36.x); an older protoc is fine.
Requires Python 3.13+, Go, Rust, and protoc whose major is not ahead of the pinned `protobuf` runtime lib (currently 7.36.x); an older protoc is fine.

### Running services locally

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cp .env.example .env

Edit `.env` to customize:

- `PYTHON_VERSION` - Python version for Docker builds (default: 3.12)
- `PYTHON_VERSION` - Python version for Docker builds (default: 3.13)
- `KARAPACE_VERSION` - Karapace version (default: 5.0.3)
- `DOCKER_COMPOSE` - Docker compose command (default: docker-compose)
- `RUNNER_UID` / `RUNNER_GID` - Container user IDs (check .env.example on how to get)
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PYTEST_ARGS ?=
DOCKER_COMPOSE ?= docker compose
PIP ?= pip3 --disable-pip-version-check --no-input --require-virtualenv
PYTHON ?= python3
PYTHON_VERSION ?= 3.12
PYTHON_VERSION ?= 3.13
KARAPACE_VERSION ?= 5.0.3
RUNNER_UID ?=
RUNNER_GID ?=
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ Quick Start

Edit ``.env`` to customize:

- ``PYTHON_VERSION`` - Python version for Docker builds (default: 3.12)
- ``PYTHON_VERSION`` - Python version for Docker builds (default: 3.13)
- ``KARAPACE_VERSION`` - Karapace version (default: 5.0.3)
- ``DOCKER_COMPOSE`` - Docker compose command (default: docker-compose)
- ``RUNNER_UID`` / ``RUNNER_GID`` - Container user IDs (check .env.example on how to get)
Expand Down
4 changes: 2 additions & 2 deletions container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PYTHON_VERSION=3.12
ARG PYTHON_VERSION=3.13

FROM python:${PYTHON_VERSION}-bookworm AS builder
ARG KARAPACE_VERSION
Expand Down Expand Up @@ -58,7 +58,7 @@ ENV CAROOT=/opt/karapace/certs/ca

# Setup files and directories.
RUN mkdir -p /opt/karapace /opt/karapace/runtime /var/log/karapace /opt/karapace/coverage $CAROOT \
&& touch /opt/karapace/coverage/.coverage.3.12 /opt/karapace/coverage/.coverage.3.13 /opt/karapace/coverage/.coverage.3.14 /opt/karapace/coverage/.coverage.3.15 \
&& touch /opt/karapace/coverage/.coverage.3.13 /opt/karapace/coverage/.coverage.3.14 /opt/karapace/coverage/.coverage.3.15 \
&& chown --recursive "$RUNNER_UID:$RUNNER_GID" /opt/karapace /opt/karapace/coverage /var/log/karapace

# Install Java via openjdk-11
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[mypy]
mypy_path = $MYPY_CONFIG_FILE_DIR/stubs
python_version = 3.12
python_version = 3.13
packages = karapace
show_error_codes = True
pretty = True
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "karapace"
requires-python = ">=3.12,<3.16"
requires-python = ">=3.13,<3.16"
dynamic = ["version"]
readme = "README.rst"
license = {file = "LICENSE"}
Expand Down Expand Up @@ -58,7 +58,6 @@ classifiers=[
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
Expand All @@ -77,7 +76,7 @@ Repository = "https://github.com/Aiven-Open/karapace/"
Issues = "https://github.com/Aiven-Open/karapace/issues"

[project.optional-dependencies]
sentry-sdk = ["sentry-sdk>=1.6.0"]
sentry-sdk = ["sentry-sdk>=2.0.0"]
systemd-logging = ["systemd-python"]
ujson = ["ujson"]
dev = [
Expand Down
Loading
Loading