Skip to content

toolchain: bump tool versions + python requirements (ansible 14.6 / core 2.21, python 3.14, terraform 1.17) - #204

Open
parithosh wants to merge 1 commit into
masterfrom
pari/toolchain-bump-2026-11
Open

parithosh wants to merge 1 commit into
masterfrom
pari/toolchain-bump-2026-11

Conversation

@parithosh

Copy link
Copy Markdown
Member

This is the template the devnet repos are cut from, so it is the source of truth for tooling versions. Same bump as glamsterdam-devnets#112 and perf-devnets#50, matching ethPandaOps (ethPandaOps#1740). Every version is the newest release at least 7 days old (matching the uploaded-prior-to = P7D pip cooldown).

Tool To
python 3.14.10. 3.15 is out, but ansible-core 2.21 crashes on it (dataclasses._is_type removed)
ansible / core 14.6.0 / 2.21.6 (from 10.1.0 / 2.17)
ansible-lint 26.11.0
molecule 26.11.0
terraform 1.17.2 (from 1.9.0)
helm 3.22.1 (staying on v3)
sops 3.13.3
shellcheck 0.11.0
yq 4.54.3
age 1.3.2
awscli 2.40.4
certifi ≥2026.10.23

Dropped the requests==2.31 pin. It was a workaround for docker-py#3256, which docker 7.1.0 fixed, and requests 2.31 is affected by CVE-2024-35195.

Validation:

  • --syntax-check passes on core 2.21.6.
  • template-testnet: --syntax-check passes on core 2.21.6 with Mitogen 0.3.49; the same toolchain did a real read-only run on glamsterdam devnet-8 (rc=0, changed=0).
  • terraform init -backend=false && terraform validate with 1.17.2 succeeds (template-testnet terraform/devnet-0, glamsterdam devnet-8, perf devnet-3).

Heads-up:

  • terraform 1.9 → 1.17 upgrades the state format on the next apply. Everyone touching these states needs ≥1.17 afterwards.
  • ansible_managed in ansible.cfg is deprecated and removed in core 2.23.

@redpandabot

redpandabot Bot commented Nov 24, 2026

Copy link
Copy Markdown

Summary

Toolchain-only bump of .tool-versions (python 3.14.10, terraform 1.17.2, helm 3.22.1, yq 4.54.3, age 1.3.2, awscli 2.40.4) and requirements.txt (ansible 14.6.0, ansible-lint/molecule 26.11.0, certifi floor, requests pin dropped). Everything I could check holds up: every pinned version exists and is ≥7 days old at the commit date, OSV reports no vulns for the PyPI packages, ansible 14.6.0 pins ansible-core~=2.21.6 as claimed, Mitogen 0.3.49 declares both ansible-core 2.21 and Python 3.14 support, the certifi floor matches the release that removed the compromised emSign roots, and docker 7.2.0 no longer caps requests (so dropping requests==2.31 is safe). The only issue is a factual error in the migration heads-up.

Issues

  • 🟢 .tool-versions:8 — terraform 1.17 does not change the state format; the hard upgrade requirement is overstated — The PR says the 1.9→1.17 jump "upgrades the state format" so "everyone touching these states needs ≥1.17 afterwards". In the 1.17.2 source the state writer still hardcodes "version": 4 (internal/states/statefile/version4.go, stateVersionV4.MarshalJSON) and the reader only errors when the file's format version is unsupported (internal/states/statefile/read.go, readStateV4 for version 4), so a state written by 1.17.2 remains readable by 1.9 — worth rewording the heads-up so nobody upgrades shared states on a false requirement.

Reviewed @ 0cdc280b
"All non-trivial abstractions, to some degree, are leaky." — Joel Spolsky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant