mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 00:21:23 +00:00
chore: deprecate 3.7 support
This commit is contained in:
parent
1f0d8ab5f5
commit
d3ca36d596
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
|
python-version: ['3.8', '3.9', '3.10' ]
|
||||||
|
|
||||||
name: Base (${{ matrix.python-version }})
|
name: Base (${{ matrix.python-version }})
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ '3.7', '3.10' ]
|
python-version: ['3.10' ]
|
||||||
|
|
||||||
name: Production (${{ matrix.python-version }})
|
name: Production (${{ matrix.python-version }})
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ '3.7', '3.10' ]
|
python-version: ['3.10' ]
|
||||||
|
|
||||||
name: Tests (${{ matrix.python-version }})
|
name: Tests (${{ matrix.python-version }})
|
||||||
|
|
||||||
@ -120,11 +120,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
if: ${{ matrix.python-version == '3.7' }}
|
|
||||||
with:
|
|
||||||
node-version: 14
|
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb;
|
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb;
|
||||||
sudo apt install ./wkhtmltox_0.12.6-1.focal_amd64.deb;
|
sudo apt install ./wkhtmltox_0.12.6-1.focal_amd64.deb;
|
||||||
|
@ -10,7 +10,7 @@ Bench is a command-line utility that helps you to install, update, and manage mu
|
|||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<a target="_blank" href="https://www.python.org/downloads/" title="Python version">
|
<a target="_blank" href="https://www.python.org/downloads/" title="Python version">
|
||||||
<img src="https://img.shields.io/badge/python-%3E=_3.7-green.svg">
|
<img src="https://img.shields.io/badge/python-%3E=_3.8-green.svg">
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="https://app.travis-ci.com/github/frappe/bench" title="CI Status">
|
<a target="_blank" href="https://app.travis-ci.com/github/frappe/bench" title="CI Status">
|
||||||
<img src="https://app.travis-ci.com/frappe/bench.svg?branch=develop">
|
<img src="https://app.travis-ci.com/frappe/bench.svg?branch=develop">
|
||||||
|
@ -595,7 +595,10 @@ def remove_unused_node_modules(app_path: Path) -> None:
|
|||||||
can_delete = "vite build" in build_script
|
can_delete = "vite build" in build_script
|
||||||
|
|
||||||
if can_delete:
|
if can_delete:
|
||||||
click.secho(f"Bench app-cache: removing {node_modules.as_posix()}")
|
click.secho(
|
||||||
|
f"Bench app-cache: removing {node_modules.as_posix()}",
|
||||||
|
fg="yellow",
|
||||||
|
)
|
||||||
shutil.rmtree(node_modules)
|
shutil.rmtree(node_modules)
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ name = "frappe-bench"
|
|||||||
description = "CLI to manage Multi-tenant deployments for Frappe apps"
|
description = "CLI to manage Multi-tenant deployments for Frappe apps"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.8"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io" },
|
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io" },
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user