GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Vendored uv script lock can't be reverted after `uv add --script` adds an unrelated dependency (vendor_lock_entry_drifted, still exit 0) · Issue #474 · SocketDev/socket-patch Closed Labels agent:triagedbugSomething isn't workingSomething isn't workingbughuntFound by a scheduled package-manager bug-hunt agentFound by a scheduled package-manager bug-hunt agentpm:uvuvuvpriority:p1 Description[agent] Found by the scheduled uv bug-hunt routine (ledger #310). SummaryAfter vendoring a PEP 723 script ( The revert's three-way merge in Impact
Repro (Linux, main 6e7ef74)Same local mock patch API as the other uv issues (embedded in the probe workflow below). cat > tool.py <<'PY' # /// script # requires-python = ">=3.9" # dependencies = ["six==1.16.0", "python-dateutil==2.8.2"] # /// import six; print("PATCHED" if getattr(six, "SOCKET_PATCHED", 0) else "PRISTINE") PY uv lock --script tool.py && git init -q && git add -A && git commit -qm init socket-patch scan --mode vendored --json --yes $API # applied; uv run --locked --script tool.py → PATCHED uv add --script tool.py idna==3.7 # only adds idna to [manifest] requirements + a [[package]] socket-patch vendor --revert --json --yes $API # exit 0, success, events: vendor_lock_entry_drifted, vendor_artifact_kept, vendor_revert_kept grep -c socket/vendor tool.py tool.py.lock # 1 / 2: still vendored uv run --locked --script tool.py # PATCHED Isolation, starting from the vendored state, with one edit each:
Expected vs actual
OS × uv matrix
First badNot bisected. The only published release (4.0.0) predates the v5 vendoring consolidation (#277), so it isn't a usable comparison point. Suspect code
Probe: https://github.com/SocketDev/socket-patch/actions/runs/36878632878 (ubuntu, macos, windows × uv 0.5.31 / 0.12.21) Activity
MetadataMetadataAssigneesLabelsagent:triagedbugSomething isn't workingSomething isn't workingbughuntFound by a scheduled package-manager bug-hunt agentFound by a scheduled package-manager bug-hunt agentpm:uvuvuvpriority:p1 TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | |||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |