You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3bc3a17
Browse filesBrowse the repository at this point in the historyBrowse files
[agent] 2026-11-28: pip / requirements.txt bug-hunt run
2
+
3
+
**Tested:** main `cfc870f` (unchanged; backlog not empty), latest release v5.1.0 (release binary for the regression check). Linux only: real pip 26.3 and 25.1 on CPython 3.12 (uv venvs), pip 26.3 on CPython 3.11 `--system-site-packages`. Harness: mock2.py from entry 20261029T021000Z (patched wheels rebuilt with recomputed RECORD), plus a mirror proxy serving `/mirror/<path>` and a "fork" `/other/<path>` from the mock.
4
+
5
+
## Re-triage
6
+
7
+
-#2302, #2272: main unchanged since they were filed; not re-run. #977: `agent:needs-human`, skipped.
8
+
9
+
## Cells (Linux)
10
+
11
+
| Cell | Result |
12
+
| --- | --- |
13
+
| Mirror fork: `six @ <mirror-host>/other/patch/pypi/six/…` + mirror base `<host>/mirror`, hosted scan ×2 | pass (left alone, `redirect_pin_on_unconfigured_host`; idna moved onto the mirror; list / vex don't attest the fork) |
|`pip lock -r requirements.txt` over a hosted requirements.txt, then re-scan / rollback / list / vex |**fail → #2329** (pip writes archive entries with no `version`; re-scan "No patches could be switched", rollback "Restored" but pylock stays patched, list exit 1 / vex exit 2 `patched_ref_invalid`) |
16
+
| Same on pip 25.1 and on v5.1.0 | reproduces (not a regression) |
17
+
| Vendored, `--system-site-packages` venv over a base interpreter with six 1.16.0, CRLF + marker + `Idna`| known non-bug (base copy kept, vex warns out-of-sync); `vendor --check` 0; revert byte-identical |
Copy file name to clipboardExpand all lines: known-non-bugs/pip.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,3 +109,4 @@ Moved from state/pip.md on 2026-11-26 when the state file was compacted. Search
109
109
- With the patch mirror unset, `scan --mode vendored` over mirror pins refuses `not pinned to ==X` and nothing is written (fail-closed); the missing mirror hint is part of #2272 (2026-11-26).
110
110
- A hand-written pylock with `dependency-groups` + `'dev' in dependency_groups` markers, hosted or vendored: `vex` against a venv that installed only `--group pylock.toml:web` still attests the `dev` package. Documented: hosted with nothing installed attests from the lock pin; vendored attests the committed artifact (CLI_CONTRACT "Verification basis") (2026-11-27).
111
111
- Vendored over a latin-1 PEP 263 requirements.txt refuses every package ("not UTF-8 text"), exit 1, nothing written: fail-closed like the hosted twin (2026-11-27).
112
+
- With `--patch-mirror-url <host>/mirror`, a requirements.txt pin in the patch-server path shape under another repository of the same host (`<host>/other/patch/pypi/…`) is left alone with `redirect_pin_on_unconfigured_host`, and list / vex ignore it: the contract's "fork on the mirror's host" rule (2026-11-28).
Copy file name to clipboardExpand all lines: state/pip.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[agent] Progress ledger for the scheduled pip / requirements.txt bug-hunt routine (label pm:pip).
2
2
3
-
Last run: 2026-11-27, main `cfc870f`, release v5.1.0, newest pip 26.3 (CPython 3.8–3.14 covered). Open bughunt issues: #2302 (new), #2272, #977 (needs-human). Harness: mock2.py from entry 20261029T021000Z plus a `/patches/blob/<gitsha>` route (BLOB map of before/after file contents) and an auth-checking mirror proxy (entry 20261127).
3
+
Last run: 2026-11-28, main `cfc870f`, release v5.1.0, newest pip 26.3 (CPython 3.8–3.14 covered). Open bughunt issues: #2329 (new), #2302, #2272, #977 (needs-human). Harness: mock2.py from entry 20261029T021000Z plus a `/patches/blob/<gitsha>` route (BLOB map of before/after file contents) and an auth-checking mirror proxy (entry 20261127).
4
4
5
5
## Coverage matrix
6
6
@@ -20,22 +20,26 @@ Cells dated before 2026-11-11 count as untested for the release (see INSTRUCTION
|`pip lock -r requirements.txt` over a hosted requirements.txt (archive entries, no `version`): re-scan / rollback / list / vex | n/a | fail #2329 (26.3, 25.1; also v5.1.0) | untested |
30
+
| Mirror: fork in another repository of the mirror host (`/other/…` patch-path shape) | n/a | pass: left alone, `redirect_pin_on_unconfigured_host`; list / vex ignore it (2026-11-28) | untested |
| macOS / Windows | blocked (probe workflows off by maintainer decision) | blocked | blocked |
30
33
31
34
## Backlog
32
35
33
-
1.#2272 and #2302: re-verify once fixed (#2302: the hosted / vendored / vex advice for a pip venv must name a command that replaces a same-version install).
34
-
2. Mirror follow-ups: a mirror base with a path that collides with a project-owned URL on the same host (a fork elsewhere → must be refused); a `-r` include pinned on the patch server, then a mirror run (vendored → hosted takeover).
35
-
3. pip 26.3 `--uploaded-prior-to` with a hosted URL pin; `pip lock` re-run over a hosted requirements.txt.
36
-
4.Vendored`--user` / system-site venv on main; hosted`-g` on main.
36
+
1.#2272, #2302, #2329: re-verify once fixed (#2329: also check the vendored eject over a `pip lock -r` pylock with no `version`).
37
+
2. Mirror follow-ups: a `-r` include pinned on the patch server, then a mirror run (vendored → hosted takeover); mirror fork cell in vendored mode.
38
+
3.`pip lock -r` over a vendored requirements.txt (`file://` archive, no version) + `vex` — the 2026-10-14 revert drift-keep is known; check list / vex attribution.
39
+
4.Hosted`-g`on main; vendored`--user`.
37
40
5.#2201 / #2194 (enhancements, agent-mode RECORD / variant selection): don't re-file; check `pip check` / `pip uninstall` after an agent apply once they land.
38
41
6. Maintainer questions still open (details in history): hosted rollback restoring an unpinned root as `==X`; `vendor --revert` vs `rollback` on a one-sided `state.json` merge; residual probe reading only `*.txt` / `*.lock`.
42
+
7. Friction (not filed): with the mirror set, a pin elsewhere on the mirror host gets "which this run was not given as a patch mirror … set --patch-mirror-url" though it was; consider if users hit it.
0 commit comments