From 21e8abf89904c1358e1f764129284303604ca3fb Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Thu, 23 Nov 2023 11:42:51 +0530 Subject: [PATCH] build: python 3.12 support (#22706) * ci: use python 3.12 We'll use minimum versions on stable branch CI configs. * build(deps): bump dependencies - Some for v12 support - some just for new stuff --- .github/workflows/server-tests.yml | 2 +- .github/workflows/ui-tests.yml | 2 +- pyproject.toml | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index 97000bff15..e20ae8fc6e 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -85,7 +85,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Check for valid Python & Merge Conflicts run: | diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 00e370e4ed..4742d97a37 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -67,7 +67,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Check for valid Python & Merge Conflicts run: | diff --git a/pyproject.toml b/pyproject.toml index 28eb0858b9..c371e87ac1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,14 +4,14 @@ authors = [ { name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io"} ] description = "Metadata driven, full-stack low code web framework" -requires-python = ">=3.10,<3.12" +requires-python = ">=3.10,<3.13" readme = "README.md" dynamic = ["version"] dependencies = [ # core dependencies - "Babel~=2.12.1", + "Babel~=2.13.1", "Click~=8.1.7", - "filelock~=3.8.0", + "filelock~=3.13.1", "filetype~=1.2.0", "GitPython~=3.1.34", "Jinja2~=3.1.2", @@ -22,7 +22,7 @@ dependencies = [ "PyPika~=0.48.9", "PyQRCode~=1.2.1", "PyYAML~=6.0.1", - "RestrictedPython~=6.2", + "RestrictedPython~=7.0", "WeasyPrint==59.0", "Werkzeug~=3.0.1", "Whoosh~=2.7.4", @@ -31,7 +31,7 @@ dependencies = [ "bleach[css]~=6.0.0", "cairocffi==1.5.1", "chardet~=5.1.0", - "croniter~=1.4.1", + "croniter~=2.0.1", "cryptography~=41.0.3", "email-reply-parser~=0.5.12", "git-url-parse~=1.2.2", @@ -57,7 +57,7 @@ dependencies = [ "python-dateutil~=2.8.2", "pytz==2023.3", "rauth~=0.7.3", - "redis~=4.5.5", + "redis~=5.0.1", "hiredis~=2.2.3", "requests-oauthlib~=1.3.1", "requests~=2.31.0",