diff options
-rw-r--r-- | .github/workflows/lint.yaml | 2 | ||||
-rw-r--r-- | .gitpod.yml | 2 | ||||
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | 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" @@ -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 |