GeezerVison is showing github.com — chore(deps): remove the awscli botocore/s3transfer pins once nixpkgs' awscli pairing is consistent again · Issue #4167 · developing-today/code
chore(deps): remove the awscli botocore/s3transfer pins once nixpkgs' awscli pairing is consistent again #4167DescriptionContext
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 passes pythonRuntimeDepsCheck on the assigned set's pin.
- With the overlay deleted,
awscli builds from the assigned pkgs and config.system.build.toplevel for amd builds successfully.
aws --version in the system profile reports the tree's awscli version.
Activitydezren39 commented on Nov 2, 2026 Intake review
🤖 Fleet monitor (repo-fleet-monitor) intake pass, 2026-11-02.
- Related: filed from the context of issue chore(deps): nixpkgs update blocked 2026-10-30 #2715 (the 2026-10-30 nixpkgs update); the temporary overlay it removes was added next to the patchelf override in
nixos/nixpkgs/default.nix.
- Live check: still live — the removal condition is upstream-dependent (stock awscli must first pass
pythonRuntimeDepsCheck against the tree's botocore/s3transfer pins); no merged PR references this issue.
- Notes: the issue is unusually complete for intake: it names the exact failure, why
pythonRelaxDeps is the wrong fix (awscli imports botocore internals), the removal condition, and a concrete removal test. Acceptance criteria appended from its own Removal test section.
- Risks: removing the overlay early ships an awscli whose runtime dependency check fails; removing it late is harmless. The trigger is external (nixpkgs awscli bump), so this may sit until a future nixpkgs update — re-check at each update.
- Suggested approach: at each nixpkgs update, try deleting the overlay and building awscli + toplevel for amd; when both pass, land the removal as its own small PR citing this issue.
dezren39 commented on Nov 2, 2026 Implemented on the nixpkgs-update branch (commit d9ee24c), as an overlay in nixos/nixpkgs/default.nix next to the patchelf override:
botocore rolled back to 1.42.31 and s3transfer to 0.16.0 as dedicated derivations (hashes harvested from mismatch builds), used ONLY by awscli: its dependencies are 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.
- The pinned s3transfer is itself pointed at the pinned botocore; otherwise awscli's closure contains both botocores and
pythonCatchConflictsPhase fails the build.
- awscli's
installCheckPhase grep is retargeted from the set's botocore version to the pinned one (the expression greps aws --version for the botocore it pairs with; same assertion, pairing in force).
Verified: the assigned set's awscli drv realises cleanly; aws --version reports botocore/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 pythonRuntimeDepsCheck on a current pin. dezren39 commented on Nov 3, 2026 🤖 Agent note · picked up + triage verdict: STILL LIVE — blocked upstream (no code change made)
- Agent: queue worker (repo-worker-code), OpenChamber scheduled lane 8ac61616-3815-4e7b-b33d-840a3829154a
- Session / ID: queue task 8353 (triage packet for this issue)
- Found via: queue claim
- Verified against:
main at eef89b983 (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:
| Assigned set |
rev |
awscli |
botocore (set) |
s3transfer (set) |
paired? |
inputs.nixpkgs ← nixpkgs-unstable ← fleet/nixpkgs (flake.nix:99-108) → dezren39/fleet 082bd9e78 |
nixpkgs f9887a8a43 (2026-11-02 tip) |
1.44.21 |
1.43.79 |
0.19.2 |
no |
| nixpkgs-master |
c61a74e1e2 |
1.44.21 |
1.42.31 |
0.16.0 |
yes |
| nixpkgs-stable |
cfdb2236cf |
1.44.21 |
1.42.31 |
0.16.0 |
yes |
| nixpkgs-25 |
e7439b6b14 |
1.44.21 |
1.42.31 |
0.16.0 |
yes |
aws-cli 1.44.21's own setup.py (tag 1.44.21) pins botocore==1.42.31 and s3transfer>=0.16.0,<0.17.0, so on the fleet tip pin pythonRuntimeDepsCheck fails 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
- Issue stays open. Blocker: upstream — an awscli release whose botocore/s3transfer requirements match the tree, or a fleet pin move to a rev where the pairing is consistent. Nothing to do in this repo until then.
- No PR references this issue; nothing superseded, no duplicate to reconcile.
- Re-check trigger: any nixpkgs / fleet-pin movement.
nixos/nixpkgs/default.nix is 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.
- Removal test stays as written in the body: delete the overlay block, build
awscli from the assigned pkgs plus config.system.build.toplevel for amd, and confirm aws --version reports the tree's awscli.
- No follow-up queue task created: the item is unactionable until upstream moves, and the nixpkgs-update pass (chore(deps): nixpkgs update blocked 2026-10-30 #2715 / chore(deps): nixpkgs update 2026-10-30 #4519) is already the natural re-check point.
developing-today commented on Nov 7, 2026
Released by repo-worker-code-f (outcome: free). Triaged NOT YET (verdict note on #4167: overlay still on main at nixos/nixpkgs/default.nix:23-79; effective locked nixpkgs rev f9887a8a434b still ships awscli 1.44.21 + botocore 1.43.79 + s3transfer 0.19.2 — the filed skew, so stock awscli would still fail pythonRuntimeDepsCheck). Re-check after the next flake.lock nixpkgs pin bump; the removal itself becomes a fix claim only when the versions match awscli's pins. dezren39 commented on Nov 11, 2026
state: parked
task: 9562
lane: any-b
worker: repo-worker-code
Re-checked the awscli overlay removal condition at current main (ca4e601) — still NOT met; parking task 9562 again with fresh pin evidence, per this issue's acceptance:
- The temporary overlay is still in place:
nixos/nixpkgs/default.nix:23-79 (TEMPORARY code#4167 block giving awscli dedicated botocore 1.42.31 / s3transfer 0.16.0 derivations).
- Effective locked nixpkgs rev, resolved through the flake.lock chain (root
nixpkgs follows nixpkgs-unstable, which follows the fleet input's nixpkgs → node nixpkgs_7): f9887a8a434bfba06e20dfc77bc8e0628266af84 — unchanged since the 2026-11-07 check.
- Versions shipped by that rev (nix eval this run): awscli 1.44.21, python3Packages.botocore 1.43.79, python3Packages.s3transfer 0.19.2. awscli 1.44.21 pins botocore==1.42.31 and s3transfer>=0.16.0,<0.17.0, so stock awscli would still fail pythonRuntimeDepsCheck against the set's botocore/s3transfer — the overlay is still load-bearing.
Resume condition: the effective nixpkgs rev changes AND its awscli's botocore/s3transfer pins match the versions the set ships (equivalently, stock awscli passes pythonRuntimeDepsCheck) — then delete the overlay block, build awscli + the amd toplevel, and check aws --version. dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged (scheduled lane)
- Agent: repo-worker-code, lane code-g (openchamber-scheduled-lane), task 18280
- Fresh state (2026-11-17): chore(deps): remove the awscli botocore/s3transfer pins once nixpkgs' awscli pairing is consistent again #4167 OPEN. Removal condition unchanged as of the last pin check on 2026-11-11 (agent-note on this issue): the overlay is still in nixos/nixpkgs/default.nix and the nixpkgs pairing is not yet consistent. I did not re-run the nix pin check in this lane.
- Verdict: triaged; remains blocked on the upstream nixpkgs pairing. No packet routed. Re-check the pin when the nixpkgs bump lands.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|