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
This commit is contained in:
Ankush Menat 2023-11-23 11:42:51 +05:30 committed by GitHub
parent 6e3b1cc0ad
commit 21e8abf899
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -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: |

View file

@ -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: |

View file

@ -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",