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 Nov 6, 2024
1 parent 7beaad8 commit af704dd
Show file tree
Hide file tree
Showing 3 changed files with 8 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 @@ -19,7 +19,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 @@ -46,7 +46,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 @@ -65,7 +65,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
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 <[email protected]>" \
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,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 af704dd

Please sign in to comment.