From 92d74cb3833e486e6203fae6cacf4651ade90bc6 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sun, 24 Mar 2024 21:04:09 +0000 Subject: Bump references to 3.11 up to Pytohn 3.12 --- .github/workflows/lint.yaml | 2 +- .gitpod.yml | 2 +- Dockerfile | 2 +- pyproject.toml | 4 ++-- 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 "] 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 -- cgit v1.2.3