From f225ff872ce613a4343bbe6e7e39fec7505ccd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Tue, 15 Oct 2024 12:02:17 +0300 Subject: [PATCH] Update Python version to 3.13.0 --- .github/workflows/pre-commit.yml | 2 +- .github/workflows/tests.yml | 2 +- Dockerfile | 2 +- README.md | 2 +- poetry.lock | 5 ++--- pyproject.toml | 2 +- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index a6cf0cd..7646c39 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,7 +9,7 @@ on: pull_request: ~ env: - PYTHON_VERSION: 3.12.6 + PYTHON_VERSION: 3.13.0 PRE_COMMIT_VERSION: 4.0.1 jobs: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7fcf29c..1f3f5dc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ on: pull_request: ~ env: - PYTHON_VERSION: 3.12.6 + PYTHON_VERSION: 3.13.0 POETRY_VERSION: 1.8.4 jobs: diff --git a/Dockerfile b/Dockerfile index 52c9434..cf02dc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12.6-slim-bookworm +FROM python:3.13.0-slim-bookworm RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \ apt update && \ diff --git a/README.md b/README.md index 8a62317..3fe2273 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ heroku buildpacks:add https://github.com/moneymeets/python-poetry-buildpack.git heroku buildpacks:add heroku/python heroku config:set POETRY_VERSION=1.8.4 -heroku config:set PYTHON_RUNTIME_VERSION=3.12.6 +heroku config:set PYTHON_RUNTIME_VERSION=3.13.0 ``` # Contribution diff --git a/poetry.lock b/poetry.lock index 4541ec6..14c7855 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1072,7 +1072,6 @@ files = [ [package.dependencies] psycopg-binary = {version = "3.2.3", optional = true, markers = "implementation_name != \"pypy\" and extra == \"binary\""} -typing-extensions = {version = ">=4.6", markers = "python_version < \"3.13\""} tzdata = {version = "*", markers = "sys_platform == \"win32\""} [package.extras] @@ -1835,5 +1834,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.12" -content-hash = "8499addf112d53d25d589b651048854c7d3a85bbc954ac423ad1089be7df9cc2" +python-versions = "^3.13" +content-hash = "b2f5a90c93dc6025ba790373e5a34222d2600fbf3bf9a870f60c55493641fda2" diff --git a/pyproject.toml b/pyproject.toml index 9cb1931..5e8a971 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ xkcdpass = "1.19.9" pydot = "3.0.2" # For visualizing Django models with "graph_models --pydot" [tool.poetry.dependencies] -python = "^3.12" +python = "^3.13" celery = {extras = ["redis"], version = "5.4.0"} Django = "5.1.2" djangorestframework = "3.15.2"