Detect ensurepip and auto-install python3-venv in one-click deploy.
Avoid false OK on bare python3; repair broken .venv; re-check deps after git pull. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-29 — 部署:自动安装 python3-venv(ensurepip)
|
||||
|
||||
### 变更
|
||||
|
||||
1. Python 就绪判定改为检测 `ensurepip`(避免仅有 python3 却误报 OK)。
|
||||
2. 一键部署自动安装 `python3-venv` / `python3.X-venv`;pull 后二次检测;损坏的 `.venv` 自动重建。
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-29 — 部署:等待 apt 锁(unattended-upgrades)
|
||||
|
||||
### 变更
|
||||
|
||||
Reference in New Issue
Block a user