diff options
author | 2023-09-04 15:58:05 +0100 | |
---|---|---|
committer | 2023-09-04 15:58:05 +0100 | |
commit | f7e8be5f3ce02b65629a3528ec2f711c627068f1 (patch) | |
tree | 4fd044735cb5bfc8b375a3cab473be9610fa43d5 | |
parent | Only trigger CI on release for published releases (diff) |
Bump Python versions to 3.11
-rw-r--r-- | .github/workflows/lint.yml | 2 | ||||
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | pyproject.toml | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f216266..99d752b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - name: Install Python Dependencies uses: HassanAbouelela/actions/setup-python@setup-python_v1.4.1 with: - python_version: '3.10' + python_version: '3.11' - name: Lint code with ruff run: ruff check --format=github . @@ -1,4 +1,4 @@ -FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3.10-slim +FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3.11-slim ENV PYTHONHASHSEED=random diff --git a/pyproject.toml b/pyproject.toml index e0eea5a..f909648 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Joe Banks <[email protected]>"] license = "MIT" [tool.poetry.dependencies] -python = "3.10.*" +python = "3.11.*" # See https://bot-core.pythondiscord.com/ for docs. pydis-core = "10.1.0" @@ -32,7 +32,7 @@ requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" [tool.ruff] -target-version = "py310" +target-version = "py311" extend-exclude = [".cache", "alembic"] ignore = [ "ANN002", "ANN003", "ANN101", |