2
0
mirror of https://github.com/frappe/bench.git synced 2024-06-19 16:32:21 +00:00

chore: deprecate 3.7 support

This commit is contained in:
18alantom 2024-05-06 15:35:24 +05:30
parent 1f0d8ab5f5
commit d3ca36d596
4 changed files with 9 additions and 11 deletions

View File

@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
python-version: ['3.8', '3.9', '3.10' ]
name: Base (${{ matrix.python-version }})
@ -58,7 +58,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.7', '3.10' ]
python-version: ['3.10' ]
name: Production (${{ matrix.python-version }})
@ -96,7 +96,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ '3.7', '3.10' ]
python-version: ['3.10' ]
name: Tests (${{ matrix.python-version }})
@ -120,11 +120,6 @@ jobs:
with:
node-version: 18
- uses: actions/setup-node@v3
if: ${{ matrix.python-version == '3.7' }}
with:
node-version: 14
- run: |
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;

View File

@ -10,7 +10,7 @@ Bench is a command-line utility that helps you to install, update, and manage mu
<div align="center">
<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 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">

View File

@ -595,7 +595,10 @@ def remove_unused_node_modules(app_path: Path) -> None:
can_delete = "vite build" in build_script
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)

View File

@ -3,7 +3,7 @@ name = "frappe-bench"
description = "CLI to manage Multi-tenant deployments for Frappe apps"
readme = "README.md"
license = "GPL-3.0-only"
requires-python = ">=3.7"
requires-python = ">=3.8"
authors = [
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io" },
]