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 c35339b
Browse filesBrowse the repository at this point in the historyBrowse files
[agent] 2026-11-30: pip / requirements.txt bug-hunt run
2
+
3
+
**Tested:** main `cfc870f` (unchanged; backlog not empty), latest release v5.1.0. Linux only: real pip 26.3 / CPython 3.12 (uv venvs), pip 20.3.4 / CPython 3.8, system pip 24.0 / CPython 3.11 and 3.12 for `--user`. Harness: mock2.py from entry 20261029T021000Z plus a `/patches/blob/<gitsha>` route.
4
+
5
+
## Re-triage
6
+
7
+
-#2357, #2329, #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
+
| Vendored, hashed `-c sub/constraints.txt` inside an `-r base.txt` include (pip 26.3) | fail, same as #2357 (unhashed vendor lines in both files; install refuses; `vendor --check` 0) |
14
+
| Vendored, hashed constraints through `PIP_CONSTRAINT`| fail, same as #2357|
15
+
| Hosted + hashed `-c` constraints (installs patched), then `vendor` eject | fail, same as #2357|
16
+
| Vendored `pip install --user -r` (CRLF, marker, `Idna`), `PYTHONUSERBASE` user site, system pip 24.0 / py3.11 and py3.12 | pass: patched copies import from the user site; `vendor --check` 0; vex attests both; rollback byte-identical. Friction: vex warns `vendored_tree_out_of_sync` about the shadowed apt `six` in `/usr/lib/python3/dist-packages`, and re-running the install can't clear it |
17
+
| Vendored pin in `reqs/base.txt` include; install from the root (pip 26.3, 20.3.4) | pass; from a subdirectory cwd fails (known non-bug: cwd-relative paths) |
18
+
19
+
## Issues
20
+
21
+
- Filed: none.
22
+
- Commented: #2357https://github.com/SocketDev/socket-patch/issues/2357#issuecomment-7268214655 (three more layouts: `-c` in an include, `PIP_CONSTRAINT`, hosted → vendored eject).
23
+
- Closed: none.
24
+
25
+
## False positives ruled out
26
+
27
+
- Vendored install from a subdirectory cwd failing: already a known non-bug (cwd-relative wheel paths, CLI_CONTRACT.md).
28
+
-`--user` vex out-of-sync warning: attestation is correct and the importable copy is patched; recorded as friction, not filed.
29
+
30
+
## Next
31
+
32
+
1.#2357 / #2329 / #2302 / #2272 re-verify once fixed.
33
+
2.`pip lock` from a hashed-constraint tree; `--require-hashes` with hosted pins on pip 20.3 / 23.x.
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
@@ -112,3 +112,4 @@ Moved from state/pip.md on 2026-11-26 when the state file was compacted. Search
112
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).
113
113
- Vendored with `--patch-mirror-url`: a `six @ <mirror-host>/other/patch/pypi/…` fork (outside the mirror base) is refused as `pypi_requirement_not_pinned`, exit 1, the other package still wired. It is the project's own source by the contract's mirror rules (2026-11-29).
114
114
- A `-r`-include pin kept vendored under a hosted run (`redirect_requirements_takeover_unreachable`) is counted "left to patch" in the closing totals: the cross-ecosystem #2304 (PyPI evidence commented there, 2026-11-29). Don't file it separately.
115
+
- Vendored `pip install --user -r` on a system interpreter that also has an apt copy of the package (`/usr/lib/python3/dist-packages`): vex attests from the committed artifact and warns `vendored_tree_out_of_sync` about the shadowed system copy, although the user-site copy that imports is patched. Friction only (2026-11-30).
Copy file name to clipboardExpand all lines: state/pip.md
+8-9Lines changed: 8 additions & 9 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-29, main `cfc870f`, release v5.1.0, newest pip 26.3 (CPython 3.8–3.14 covered). Open bughunt issues: #2357 (new), #2329, #2302, #2272, #977 (needs-human). Harness: mock2.py from entry 20261029T021000Z plus a `/patches/blob/<gitsha>` route and a `/mirror/<path>` prefix (HEAD too) served by a second mock instance on another port (entry 20261129).
3
+
Last run: 2026-11-30, main `cfc870f`, release v5.1.0, newest pip 26.3 (CPython 3.8–3.14 covered). Open bughunt issues: #2357, #2329, #2302, #2272, #977 (needs-human). Harness: mock2.py from entry 20261029T021000Z plus a `/patches/blob/<gitsha>` route and a `/mirror/<path>` prefix (HEAD too) served by a second mock instance on another port (entry 20261129).
4
4
5
5
## Coverage matrix
6
6
@@ -12,15 +12,15 @@ Cells dated before 2026-11-11 count as untested for the release (see INSTRUCTION
@@ -35,12 +35,11 @@ Cells dated before 2026-11-11 count as untested for the release (see INSTRUCTION
35
35
36
36
## Backlog
37
37
38
-
1.#2357, #2272, #2302, #2329: re-verify once fixed. For #2357 also check `PIP_CONSTRAINT` / pip.conf `constraint =` with hashes, a `-c` inside an `-r` include, and the hosted → vendored eject over the same layout.
39
-
2. Vendored `--user` (`pip install --user -r` over a vendored file).
40
-
3. pip 26.1+ hashed-constraint layout in other shapes: `pip lock` from such a tree, and `pip install --require-hashes` with the hosted pin on pip 20.3 / 23.x (baseline fails there).
41
-
4.#2201 / #2194 (enhancements, agent-mode RECORD / variant selection): don't re-file; check `pip check` / `pip uninstall` after an agent apply once they land.
42
-
5. 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`.
43
-
6. 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. After a vendored rollback refused on a `pip lock` pylock and the pylock is re-exported, the second rollback says "the vendor line for requirements.txt:1 changed since vendoring; left untouched", though the first attempt had already restored it. A vendored re-scan over a `pip lock` pylock warns "pylock.toml do not contain this package version" (the entry has no `version`).
38
+
1.#2357, #2272, #2302, #2329: re-verify once fixed (#2357 variants commented 2026-11-30: include `-c`, `PIP_CONSTRAINT`, eject).
39
+
2. pip 26.1+ hashed-constraint layout in other shapes: `pip lock` from such a tree, and `pip install --require-hashes` with the hosted pin on pip 20.3 / 23.x (baseline fails there).
40
+
3.#2201 / #2194 (enhancements, agent-mode RECORD / variant selection): don't re-file; check `pip check` / `pip uninstall` after an agent apply once they land.
41
+
4. 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
+
5. Friction (not filed): vendored `--user` vex warns `vendored_tree_out_of_sync` about a shadowed system (apt) copy even though the user-site copy is patched. 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. After a vendored rollback refused on a `pip lock` pylock and the pylock is re-exported, the second rollback says "the vendor line for requirements.txt:1 changed since vendoring; left untouched", though the first attempt had already restored it. A vendored re-scan over a `pip lock` pylock warns "pylock.toml do not contain this package version" (the entry has no `version`).
0 commit comments