aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-03-04 09:05:23 +0000
committerGravatar Chris Lovering <[email protected]>2023-03-04 09:08:02 +0000
commitd0b35bf70807a3a89cbf43c4e2de646bc30e2a3e (patch)
tree6c8894f889c99e2575e8adaba424b6ababb1af22
parentfixed embed interaction and randomly choosing a kata (#1218) (diff)
Bump Python version to 3.11
-rw-r--r--.github/workflows/lint.yaml5
-rw-r--r--Dockerfile4
-rw-r--r--pyproject.toml2
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,
diff --git a/Dockerfile b/Dockerfile
index 43fcdf5a..b20e81f7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"] }