aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-07-23 22:43:19 +0100
committerGravatar Chris Lovering <[email protected]>2022-08-14 19:43:51 +0100
commitfdb55d1beb0329064fde66bf1ee04a7aef032054 (patch)
tree12aba2ad6fcd2a4ee0ac363f4a3586a693854e25
parentUpdate the docker-compose snekbox dep for bot (diff)
Bump to Python 3.10
-rw-r--r--.github/workflows/lint-test.yml2
-rw-r--r--Dockerfile2
-rw-r--r--pyproject.toml2
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml
index 57cc544d9..2b3dd5b4f 100644
--- a/.github/workflows/lint-test.yml
+++ b/.github/workflows/lint-test.yml
@@ -61,7 +61,7 @@ jobs:
id: python
uses: actions/setup-python@v2
with:
- python-version: '3.9'
+ python-version: '3.10'
# This step caches our Python dependencies. To make sure we
# only restore a cache when the dependencies, the python version,
diff --git a/Dockerfile b/Dockerfile
index 30bf8a361..5bb400658 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM --platform=linux/amd64 python:3.9-slim
+FROM --platform=linux/amd64 python:3.10-slim
# Set pip to have no saved cache
ENV PIP_NO_CACHE_DIR=false \
diff --git a/pyproject.toml b/pyproject.toml
index 77d8ee3d4..af3fdc115 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,7 +6,7 @@ authors = ["Python Discord <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
-python = "3.9.*"
+python = "3.10.*"
"discord.py" = {url = "https://github.com/Rapptz/discord.py/archive/0eb3d26343969a25ffc43ba72eca42538d2e7e7a.zip"}
# See https://bot-core.pythondiscord.com/ for docs.