build(deps): bump to python>=3.14, nodejs>=24
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
a13f02a240
commit
345f17558a
12 changed files with 28 additions and 19 deletions
4
.github/actions/setup/action.yml
vendored
4
.github/actions/setup/action.yml
vendored
|
|
@ -4,11 +4,11 @@ inputs:
|
||||||
python-version:
|
python-version:
|
||||||
description: 'Python version to use'
|
description: 'Python version to use'
|
||||||
required: false
|
required: false
|
||||||
default: '3.12.6'
|
default: '3.14'
|
||||||
node-version:
|
node-version:
|
||||||
description: 'Node.js version to use'
|
description: 'Node.js version to use'
|
||||||
required: false
|
required: false
|
||||||
default: '22'
|
default: '24'
|
||||||
build-assets:
|
build-assets:
|
||||||
required: false
|
required: false
|
||||||
description: 'Wether to build assets'
|
description: 'Wether to build assets'
|
||||||
|
|
|
||||||
19
.github/workflows/_base-migration.yml
vendored
19
.github/workflows/_base-migration.yml
vendored
|
|
@ -12,11 +12,11 @@ on:
|
||||||
python-version:
|
python-version:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: '3.10'
|
default: '3.14'
|
||||||
node-version:
|
node-version:
|
||||||
required: false
|
required: false
|
||||||
type: number
|
type: number
|
||||||
default: 22
|
default: 24
|
||||||
db-artifact-url:
|
db-artifact-url:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -50,6 +50,15 @@ jobs:
|
||||||
disable-web: true
|
disable-web: true
|
||||||
db-root-password: ${{ env.DB_ROOT_PASSWORD }}
|
db-root-password: ${{ env.DB_ROOT_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Setup Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: |
|
||||||
|
3.11
|
||||||
|
3.13
|
||||||
|
${{ inputs.python-version }}
|
||||||
|
|
||||||
|
|
||||||
- name: Execute pre-migration tasks
|
- name: Execute pre-migration tasks
|
||||||
if: inputs.pre
|
if: inputs.pre
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -108,7 +117,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Setting up environment..."
|
echo "Setting up environment..."
|
||||||
if rm -rf ${GITHUB_WORKSPACE}/env && python -m venv ${GITHUB_WORKSPACE}/env; then
|
if rm -rf ${GITHUB_WORKSPACE}/env && python"$2" -m venv ${GITHUB_WORKSPACE}/env; then
|
||||||
source ${GITHUB_WORKSPACE}/env/bin/activate
|
source ${GITHUB_WORKSPACE}/env/bin/activate
|
||||||
pip install --quiet --upgrade pip
|
pip install --quiet --upgrade pip
|
||||||
pip install --quiet frappe-bench
|
pip install --quiet frappe-bench
|
||||||
|
|
@ -148,13 +157,13 @@ jobs:
|
||||||
- name: Update to v14
|
- name: Update to v14
|
||||||
run: |
|
run: |
|
||||||
source $RUNNER_TEMP/migrate
|
source $RUNNER_TEMP/migrate
|
||||||
update_to_version 14
|
update_to_version 14 3.11
|
||||||
exit $?
|
exit $?
|
||||||
|
|
||||||
- name: Update to v15
|
- name: Update to v15
|
||||||
run: |
|
run: |
|
||||||
source $RUNNER_TEMP/migrate
|
source $RUNNER_TEMP/migrate
|
||||||
update_to_version 15
|
update_to_version 15 3.13
|
||||||
exit $?
|
exit $?
|
||||||
|
|
||||||
- name: Update to last commit
|
- name: Update to last commit
|
||||||
|
|
|
||||||
2
.github/workflows/_base-server-tests.yml
vendored
2
.github/workflows/_base-server-tests.yml
vendored
|
|
@ -13,7 +13,7 @@ on:
|
||||||
node-version:
|
node-version:
|
||||||
required: false
|
required: false
|
||||||
type: number
|
type: number
|
||||||
default: 22
|
default: 24
|
||||||
parallel-runs:
|
parallel-runs:
|
||||||
required: false
|
required: false
|
||||||
type: number
|
type: number
|
||||||
|
|
|
||||||
2
.github/workflows/_base-ui-tests.yml
vendored
2
.github/workflows/_base-ui-tests.yml
vendored
|
|
@ -13,7 +13,7 @@ on:
|
||||||
node-version:
|
node-version:
|
||||||
required: false
|
required: false
|
||||||
type: number
|
type: number
|
||||||
default: 22
|
default: 24
|
||||||
parallel-runs:
|
parallel-runs:
|
||||||
required: false
|
required: false
|
||||||
type: number
|
type: number
|
||||||
|
|
|
||||||
2
.github/workflows/create-release.yml
vendored
2
.github/workflows/create-release.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 24
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: |
|
run: |
|
||||||
npm install @semantic-release/git @semantic-release/exec --no-save
|
npm install @semantic-release/git @semantic-release/exec --no-save
|
||||||
|
|
|
||||||
2
.github/workflows/linters.yml
vendored
2
.github/workflows/linters.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
fetch-depth: 200
|
fetch-depth: 200
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 24
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Check commit titles
|
- name: Check commit titles
|
||||||
|
|
|
||||||
2
.github/workflows/on_release.yml
vendored
2
.github/workflows/on_release.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 24
|
||||||
|
|
||||||
- uses: actions/setup-python@v6
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
2
.github/workflows/publish-assets-develop.yml
vendored
2
.github/workflows/publish-assets-develop.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
path: 'frappe'
|
path: 'frappe'
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 24
|
||||||
- uses: actions/setup-python@v6
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.14'
|
python-version: '3.14'
|
||||||
|
|
|
||||||
2
.github/workflows/run-indinvidual-tests.yml
vendored
2
.github/workflows/run-indinvidual-tests.yml
vendored
|
|
@ -79,7 +79,7 @@ jobs:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 24
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Add to Hosts
|
- name: Add to Hosts
|
||||||
|
|
|
||||||
4
.github/workflows/server-tests.yml
vendored
4
.github/workflows/server-tests.yml
vendored
|
|
@ -58,8 +58,8 @@ jobs:
|
||||||
uses: ./.github/workflows/_base-migration.yml
|
uses: ./.github/workflows/_base-migration.yml
|
||||||
with:
|
with:
|
||||||
db-artifact-url: https://frappeframework.com/files/v13-frappe.sql.gz
|
db-artifact-url: https://frappeframework.com/files/v13-frappe.sql.gz
|
||||||
python-version: '3.10'
|
python-version: '3.14'
|
||||||
node-version: 22
|
node-version: 24
|
||||||
fake-success: ${{ needs.checkrun.outputs.build != 'strawberry' }}
|
fake-success: ${{ needs.checkrun.outputs.build != 'strawberry' }}
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"url": "https://github.com/frappe/frappe/issues"
|
"url": "https://github.com/frappe/frappe/issues"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=24"
|
||||||
},
|
},
|
||||||
"homepage": "https://frappeframework.com",
|
"homepage": "https://frappeframework.com",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ authors = [
|
||||||
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io"}
|
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io"}
|
||||||
]
|
]
|
||||||
description = "Metadata driven, full-stack low code web framework"
|
description = "Metadata driven, full-stack low code web framework"
|
||||||
requires-python = ">=3.10,<3.15"
|
requires-python = ">=3.14,<3.15"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|
@ -160,7 +160,7 @@ freezegun = "~=1.2.2"
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 110
|
line-length = 110
|
||||||
target-version = "py310"
|
target-version = "py314"
|
||||||
exclude = [
|
exclude = [
|
||||||
"**/doctype/*/boilerplate/*.py" # boilerplate are template strings, not valid python
|
"**/doctype/*/boilerplate/*.py" # boilerplate are template strings, not valid python
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue