diff options
author | 2023-03-04 09:05:23 +0000 | |
---|---|---|
committer | 2023-03-04 09:08:02 +0000 | |
commit | d0b35bf70807a3a89cbf43c4e2de646bc30e2a3e (patch) | |
tree | 6c8894f889c99e2575e8adaba424b6ababb1af22 | |
parent | fixed embed interaction and randomly choosing a kata (#1218) (diff) |
Bump Python version to 3.11
-rw-r--r-- | .github/workflows/lint.yaml | 5 | ||||
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | pyproject.toml | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index fd41e972..0aa9e452 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -32,10 +32,9 @@ jobs: uses: actions/checkout@v2 - name: Install Python Dependencies - uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1 + uses: HassanAbouelela/actions/setup-python@setup-python_v1.4.0 with: - dev: true - python_version: "3.10" + python_version: "3.11" # Check all of our dev dependencies are compatible with the MIT license. # If you added a new dependencies that is being rejected, @@ -1,9 +1,9 @@ -FROM --platform=linux/amd64 ghcr.io/chrislovering/python-poetry-base:3.10-slim +FROM --platform=linux/amd64 ghcr.io/chrislovering/python-poetry-base:3.11-slim # Install dependencies WORKDIR /bot COPY pyproject.toml poetry.lock ./ -RUN poetry install --without dev +RUN poetry install --only main # Set SHA build argument ARG git_sha="development" diff --git a/pyproject.toml b/pyproject.toml index bfb51044..293165c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Python Discord <[email protected]>"] license = "MIT" [tool.poetry.dependencies] -python = "3.10.*" +python = "3.11.*" # See https://bot-core.pythondiscord.com/ for docs. pydis_core = { version = "9.5.0", extras = ["async-rediscache"] } |