aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-03-24 21:04:09 +0000
committerGravatar Chris Lovering <[email protected]>2024-03-30 10:39:57 +0000
commit92d74cb3833e486e6203fae6cacf4651ade90bc6 (patch)
tree312c5c0ae1bd268f91199675848413307aa92fca
parentBump sentry-sdk from 1.43.0 to 1.44.0 (#1492) (diff)
Bump references to 3.11 up to Pytohn 3.12
-rw-r--r--.github/workflows/lint.yaml2
-rw-r--r--.gitpod.yml2
-rw-r--r--Dockerfile2
-rw-r--r--pyproject.toml4
4 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 7353bdfa..530cd05a 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -26,7 +26,7 @@ jobs:
- name: Install Python Dependencies
uses: HassanAbouelela/actions/setup-python@setup-python_v1.4.2
with:
- python_version: "3.11"
+ python_version: "3.12"
# 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/.gitpod.yml b/.gitpod.yml
index d80a8c2e..3d010d1a 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -1,5 +1,5 @@
tasks:
- name: "Python Environment"
- before: "pyenv install 3.11 && pyenv global 3.11"
+ before: "pyenv install 3.12 && pyenv global 3.12"
init: "pip install poetry"
command: "export PIP_USER=false && poetry install && poetry run pre-commit install"
diff --git a/Dockerfile b/Dockerfile
index 466f7b45..7428ec7b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3.11-slim
+FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3.12-slim
# Install dependencies
WORKDIR /bot
diff --git a/pyproject.toml b/pyproject.toml
index 93476ba5..f19556d3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,7 +6,7 @@ authors = ["Python Discord <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
-python = "3.11.*"
+python = "3.12.*"
# See https://bot-core.pythondiscord.com/ for docs.
pydis_core = { version = "11.0.1", extras = ["all"] }
@@ -53,7 +53,7 @@ atomic = true
known_first_party = ["bot"]
[tool.ruff]
-target-version = "py311"
+target-version = "py312"
extend-exclude = [".cache"]
line-length = 120
unsafe-fixes = true