Skip to content

Commit

Permalink
Maintenance: Update to Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Sep 20, 2024
1 parent 30d9908 commit 6012be3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]"
Expand All @@ -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]"
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Unreleased
----------

* Upgrade to kubernetes-asyncio 31.1.0
* Maintenance: Update to Python 3.11

2.41.1 (2024-08-30)
-------------------
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build container
FROM python:3.8-slim AS build
FROM python:3.11-slim AS build

RUN mkdir -pv /src

Expand All @@ -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 <office@crate.io>" \
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit 6012be3

Please sign in to comment.