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 Jun 20, 2024
1 parent 990341a commit 79467c2
Show file tree
Hide file tree
Showing 4 changed files with 10 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@v4
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@v3
- uses: actions/setup-python@v4
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@v4
with:
python-version: 3.8
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade -e ".[testing]"
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Changelog
Unreleased
----------

* Maintenance: Update to Python 3.11

2.39.0 (2024-05-22)
-------------------

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==65.5.1 && \


# Run container
FROM python:3.8-slim
FROM python:3.11-slim

LABEL license="Apache License 2.0" \
maintainer="Crate.IO GmbH <[email protected]>" \
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,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 79467c2

Please sign in to comment.