Repository navigation
Conversation
Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
huangruiteng
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.2-sol · OpenAI · runtime_reported · xhigh
[P2] 完整拆包安装无法通过指南指定的深度核验。
动机 / Motivation
要在保持原 SQLite 工作可回退的前提下试用拆分预发布的 pipx 用户。 既有安装指南没有跨布局的隔离试用流程;迁移契约要求新执行者先通过安装和身份检查。 指南加入备用环境和原宿主对账。它指定的深度 Doctor 会在当前源构建的完整 split 包组上把 Core 当成旧完整包检查。 pipx 1.12 的 pip 和 uv 后端分别装同一份由当前受审源码构建、同版本的 meta、Core 和六个伴随包,再运行文档原命令。 本提案是 pipx 拆分预发布的用户操作指南,涉及安装、交接前核验和恢复。
改动思路 / Approach
复用现有 pipx launcher、Core distribution 所有权与安装 Doctor。本提案是 pipx 拆分预发布的用户操作指南,涉及安装、交接前核验和恢复。 将指南绑定到已经核验且能识别 Core 所有权的具体拆分版本或明确的先决修复,并按指南逐条重跑深度 Doctor、原状态读回和卸载。 只在确认匹配包及其公开操作入口通过安装核验后切换;原运行回执由既有 owner 保持。
具体改动 / Changes
- 安装命令 在两种真实 pipx 后端都创建预发布环境并暴露独立名字。安装清单核实 meta、Core 与所有六个伴随包都属于同一版本。
- 交接前检查 用这个新 launcher 执行当前深度 Doctor。识别退回到旧完整包,要求缺少的 loopx.cli 和 scripts/loopx,因而在指南的下一步之前退出失败。
- 回退流程 在本地对照中保留原入口和同一个 SQLite Todo,移除试用环境后仍有原记录。
基线 dc0505e 的 受控迁移与回退 对应 隔离安装后能完成核验 和 可回读原记录并回退。前者在当前匹配构建上还有明确的失败,后者的基础读回通过。
对主干的风险 / Risks
实际 pipx 两种后端都装齐 8 个同版发行件。说明中的深度 Doctor 均退出 1,失败检查为 representative_cli_imports 和 representative_package_paths,要求 split Core 未提供的旧完整包路径。 两种后端都生成独立 launcher,读同一 SQLite Todo,卸载后原 launcher 和原记录可读。 本地 quick premerge 的 4 项直接与 4 项选定检查通过。文档命令和结构化失败在实际 pipx 安装中单独观察。 验证使用当前提交构建的合成预发布版本和离线包索引。作者的已发布候选具体引用和运行时修订未随本指南给出,端到端实际新宿主接管未重做。 当前主干 ca020c4 的三方组合干净。PyPI 发行记录 的常规 2.4.1 是不同的发行形状。
我的整体评价 / Verdict
要求修改。 将指南绑定到已经核验且能识别 Core 所有权的具体拆分版本或明确的先决修复,并按指南逐条重跑深度 Doctor、原状态读回和卸载。 保留彼此隔离的 launcher 和核对原记录的流程,使用户在切换前能够识别通过核验的发行。
英文简短结论
English verdict: REQUEST_CHANGES at 39d1dd4. Both real pipx backends install all eight matching wheels and preserve rollback, but the documented deep Doctor command exits 1 before cutover. Bind the guide to a split build that passes the stated verification.
|
|
||
| ```bash | ||
| pipx install --include-deps --suffix=-split "loopx==<prerelease-version>" | ||
| loopx-split doctor --installation-only --deep |
There was a problem hiding this comment.
[P2] 用指南里的深度 Doctor 核验完整拆包发行
指南在交接前要求执行的深度 Doctor 对已装齐的 split 环境返回失败,读者无法按当前步骤验证新 launcher 够资格切换。 实际 pipx 两种后端都装齐 8 个同版发行件。说明中的深度 Doctor 均退出 1,失败检查为 representative_cli_imports 和 representative_package_paths,要求 split Core 未提供的旧完整包路径。 两边的独立安装、原状态读回和卸载都通过,因此安装已经完成。我用的是当前受审源码的本地合成预发布。将指南绑定到已经核验且能识别 Core 所有权的具体拆分版本或明确的先决修复,并按指南逐条重跑深度 Doctor、原状态读回和卸载。
Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
…concile-10030-pipx-guide-current-main-20261204 Signed-off-by: lusendong.6789 <lusendong.6789@bytedance.com>
Goal And Delivered Outcome
Document the pipx installation, cutover, and rollback journey for a published split-package prerelease. A real in-place updater run on the pip backend removed the original launcher and left Core files missing. The guide gives operators a second launcher and a sequence for reconciling original work before switching ownership.
Author Declaration
Written by Codex (OpenAI).
Implemented against
Reconciled installation and rollback in the distribution RFC, §8.
Scope And Continuation
This guide covers intentional adoption of a published split prerelease using a sibling installation. In-place pipx updates across the layout boundary still require qualification.
Validation
Guide revision 39d1dd4. Validation finished with synthetic local workspaces.
Matched split wheel run
Doctor ownership and handoff follow-up
The guide now selects a published split prerelease with the Doctor ownership fix in #9646 and makes successful Deep Doctor readback the handoff point.
On macOS arm64 with Python 3.11.15 and pipx 1.12.0, both the pip and uv backends installed the same verified nine-wheel split candidate from
f09b197b61. Each suffixed launcher passed the guide's Deep Doctor command with seven matching companions ready. Each read the original SQLite Todo and completed Turn receipt before returning to the original released2.4.1launcher. Uninstalling the preview kept the original launcher and authority records intact. The synthetic task used one host dispatch and one quota spend per backend.The split wheelhouse is an offline candidate. The guide's version placeholder is for a published prerelease carrying the ownership fix.
Review follow-up
Revision
422c5029c0againstmain@0e784d7cba. The unchanged proposal now touches only the installation guide against current main. A local nine-wheel candidate combining the current #9646 and #9876 changes was built from one checkout. Both pipx 1.12 backends (pip and uv) installed the candidate offline, exposed the suffixed launcher, passed Deep Doctor with all seven companions ready, ran the full CLI fallback, and removed the suffixed environment. The guide continues to require a published prerelease carrying the Doctor ownership fix. Shell snippet and bilingual RFC checks passed.