From 2fa6fe780ba3908a5b11b296cbcc7ef94fb53df1 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 21 Dec 2024 15:38:08 +0000 Subject: [PATCH] Bump up to Python 3.13 --- .github/workflows/lint.yaml | 2 +- Dockerfile | 2 +- poetry.lock | 5 ++--- pyproject.toml | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 462fc72..088ee66 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -16,7 +16,7 @@ jobs: - name: Install Python dependencies uses: HassanAbouelela/actions/setup-python@setup-python_v1.6.0 with: - python_version: "3.12" + python_version: "3.13" - name: Run pre-commit hooks run: SKIP=ruff-lint pre-commit run --all-files diff --git a/Dockerfile b/Dockerfile index 2fced88..12c5b0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG python_version=3.12-slim +ARG python_version=3.13-slim FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:$python_version AS wheel-builder diff --git a/poetry.lock b/poetry.lock index 7664eba..7a64db5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -161,7 +161,6 @@ files = [ [package.dependencies] idna = ">=2.8" sniffio = ">=1.1" -typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} [package.extras] doc = ["Sphinx (>=7.4,<8.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx_rtd_theme"] @@ -2009,5 +2008,5 @@ propcache = ">=0.2.0" [metadata] lock-version = "2.0" -python-versions = "3.12.*" -content-hash = "052bef1f2334a96df132eed9f1754743a6a11621108af1ccfb888f59b9d7662b" +python-versions = "3.13.*" +content-hash = "ae9de5a32e38f31a614a1c96292f3f4db395e9b0d1d8bc1c13d186b871d63f08" diff --git a/pyproject.toml b/pyproject.toml index ffc3884..99da88b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "MIT" package-mode = false [tool.poetry.dependencies] -python = "3.12.*" +python = "3.13.*" # See https://bot-core.pythondiscord.com/ for docs. pydis-core = "11.5.1" @@ -46,7 +46,7 @@ requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.ruff] -target-version = "py312" +target-version = "py313" extend-exclude = [".cache"] line-length = 100 unsafe-fixes = true