From 285dae806a5fb997d43f64cad13a98c02c5bbe4e Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 6 Sep 2023 18:08:49 +0200 Subject: [PATCH] Maintenance: Update to Python 3.11 --- .github/workflows/main.yaml | 6 +++--- Dockerfile | 4 ++-- setup.py | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f9e238c5..d8e7b81b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade pip pre-commit @@ -45,7 +45,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.11" - name: Install dependencies run: | python -m pip install ".[docs]" @@ -64,7 +64,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: "3.11" - name: Install dependencies run: | python -m pip install --upgrade -e ".[testing]" diff --git a/Dockerfile b/Dockerfile index 1bfde560..fa8febae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build container -FROM python:3.8-slim AS build +FROM python:3.11-slim AS build RUN mkdir -pv /src @@ -14,7 +14,7 @@ RUN python -m pip install -U setuptools==70.3.0 && \ # Run container -FROM python:3.8-slim +FROM python:3.11-slim LABEL license="Apache License 2.0" \ maintainer="Crate.IO GmbH " \ diff --git a/setup.py b/setup.py index e43d8ed0..32491bf6 100644 --- a/setup.py +++ b/setup.py @@ -88,6 +88,9 @@ def read(path: str) -> str: "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], use_scm_version=True, )