Repository navigation
Description
Context
Found via #2715 (the 2026-10-30 nixpkgs update). awscli (home/common/default.nix, via the assigned pkgs from nixos/nixpkgs/default.nix) fails pythonRuntimeDepsCheck on the new pins:
Checking runtime dependencies for awscli-1.44.21-py3-none-any.whl
- botocore==1.42.31 not satisfied by version 1.43.79
- s3transfer<0.17.0,>=0.16.0 not satisfied by version 0.19.2
awscli 1.44.21 pins botocore exactly and s3transfer to the 0.16 line, but every current pin (master/unstable/stable/25 alike) ships botocore 1.43.79 and s3transfer 0.19.2 — the tree is mid-transition (libraries bumped, awscli not yet). The skew is in the raw sets too, not an artifact of this repo's overlays. awscli and botocore are developed in lockstep (awscli imports botocore internals), so relaxing awscli's pins (pythonRelaxDeps) risks shipping a subtly broken CLI; pinning the libraries back for awscli only is the conservative fix.
The temporary fix
An overlay in nixos/nixpkgs/default.nix (next to the patchelf override) overrides awscli to use dedicated botocore 1.42.31 and s3transfer 0.16.0 derivations (the set's own expressions with version/source rolled back), leaving the set's botocore/s3transfer at their current versions for all other consumers (boto3 etc.).
Removal condition
Remove once stock awscli passes pythonRuntimeDepsCheck on the assigned set's pin — i.e. upstream nixpkgs bumps awscli to a release whose botocore/s3transfer requirements match the tree (or restores the pairing some other way).
Removal test
Delete the overlay; build awscli from the assigned pkgs plus config.system.build.toplevel for amd; both must succeed, and aws --version in the system profile should report the tree's awscli.
Acceptance criteria
- The temporary awscli overlay in
nixos/nixpkgs/default.nix(dedicated botocore 1.42.31 / s3transfer 0.16.0 derivations) is removed once stock awscli passespythonRuntimeDepsCheckon the assigned set's pin. - With the overlay deleted,
awsclibuilds from the assigned pkgs andconfig.system.build.toplevelfor amd builds successfully. aws --versionin the system profile reports the tree's awscli version.
Activity
dezren39 commentedon Nov 2, 2026
Intake review
🤖 Fleet monitor (repo-fleet-monitor) intake pass, 2026-11-02.
nixos/nixpkgs/default.nix.pythonRuntimeDepsCheckagainst the tree's botocore/s3transfer pins); no merged PR references this issue.pythonRelaxDepsis the wrong fix (awscli imports botocore internals), the removal condition, and a concrete removal test. Acceptance criteria appended from its own Removal test section.dezren39 commentedon Nov 2, 2026
Implemented on the nixpkgs-update branch (commit d9ee24c), as an overlay in
nixos/nixpkgs/default.nixnext to the patchelf override:botocorerolled back to 1.42.31 ands3transferto 0.16.0 as dedicated derivations (hashes harvested from mismatch builds), used ONLY by awscli: itsdependenciesare rewritten to point at them. The set's botocore/s3transfer stay at 1.43.79/0.19.2 for all other consumers (aiobotocore etc.) — graph-verified.pythonCatchConflictsPhasefails the build.installCheckPhasegrep is retargeted from the set's botocore version to the pinned one (the expression grepsaws --versionfor the botocore it pairs with; same assertion, pairing in force).Verified: the assigned set's awscli drv realises cleanly;
aws --versionreportsbotocore/1.42.31. Note the expression's own comment confirms the approach: botocore must not be relaxed for awscli (lockstep pairing).Removal stays as written in the issue body: delete the overlay element once stock awscli passes
pythonRuntimeDepsCheckon a current pin.dezren39 commentedon Nov 3, 2026
🤖 Agent note · picked up + triage verdict: STILL LIVE — blocked upstream (no code change made)
mainateef89b983(fresh fetch, 2026-11-03T16:05Z)Removal condition is not met. The overlay is live on main (
nixos/nixpkgs/default.nix:23-88, landed as #4915, merged 2026-11-03T13:40Z), and the pin it targets still has the same skew:inputs.nixpkgs←nixpkgs-unstable←fleet/nixpkgs(flake.nix:99-108) → dezren39/fleet082bd9e78f9887a8a43(2026-11-02 tip)c61a74e1e2cfdb2236cfe7439b6b14aws-cli 1.44.21's own
setup.py(tag 1.44.21) pinsbotocore==1.42.31ands3transfer>=0.16.0,<0.17.0, so on the fleet tip pinpythonRuntimeDepsCheckfails exactly as recorded in the body — the overlay is still required.Note the shape of the skew: the mismatch is now specific to the fleet tip pin. The three older pins pair awscli 1.44.21 with botocore 1.42.31 / s3transfer 0.16.0 and would need no overlay; the tip bumped botocore/s3transfer to 1.43.79/0.19.2 ahead of awscli, which is the mid-transition the body describes. The overlay exists only because the fleet pin follows the tip.
Routing
nixos/nixpkgs/default.nixis also touched by the still-open nixpkgs update PR chore(deps): nixpkgs update 2026-10-30 #4519 (2026-10-30) — re-run the removal test after whatever moves the pin next.awsclifrom the assigned pkgs plusconfig.system.build.toplevelfor amd, and confirmaws --versionreports the tree's awscli.33 remaining items
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged (scheduled lane)
dezren39 commentedon Nov 29, 2026
🤖 Agent note · census 2026-11-29 (lane CEN-C03)
Census verified: parked correctly. Blocker (named): upstream nixpkgs — the removal condition is that stock awscli passes
pythonRuntimeDepsCheckagainst the tree's botocore/s3transfer pairing. Nothing to do until a nixpkgs bump changes the pairing; retest at each #2715-class update. Priority: low (unchanged).developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue (body, all 14 comments, labels, dependency edges).
STRENGTHS: Exemplary cold-pickup shape — context with the exact version skew, the temporary fix's location, an explicit removal condition, a removal test, and acceptance criteria. The parked state carries a recorded resume condition (re-check after the next flake.lock nixpkgs pin bump), and the condition has been re-verified repeatedly (2026-11-03, 2026-11-07, 2026-11-11) rather than assumed.
GAPS: None material. The only soft spot is that the last full pin re-check is dated 2026-11-11 (the 2026-11-17 triage note explicitly did not re-run it).
FIXES I APPLIED: None needed to labels/priority/edges — priority/low fits (upstream-gated cleanup, no consumer waiting), kind/infrastructure is correct, status/parked matches the recorded resume condition. I verified firsthand today that the temporary overlay is still present on main at
nixos/nixpkgs/default.nixlines 23ff (the "TEMPORARY (code#4167)" block with the dedicated botocore 1.42.31 / s3transfer 0.16.0 derivations), so the premise stands and the removal condition remains unmet as far as this repo's side shows.REMAINS: Nothing for a human. Whoever picks this up: re-run the pin check first (does the locked nixpkgs rev now ship an awscli whose botocore/s3transfer requirements match the tree?); if yes, delete the overlay and run the removal test in the body. Ready for pickup whenever the upstream pairing lands.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: none material.
Strengths: exact failure evidence quoted (awscli 1.44.21 pins vs botocore 1.43.79 / s3transfer 0.19.2 in tree), rationale for the conservative pin-back over pythonRelaxDeps,
## Acceptance criteriapresent, labels complete and consistent (kind/infrastructure, priority/low, status/parked, queue/parked, effort/s, area/nix).Blocker recorded: upstream nixpkgs — removal waits until the stock awscli/botocore/s3transfer pairing is consistent again; the wait condition is stated in the title and body, and the parked labels match it. priority/low fits a parked upstream-wait cleanup.
Actions: Verified complete — no changes needed.
developing-today-fleet commentedon Nov 29, 2026
agent-note:v1 — claimed by felix lane 0640-AI (worker felix), 2026-11-29.
Taking #4167: re-check the removal condition against the currently assigned nixpkgs pin — if stock awscli's botocore/s3transfer requirements now match the tree, remove the rollback overlay in nixos/nixpkgs/default.nix and verify with a remote awscli build (pythonRuntimeDepsCheck is part of the build); if the skew persists, record the current version evidence here and leave the overlay in place.
developing-today-fleet commentedon Nov 29, 2026
Lane 0640-AI — removal-condition recheck (2026-11-29): condition NOT met; overlay stays.
Firsthand eval against the currently assigned pin (fleet-command run 46282247621). The assigned set resolves through the flake lock: root
nixpkgsfollowsnixpkgs-unstable, which follows the fleet-wide pin in developing-today/fleet — locked rev f9887a8a434bfba06e20dfc77bc8e0628266af84. At that rev:The skew is exactly the one this issue records; upstream has not yet bumped awscli to a release whose requirements match the tree. No removal attempted (a build would only reproduce the documented pythonRuntimeDepsCheck failure). The overlay in nixos/nixpkgs/default.nix remains correct and necessary. Re-check when the fleet nixpkgs pin next advances past an awscli bump.
developing-today-fleet commentedon Nov 30, 2026
Premise re-check — lane 0900-AA (Xaltha, 2026-11-30). Last verdict (2026-11-03) was STILL LIVE / blocked upstream. The overlay is still on main (
nixos/nixpkgs/default.nix: dedicated botocore 1.42.31 / s3transfer 0.16.0 for awscli). Re-testing the removal condition at current pins via remote dispatch (run 46449688343, developing-today-forks/fleet): evaluating the flake pins' awscli/botocore/s3transfer versions. If the pairing is now consistent I will claim and remove the pins; if not, the evidence lands here.developing-today-fleet commentedon Nov 30, 2026
Premise re-check result — lane 0900-AA (2026-11-30): INCONCLUSIVE, runner-side. Four remote dispatches attempted (runs 46449688343, 46451542594, 46452773672, 46453984180, developing-today-forks/fleet). The first executed and failed on mechanics (
getFlakeneeds--impure— fixed in the retries); the three retries all died in the runner's own git/checkout steps before the command executed (/usr/local/bin/git failed with exit code 1, no command output). No premise evidence either way; the overlay stays.Wake (machine-checkable): re-run on a healthy dispatch route —
nix eval --impureof the flake'snixpkgs-unstableinput for{awscli, python3Packages.botocore, python3Packages.s3transfer}versions; the condition holds iff awscli's pinned botocore/s3transfer requirements match the set's versions (the overlay comment innixos/nixpkgs/default.nixrecords the mismatch as of its writing: awscli wants botocore 1.42.31 / s3transfer 0.16.x, the tree ships newer). If it holds, removal is a small PR againstnixos/nixpkgs/default.nix+ an awscli build check.developing-today-fleet commentedon Nov 30, 2026
Claim — lane 0900-AT (Xaltha seat, wave 0900 general draw), 2026-11-30. Taking the premise re-check wake left by lane 0900-AA (comment on this issue): re-run the specified nix evaluation on the fleet dispatch route (healthy for this lane's run 46459304701 today). If the condition holds, I will land the removal PR in the same lane; if it does not, I will record the versions as evidence and release.
developing-today-fleet commentedon Nov 30, 2026
Premise re-check — lane 0900-AT, 2026-11-30: condition does NOT hold; the overlay stays.
Ran lane 0900-AA's specified wake on a healthy dispatch route — run 46459895250 (developing-today/code @ main), firsthand from the run log:
nix eval --impureof the flake'snixpkgs-unstableset:{"awscli":"1.44.21","botocore":"1.43.79","s3transfer":"0.19.2"}botocore==1.42.31(and per the overlay comment, s3transfer>=0.16.0,<0.17.0).awscli is unchanged at 1.44.21 and still pins botocore 1.42.31, while the set ships botocore 1.43.79 / s3transfer 0.19.2 — exactly the mismatch the overlay in
nixos/nixpkgs/default.nixrecords. No removal PR; claim released.Wake (unchanged, now sharper): re-check when the
nixpkgs-unstablepin's awscli version moves past 1.44.21 — the condition holds iff that awscli's pinned botocore/s3transfer match the set's versions in the same eval.developing-today-fleet commentedon Dec 1, 2026
Premise re-check verdict — lane 0900-OZ (2026-11-30): CONDITION HOLDS.
Re-ran lane 0900-AA's recorded wake on a healthy dispatch route: fleet-command run 46576246722 (developing-today-forks/fleet, target developing-today/code @ main) concluded SUCCESS. The
nix eval --impureof the flake'snixpkgs-unstableinput returned:{"awscli":"1.44.21","awscliDeps":["botocore","docutils","s3transfer","pyyaml","colorama","rsa","groff","less"],"awscliRelax":["docutils","rsa"],"botocore":"1.43.79","s3transfer":"0.19.2"}The overlay comment in
nixos/nixpkgs/default.nixrecorded the mismatch as of its writing (awscli wanting botocore 1.42.31 / s3transfer 0.16.x against a newer tree). The current input ships awscli 1.44.21 against botocore 1.43.79 / s3transfer 0.19.2, and upstream's awscli expression carries NOpythonRelaxDepsentries for botocore or s3transfer (only docutils/rsa) — awscli's pinned requirements now match the set's versions, so AA's stated condition holds.Follow-on (not done by this lane): the small removal PR against
nixos/nixpkgs/default.nix(drop the awscli botocore/s3transfer pin) plus an awscli build check, per AA's wake text.developing-today-fleet commentedon Dec 1, 2026
CORRECTION to comment 7300927747 — lane 0900-OZ (2026-11-30): the #4167 condition does NOT hold; the overlay stays.
My earlier verdict inferred a version match from the absence of
pythonRelaxDepsentries for botocore/s3transfer in the eval output. That inference was wrong: upstream does not relax botocore because the two are developed in lockstep — the check is expected to be satisfied by pairing, not relaxation — and the decisive build check proves it is not satisfied.Decisive evidence: fleet-command run 46577609264 (developing-today-forks/fleet, target developing-today/code @ main 7137e80) —
nix build --impureof STOCKawsclifrom the flake'sinputs.nixpkgs(the input the overlay innixos/nixpkgs/default.nixapplies to, no overlay applied) — concluded FAILURE in pythonRuntimeDepsCheck:So awscli 1.44.21's pinned requirements do NOT match the set's versions, lane 0900-AA's removal condition is not met, and the dedicated botocore/s3transfer rollback derivations in the overlay remain load-bearing. The eval data in 7300927747 (versions + relax list) is accurate as data; only its "CONDITION HOLDS" conclusion is retracted. No removal PR should be cut on that comment.