build!: Bump minimum Python version to 3.10

Given how widespread PY310's usage has become, and how we're just a
few months away from PY311 major release. This is a slightly late
bumping but necessary to ensure smoother updates & maintenance for
Frappe, ERPNext & other apps in the coming years. Almost all people
who participated in the pool from the community as well as Frappe team
voted (via active telegram groups) PY310 as their preferred minimum
requirement for v14.
This commit is contained in:
Gavin D'souza 2022-06-29 18:55:56 +05:30 committed by gavin
parent abfbe3daa4
commit 404d5a3cd7
10 changed files with 10 additions and 10 deletions

View file

@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- uses: actions/checkout@v3
- run: pip install pip-audit
- run: pip-audit ${GITHUB_WORKSPACE}

View file

@ -15,7 +15,7 @@ jobs:
- name: 'Setup Environment'
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: 'Clone repo'
uses: actions/checkout@v3

View file

@ -33,7 +33,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.10'
- name: Setup Node
uses: actions/setup-node@v3

View file

@ -18,7 +18,7 @@ jobs:
node-version: 14
- uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.10'
- name: Set up bench and build assets
run: |
npm install -g yarn

View file

@ -21,7 +21,7 @@ jobs:
python-version: '12.x'
- uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.10'
- name: Set up bench and build assets
run: |
npm install -g yarn

View file

@ -42,7 +42,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.10'
- name: Check if build should be run
id: check-build

View file

@ -45,7 +45,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.10'
- name: Check if build should be run
id: check-build

View file

@ -41,7 +41,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.10'
- name: Check if build should be run
id: check-build

View file

@ -478,7 +478,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: '3.10'
- name: Setup Node
uses: actions/setup-node@v2

View file

@ -4,7 +4,7 @@ authors = [
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io"}
]
description = "Metadata driven, full-stack low code web framework"
requires-python = ">=3.8"
requires-python = ">=3.10"
readme = "README.md"
dynamic = ["version"]
dependencies = [